X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fthemes%2Fdefault%2Ftheme.js;h=f7ff8e485df66f24119950ec521d2cf2cbc32b0a;hb=f0610347140239143439a511ee2bd48cb784f470;hp=b1e94ba8b1bbc55da452839319c4c174ed213320;hpb=4e90e78dc97789709ee7404359a5517540c27553;p=ckeditor.git diff --git a/_source/themes/default/theme.js b/_source/themes/default/theme.js index b1e94ba..f7ff8e4 100644 --- a/_source/themes/default/theme.js +++ b/_source/themes/default/theme.js @@ -10,6 +10,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.themes.add( 'default', (function() { + var hiddenSkins = {}; + function checkSharedSpace( editor, spaceName ) { var container, @@ -121,6 +123,12 @@ CKEDITOR.themes.add( 'default', (function() sharedTop && ( sharedTop.setHtml( topHtml ) , topHtml = '' ); sharedBottoms && ( sharedBottoms.setHtml( bottomHtml ), bottomHtml = '' ); + var hideSkin = ''; + if ( hiddenSkins[ editor.skinClass ] ) + hideSkin = ''; + else + hiddenSkins[ editor.skinClass ] = 1; + var container = CKEDITOR.dom.element.createFromHtml( [ '