ckeditor4
ckeditor4 copied to clipboard
destroy() does not clean up
Type of report
Bug
Provide detailed reproduction steps (if any)
STEP 1 create CKEDITOR instance STEP 2 destroy CKEDITOR instance using native method destroy()
after destroy() is called I would expect that the editor leave everything as it was before initializing the editor. Of course all the changes made in the editor would stay.
Destroys the editor instance, releasing all resources used by it. If the editor replaced an element, the element will be recovered.
- all internal elements will be removed like
not sure what else editor adds
- all classes are removed
- all attributes are removed. After destroying the editor leaves the attribute contenteditable = true even though such attribute was not there before
working jsFiddle https://jsfiddle.net/radek/7jg3urtL/10/
Expected result
points 1-3 above
Hi @cimenta
Thank you for the report. I can confirm this issue.