X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fskin.js;h=34841d9127bf29f7a993a639da4ae79cf00fd96a;hp=fe8923b1b112ae5bdf87027263c06d12bb54b89b;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index fe8923b..34841d9 100644 --- a/_source/skins/kama/skin.js +++ b/_source/skins/kama/skin.js @@ -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 ); });