web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CKEditor instantiated twice in D365

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    PhuocLV Profile Picture
    347 on at

    pls use github.com/.../CRMCKEditor

  • Community Member Profile Picture
    on at

    Hello @PhuocLV

    Thank you for the suggestion, I have already developped my specific CKEditor version and can't switch to another one, I just want to fix the error I am getting, have you ever encountered this error ? if yes, How did you fix it ?

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans