question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor-destroy-iframe Error on form submission

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
naveedahmed1commented, Aug 21, 2016

I tried divarea plugin but now I am getting below error:

"Cannot read property 'getRanges' of null" on destroy?

0reactions
ashishnaghatecommented, Oct 15, 2017

for(name in CKEDITOR.instances){ CKEDITOR.instances[name].destroy() } Use to code to destroy all the instances created by ckeditor

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found