tinymce-vue icon indicating copy to clipboard operation
tinymce-vue copied to clipboard

TinyMCE editor becomes the original TextArea

Open atypiape opened this issue 1 year ago • 2 comments

When I use '@tinymce/tinymce-vue' 6.0.1, I encounter the following problems:

The TinyMCE editor is displayed in a dialog, and everything works fine at first. Then I open the same dialog again and close it. As a result, the TinyMCE editor in the first dialog becomes the original TextArea.

image

image

I found that the cause of the problem is the following code of 'tinymce-vue' :

image

atypiape avatar Aug 02 '24 07:08 atypiape

What's the final solution @atypiape

JasonFeng03 avatar Jan 21 '25 02:01 JasonFeng03

@atypiape It would be helpful if you could provide a replication case. So far, it seems the editor instance is removed when the dialog is closed (which works as expected) and not properly re-initialised when the dialog is reopened.

tiny-ben-tran avatar Nov 17 '25 04:11 tiny-ben-tran