Ticket #4844: 4844.patch
File 4844.patch, 1.3 KB (added by , 13 years ago) |
---|
-
_source/themes/default/theme.js
5 5 6 6 CKEDITOR.themes.add( 'default', (function() 7 7 { 8 var hiddenSkins = {}; 9 8 10 function checkSharedSpace( editor, spaceName ) 9 11 { 10 12 var container, … … 110 112 sharedTop && ( sharedTop.setHtml( topHtml ) , topHtml = '' ); 111 113 sharedBottoms && ( sharedBottoms.setHtml( bottomHtml ), bottomHtml = '' ); 112 114 115 var hideSkin = '<style>.' + editor.skinClass + '{visibility:hidden;}</style>'; 116 if (hiddenSkins[editor.skinClass]) 117 hideSkin = ''; 118 else 119 hiddenSkins[editor.skinClass] = 1; 120 113 121 var container = CKEDITOR.dom.element.createFromHtml( [ 114 122 '<span' + 115 123 ' id="cke_', name, '"' + … … 132 140 '<tr', bottomHtml ? '' : ' style="display:none"', ' role="presentation"><td id="cke_bottom_' , name, '" class="cke_bottom" role="presentation">' , bottomHtml , '</td></tr>' + 133 141 '</tbody></table>' + 134 142 //Hide the container when loading skins, later restored by skin css. 135 '<style>.', editor.skinClass, '{visibility:hidden;}</style>'+143 hideSkin + 136 144 '</span>' + 137 145 '</span>' + 138 146 '</span>' ].join( '' ) );