Ticket #5562: 5562.patch
File 5562.patch, 938 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
365 365 body.disabled = true; 366 366 body.contentEditable = true; 367 367 body.removeAttribute( 'disabled' ); 368 } 368 369 // IE8 stricts mode doesn't have 'contentEditable' in effect 370 // on element unless it has layout. (#5562) 371 if ( CKEDITOR.env.ie8Compat 372 && domDocument.compatMode == 'CSS1Compat' ) 373 { 374 var nonEditables = domDocument.querySelectorAll('[contenteditable=false]'); 375 for ( var i = 0, count = nonEditables.length; i < count; i++ ) 376 nonEditables[ i ].runtimeStyle.display = 'inline-block'; 377 } 378 } 369 379 else 370 380 { 371 381 // Avoid opening design mode in a frame window thread,