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

  • Community Member Profile Picture
    on at
    RE: CKEditor instantiated twice in D365

    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

  • Suggested answer
    PhuocLV Profile Picture
    347 on at
    RE: CKEditor instantiated twice in D365

    pls use github.com/.../CRMCKEditor

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans