Ticket #4455: 4455_2.patch
File 4455_2.patch, 1.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
329 329 mainElement.append( iframe ); 330 330 }; 331 331 332 // The script that is appended to the data being loaded. It333 // enables editing, and makes some332 // The script that launches the bootstrap logic on 'domReady', so the document 333 // is fully editable even before the editing iframe is fully loaded (#4455). 334 334 var activationScript = 335 335 '<script id="cke_actscrpt" type="text/javascript">' + 336 'window.onload = function()' + 337 '{' + 338 // Call the temporary function for the editing 339 // boostrap. 340 'window.parent.CKEDITOR._["contentDomReady' + editor.name + '"]( window );' + 341 '}' + 336 'window.parent.CKEDITOR._["contentDomReady' + editor.name + '"]( window );' + 342 337 '</script>'; 343 338 344 339 // Editing area bootstrap code.