Hello,
I am working on the integration of a custom version of CKEditor in Dynamics 365, however, when I instantiate the CKEDITOR I get the following error :
[CKEDITOR] Error code: editor-element-conflict. Object { editorName: "editor" }
[CKEDITOR] For more information about this error go to ckeditor.com/.../dev_errors.html
Do you have any idea about this problem ? I instantiate my CKEditor only in one place in my code.
Please find below a sample of my code :
<textarea name="editor" class="ckeditor" id="editor"></textarea>
if (wysiwygareaAvailable) {
CKEDITOR.replace('editor', { htmlEncodeOutput: true });
} else {
editorElement.setAttribute('contenteditable', 'true');
CKEDITOR.inline('editor', { htmlEncodeOutput: true });
}
I even tried to destroy all instances before my replace instruction but this doesn't work.
Thank you in advance,
Regards,
*This post is locked for comments