﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10717	iframe returning null in wysiwygarea/plugin.js	dubcanada		"Hello,

I am using Drupal Panels and for some reason my ckeditor does not work on second load (if I open it, edit it, then close it, then reopen it, I get an error). The problem seems to be that in the code below, iframe is returning null.

{{{
491                 var editor = this.editor,
492                     doc = editor.document,
493                     iframe = editor.window.getFrame();
494
495                 framedWysiwyg.baseProto.detach.call( this );
496
497                 // Memory leak proof.
498                 this.clearCustomData();
499                 doc.getDocumentElement().clearCustomData();
500                 iframe.clearCustomData();
501                 CKEDITOR.tools.removeFunction( this._.frameLoadedHandler );
502
503                 var onResize = iframe.removeCustomData( 'onResize' );
504                 onResize && onResize.removeListener();
505
506
507                 editor.fire( 'contentDomUnload' );
508
509                 // IE BUG: When destroying editor DOM with the selection rem    ains inside
510                 // editing area would break IE7/8's selection system, we hav    e to put the editing
511                 // iframe offline first. (#3812 and #5441)
512                 iframe.remove();
}}}

I can't seem to figure out why it would be.

Regards,

- Steve"	Bug	closed	Normal		General	4.2	expired		
