Ticket #6506: 6506_2.patch

File 6506_2.patch, 1018 bytes (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    555555
    556556                                                if ( CKEDITOR.env.gecko )
    557557                                                {
    558                                                         // Set the HTML style to 100% to have the text cursor in affect (#6341)
    559                                                         domDocument.getDocumentElement().setStyle( 'height', '100%' );
    560558                                                        domDocument.on( 'mouseup', function( ev )
    561559                                                        {
    562560                                                                if ( ev.data.$.button == 2 )
     
    997995                                        selectors.push( 'html.CSS1Compat ' + tag + '[contenteditable=false]' );
    998996                                editor.addCss( selectors.join( ',' ) + '{ display:inline-block;}' );
    999997                        }
     998                        // Set the HTML style to 100% to have the text cursor in affect (#6341)
     999                        else if ( CKEDITOR.env.gecko )
     1000                                editor.addCss("html { height: 100% !important; }");
    10001001
    10011002                        // Switch on design mode for a short while and close it after then.
    10021003                        function blinkCursor( retry )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy