Editor-destroy-iframe Error on form submission
See original GitHub issueHi,
I am using ng2-ckeditor in one of my forms. But when I submit the form I see the below errors in console.
ckeditor.js:19 [CKEDITOR] Error code: editor-destroy-iframe.
ckeditor.js:19 [CKEDITOR] For more information about this error go to http://docs.ckeditor.com/#!/guide/dev_errors-section-editor-destroy-iframe
Can you please guide how to resolve it?
Is there a proper way to destroy ng2-ckeditor instance on ngDestroy to avoid any memory leaks?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[CKEDITOR] Error code: editor-destroy-iframe #24 - GitHub
Description: The editor's <iframe> could not be destroyed correctly because it had been unloaded before the editor was destroyed. Make sure to ...
Read more >Angular, ng-ckeditor, and the editor-destroy-iframe bug
The problem is apparently that Angular framework destroys the iframe element before the ckeditor itself is destroyed. This causes the diagnostic ...
Read more >ckeditor Error code: editor-destroy-iframe — DataTables forums
I see the following in the console every time I edit a field using the ckeditor plugin. [CKEDITOR] Error code: editor-destroy-iframe.
Read more >Editor stripping iframe - Joomla Stack Exchange
I copy some youtube embed code > paste it into TinyMCE editor > it appears ... and in your case remove the <iframe>...
Read more >Events Available for TinyMCE | Docs
TinyMCE supports some browser-native events, and provides additional events for working with the editor and plugins.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried divarea plugin but now I am getting below error:
"Cannot read property 'getRanges' of null" on destroy?
for(name in CKEDITOR.instances){ CKEDITOR.instances[name].destroy() }
Use to code to destroy all the instances created by ckeditor