Ticket #5562: 5562_3.patch

File 5562_3.patch, 968 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    489489
    490490                                                if ( CKEDITOR.env.ie )
    491491                                                {
     492                                                        domDocument.getDocumentElement().addClass( domDocument.$.compatMode );
    492493                                                        // Override keystrokes which should have deletion behavior
    493494                                                        //  on control types in IE . (#4047)
    494495                                                        domDocument.on( 'keydown', function( evt )
     
    786787                                        editor.document.$.title = frameLabel;
    787788                                });
    788789
     790                        // IE8 stricts mode doesn't have 'contentEditable' in effect
     791                        // on element unless it has layout. (#5562)
     792                        if ( CKEDITOR.env.ie8 )
     793                                editor.addCss( 'html.CSS1Compat [contenteditable=false]{ min-height:0 !important;}' );
     794
    789795                        // Switch on design mode for a short while and close it after then.
    790796                        function blinkCursor()
    791797                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy