Ticket #8876: 8876.patch

File 8876.patch, 977 bytes (added by Frederico Caldeira Knabben, 12 years ago)
  • _source/plugins/panel/plugin.js

     
    156156                                        '<html dir="' + dir + '" class="' + className + '_container" lang="' + langCode + '">' +
    157157                                                '<head>' +
    158158                                                        '<style>.' + className + '_container{visibility:hidden}</style>' +
     159                                                        CKEDITOR.tools.buildStyleHtml( this.css ) +
    159160                                                '</head>' +
    160161                                                '<body class="cke_' + dir + ' cke_panel_frame ' + CKEDITOR.env.cssClass + '" style="margin:0;padding:0"' +
    161162                                                ' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction(' + onLoad + ');"></body>' +
    162                                                 // It looks strange, but for FF2, the styles must go
    163                                                 // after <body>, so it (body) becames immediatelly
    164                                                 // available. (#3031)
    165                                                 CKEDITOR.tools.buildStyleHtml( this.css ) +
    166163                                        '<\/html>';
    167164
    168165                                doc.write( data );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy