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

jquery undefined function
Publish date: 2022-02-28 | Comments: 1

Tag: Javascript

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

Tag: Javascript

Adding an id number at the first index to an array of objects
Publish date: 2022-02-13 | Comments: 1

Tag: Javascript

JAVASCRIPT: How do I add another key to object?
Publish date: 2022-03-06 | Comments: 3

Tag: Javascript

How do I check if an array includes a value in JavaScript?
Publish date: 2022-02-13 | Comments: 2

Tag: Javascript

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

Tag: Javascript