X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fthemes%2Fdefault%2Ftheme.js;h=6cdfa77293c3ed241f30cd97539404ac4cd5ed89;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hp=b1e94ba8b1bbc55da452839319c4c174ed213320;hpb=4e90e78dc97789709ee7404359a5517540c27553;p=ckeditor.git diff --git a/_source/themes/default/theme.js b/_source/themes/default/theme.js index b1e94ba..6cdfa77 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( [ '