X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fskin.js;h=34841d9127bf29f7a993a639da4ae79cf00fd96a;hb=039a051ccf3901311661022a30afd60fc38130c9;hp=55a97dcda7f516b9a4e17a03a0d7ccde14649a5f;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index 55a97dc..34841d9 100644 --- a/_source/skins/kama/skin.js +++ b/_source/skins/kama/skin.js @@ -93,7 +93,7 @@ CKEDITOR.skins.add( 'kama', (function() function getStylesheet( document ) { var node = document.getById( uiColorStylesheetId ); - if( !node ) + if ( !node ) { node = document.getHead().append( 'style' ); node.setAttribute( "id", uiColorStylesheetId ); @@ -147,7 +147,7 @@ CKEDITOR.skins.add( 'kama', (function() { var cssContent, uiStyle = getStylesheet( CKEDITOR.document ), - cssId = '.cke_editor_' + CKEDITOR.tools.escapeCssSelector( editor.name ); + cssId = '.' + editor.id; var cssSelectors = [ @@ -242,11 +242,11 @@ CKEDITOR.skins.add( 'kama', (function() // ml el = innerDialog.getChild( 4 ); - el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' ); + el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); // mr el = innerDialog.getChild( 5 ); - el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' ); + el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); }, 100 ); });