'CKEDITOR Get data error editor.getData() with widget plugin
I am using CKeditor version 4.18 and the widget plugin.
I create and use the modal myself with the click event on the toolbar and insert widget into ckeditor HTML.
var element = BuildElementCkeditor(HTML);
state.editor.insertElement(element);
var widget = state.editor.widgets.initOn(element, "module");
But when using the editor.getData() function, an error occurs: enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
