ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

How to destroy the classic editor 5 instance by targeting the id ?

Open Ruman-Ali opened this issue 2 years ago • 3 comments

I have more than one editor on a single page with different id if I want to close any one editor on a single click rest should be the enable . How I can do this by targrting the id ?

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Ruman-Ali avatar Jun 27 '23 10:06 Ruman-Ali

I also want the same but haven't found the solution yet. Help me !!!!!!!!!!!!

shinlee1999 avatar Jul 25 '23 02:07 shinlee1999

The destruction of the editor needs to be called on an editor's instance (destroy). If you'd like, you can store the editors (and their IDs) in some global JS object, which you will later use to reference the instance.

Witoso avatar Jul 25 '23 09:07 Witoso

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Jul 25 '24 03:07 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Aug 25 '24 01:08 CKEditorBot