user image

Great Coder
Published in : 2022-02-11

How to move a div with its content to TinyMEC editor?

Javascript

I'm having trouble with this one, so I'd appreciate your feedback (idea).

I have 20 photos on an HTML page, all of which are in their respective containers (DIV). It is not feasible for the user to modify their order in the TinyMCE editor. If the user drags an image outside of its parent DIV, it will be moved. Is it feasible to relocate the parent DIV as well as the image? I mean when a user picks a picture and drags it over the TinyMCE editor, he is also dragging the parenting DIV with that image.

Comments

There is no comments yet

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

How to toggle ( show and hide ) divs according to day hours?
Publish date: 2022-02-13 | Comments: 1

Tag: Javascript

Vanilla JavaScript Next & prev Navigation
Publish date: 2022-02-22 | Comments: 1

Tag: Javascript

javascript: Uncaught TypeError: undefined is not a function
Publish date: 2022-03-02 | Comments: 2

Tag: Javascript

Can we add a javascript or jQuery to the URL?
Publish date: 2022-03-05 | Comments: 2

Tag: Javascript

How to open URL in new tab & focus on it in Javascript?
Publish date: 2021-12-22 | Comments: 1

Tag: Javascript

Check if div have touch another div
Publish date: 2022-03-02 | Comments: 1

Tag: Javascript

JavaScript variable for Changing CSS Height
Publish date: 2022-02-12 | Comments: 1

Tag: Javascript