Ticket #9862 (closed Bug: invalid)

Opened 22 months ago

Last modified 22 months ago

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

comment:1 Changed 22 months ago by Reinmar

  • Status changed from new to closed
  • Resolution set to invalid

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy