Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draggable disables editing features of TinyMCE #136

Open
derwaldgeist opened this issue May 13, 2024 · 1 comment
Open

Draggable disables editing features of TinyMCE #136

derwaldgeist opened this issue May 13, 2024 · 1 comment

Comments

@derwaldgeist
Copy link

derwaldgeist commented May 13, 2024

Hi, we want to use vue-draggable-plus in combination with the TinyMCE richtext editor. For this, we place one TinyMCE instance in every draggable div:

image

We noticed that once you drop such a draggable in a new position, TinyMCE won't be initialized correctly. It does not show its content anymore, and there is also no caret to enter new text. All other TinyMCE instances still work fine, until you drag and drop them (i.e. the surrounding draggable div) as well. The "regular" input fields shown in the screenshot always work, i.e. they are not affected by drag and drop.

So I am wondering how the dropped element is actually re-constructed? Is it a copy of the original element or is it the actual original element itself? And if it is the original element, just moved in the DOM, what might be the reason that the editor stops working?

@pkc918
Copy link
Contributor

pkc918 commented May 27, 2024

Please provide an online case about the bug, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants