Ticket #2997: 2997_2.patch

File 2997_2.patch, 2.8 KB (added by Artur Formella, 15 years ago)
  • _source/plugins/listblock/plugin.js

     
    7575
    7676                                                if ( !this._.started )
    7777                                                {
    78                                                         pendingHtml.push( '<ul class=cke_panel_list>' );
     78                                                        pendingHtml.push( '<ul class=cke_panel_list style="list-style-type: none; margin: 3px; padding: 0px; white-space: nowrap;">' );
    7979                                                        this._.started = 1;
    8080                                                }
    8181
    8282                                                this._.items[ value ] = id;
    8383
    84                                                 pendingHtml.push( '<li id=cke_', id, ' class=cke_panel_listItem><a hidefocus=true href="javascript:void(\'', value, '\')" onclick="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\');">', html || value, '</a></li>' );
     84                                                pendingHtml.push( '<li id=cke_', id, ' class="cke_panel_listItem" style="margin: 0px;"><a hidefocus=true href="javascript:void(\'', value, '\')" onclick="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\');" style="'+
     85                                                'padding: 2px;display: block;border: 1px solid #fff;color: inherit;text-decoration: none;overflow: hidden;text-overflow: ellipsis;'+
     86                                                '">', html || value, '</a></li>' );
    8587                                        },
    8688
    8789                                        startGroup : function( title )
     
    9294
    9395                                                this._.groups[ title ] = id;
    9496
    95                                                 this._.pendingHtml.push( '<h1 id=cke_', id, ' class=cke_panel_grouptitle>', title, '</h1>' );
     97                                                this._.pendingHtml.push( '<h1 id=cke_', id, ' class="cke_panel_grouptitle"' +
     98                                                'style="font-size: 11px;font-weight: bold;background-color: #dcdcdc;color: #000;' +
     99                                                'white-space: nowrap;font-family: \'Microsoft Sans Serif\' , Tahoma, Arial, Verdana, Sans-Serif;margin:0px;     padding:3px;" '+
     100                                                '>', title, '</h1>' );
    96101                                        },
    97102
    98103                                        commit : function()
  • _source/plugins/panel/plugin.js

     
    8383                        output.push( ' ', this.className);
    8484
    8585                output.push(
    86                          '">');
     86                        '" style="' +
     87                        'border: 1px solid #8f8f73;background-color: #fff;' +
     88                        'width: 120px;height: 100px;overflow:hidden;' +
     89                        '-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;'+
     90                        '">');
    8791
    8892                if ( this.forceIFrame || this.css.length )
    8993                {
     
    119123                                                '<head>' +
    120124                                                        '<link type="text/css" rel=stylesheet href="' + this.css.join( '"><link type="text/css" rel="stylesheet" href="' ) + '">' +
    121125                                                '</head>' +
    122                                                 '<body class="cke_panel_frame" style="margin:0;padding:0">' +
     126                                                '<body class="cke_panel_frame" style="margin:0;padding:0;overflow: auto;overflow-x: hidden;">' +
    123127                                                '</body>' +
    124128                                        '<\/html>' );
    125129                                doc.$.close();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy