Opened 11 years ago

Closed 11 years ago

#9862 closed Bug (invalid)

The editor instance "xxxx" is already attached to the provided element

Reported by: rollyourpuzzle Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

When i reload Ckeditor by using "CKEDITOR.inlineAll", i have one error "The editor instance "xxxx" is already attached to the provided element". The dialog box of ckeditor is broken after this error.

To fix it, i had this code at the begining of the function CKEDITOR.inlineAll

"for(name in CKEDITOR.instances)

{

CKEDITOR.instances[name].destroy();

}"

Change History (1)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

If you want to reload editors, then you need to destroy them first. So you need this kind of loop before you call CKEDITOR.inlineAll.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy