Index: _source/plugins/wysiwygarea/plugin.js =================================================================== --- _source/plugins/wysiwygarea/plugin.js (revision 3789) +++ _source/plugins/wysiwygarea/plugin.js (working copy) @@ -210,6 +210,7 @@ editor.on( 'editingBlockReady', function() { var mainElement, + fieldset, iframe, isLoadingData, isPendingFocus, @@ -223,36 +224,31 @@ { if ( iframe ) iframe.remove(); + if ( fieldset ) + fieldset.remove(); - iframe = new CKEDITOR.dom.element( 'iframe' ) - .setAttributes({ - frameBorder : 0, - tabIndex : -1, - allowTransparency : true }) - .setStyles({ - width : '100%', - height : '100%' }); + // The document domain must be set within the src + // attribute. + var src = 'void( (function(){' + + 'document.open();' + + ( CKEDITOR.env.ie && isCustomDomain ? 'document.domain="' + document.domain + '";' : '' ) + + 'document.write( window.parent._cke_htmlToLoad_' + editor.name + ' );' + + 'document.close();' + + 'window.parent._cke_htmlToLoad_' + editor.name + ' = null;' + + '})() )'; - if ( CKEDITOR.env.ie ) - { - if ( isCustomDomain ) - { - // The document domain must be set within the src - // attribute. - iframe.setAttribute( 'src', - 'javascript:void( (function(){' + - 'document.open();' + - 'document.domain="' + document.domain + '";' + - 'document.write( window.parent._cke_htmlToLoad_' + editor.name + ' );' + - 'document.close();' + - 'window.parent._cke_htmlToLoad_' + editor.name + ' = null;' + - '})() )' ); - } - else - // To avoid HTTPS warnings. - iframe.setAttribute( 'src', 'javascript:void(0)' ); - } + // Loading via src attribute does not work in Opera. + if ( CKEDITOR.env.opera ) + src = 'void(0);'; + iframe = CKEDITOR.dom.element.createFromHtml( '' ); + var accTitle = editor.lang.editorTitle.replace( '%1', editor.name ); if ( CKEDITOR.env.gecko ) @@ -277,7 +273,7 @@ else if ( CKEDITOR.env.ie ) { // Accessibility label for IE. - var fieldset = CKEDITOR.dom.element.createFromHtml( + fieldset = CKEDITOR.dom.element.createFromHtml( '