Ticket #2997: 2997_2.patch
File 2997_2.patch, 2.8 KB (added by , 15 years ago) |
---|
-
_source/plugins/listblock/plugin.js
75 75 76 76 if ( !this._.started ) 77 77 { 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;">' ); 79 79 this._.started = 1; 80 80 } 81 81 82 82 this._.items[ value ] = id; 83 83 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>' ); 85 87 }, 86 88 87 89 startGroup : function( title ) … … 92 94 93 95 this._.groups[ title ] = id; 94 96 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>' ); 96 101 }, 97 102 98 103 commit : function() -
_source/plugins/panel/plugin.js
83 83 output.push( ' ', this.className); 84 84 85 85 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 '">'); 87 91 88 92 if ( this.forceIFrame || this.css.length ) 89 93 { … … 119 123 '<head>' + 120 124 '<link type="text/css" rel=stylesheet href="' + this.css.join( '"><link type="text/css" rel="stylesheet" href="' ) + '">' + 121 125 '</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;">' + 123 127 '</body>' + 124 128 '<\/html>' ); 125 129 doc.$.close();