Opened 6 years ago

Closed 6 years ago

#10132 closed Bug (expired)

Bug in Iframe Editing area on ck reload

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

Description

Iframe edit area plugin have bug on ckeditor reload. it writes TypeError: iframe is null iframe.clearCustomData(); ckeditor/plugins/wysiwygarea/plugin.js (line 494)

browser - firefox 19. here is reload script -

function clearCK() {

var i if (CKEDITOR.instances)

for (i in CKEDITOR.instances)

CKEDITOR.instances[i].destroy(true);

CKEDITOR.replaceAll();

}

Change History (2)

comment:1 Changed 6 years ago by Jakub Ś

Keywords: iframe reload removed
Status: newpending
Version: 4.0.1

I have tried your code in every browser and didn't get result you were talking about.

Please have a look at attached file, put it in samples folder of CKEditor and tell me what I have missed.

NOTE: Perhaps this is some special case where setTimeout or calling replaceAll after all instances are really destroyed (extra check) might help.

comment:2 Changed 6 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy