Ticket #3740: 3740.patch
File 3740.patch, 967 bytes (added by , 14 years ago) |
---|
-
_source/plugins/pastefromword/dialogs/pastefromword.js
140 140 }, 141 141 onShow : function() 142 142 { 143 // To avoid JAWS putting virtual cursor back to the editor document, 144 // disable main document 'contentEditable' during dialog opening. 143 145 if ( CKEDITOR.env.ie ) 144 146 this.getParentEditor().document.getBody().$.contentEditable = 'false'; 145 147 … … 215 217 this.getValueOf( 'general', 'ignoreFontFace' ), 216 218 this.getValueOf( 'general', 'removeStyle' ) ); 217 219 218 editor.insertHtml( html ); 220 // Insertion should happen after main document design mode turned on. 221 setTimeout( function(){ 222 editor.insertHtml( html ); 223 }, 0 ); 219 224 }, 220 225 onHide : function() 221 226 {