Ticket #6774: 6774.patch

File 6774.patch, 1.8 KB (added by Alfonso Martínez de Lizarrondo, 13 years ago)

Proposed patch

  • _source/plugins/wysiwygarea/plugin.js

     
    11491149                        }
    11501150                        // Set the HTML style to 100% to have the text cursor in affect (#6341)
    11511151                        else if ( CKEDITOR.env.gecko )
     1152                        {
    11521153                                editor.addCss( 'html { height: 100% !important; }' );
     1154                                editor.addCss( 'img:-moz-broken { -moz-force-broken-image-icon : 1;     width : 24px; height : 24px; }' );
     1155                        }
    11531156
     1157                        /* #3658: [IE6] Editor document has horizontal scrollbar on long lines
     1158                        To prevent this misbehavior, we show the scrollbar always */
     1159                        /* #6341: The text cursor must be set on the editor area. */
     1160                        /* #6632: Avoid having "text" shape of cursor in IE7 scrollbars.*/
     1161                        editor.addCss( 'html {  _overflow-y: scroll; cursor: text;      *cursor:auto;}' );
     1162                        // Use correct cursor for these elements
     1163                        editor.addCss( 'img, input, textarea { cursor: default;}' );
     1164
    11541165                        // Switch on design mode for a short while and close it after then.
    11551166                        function blinkCursor( retry )
    11561167                        {
  • contents.css

     
    2222    padding-right:40px;
    2323}
    2424
    25 html
    26 {
    27         /* #3658: [IE6] Editor document has horizontal scrollbar on long lines
    28         To prevent this misbehavior, we show the scrollbar always */
    29         _overflow-y: scroll;
    30         /* #6341: The text cursor must be set on the editor area. */
    31         cursor: text;
    32         /* #6632: Avoid having "text" shape of cursor in IE7 scrollbars.*/
    33         *cursor:auto;
    34 }
    35 
    36 img:-moz-broken
    37 {
    38         -moz-force-broken-image-icon : 1;
    39         width : 24px;
    40         height : 24px;
    41 }
    42 img, input, textarea
    43 {
    44         cursor: default;
    45 }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy