Index: _source/plugins/richcombo/plugin.js =================================================================== --- _source/plugins/richcombo/plugin.js (revision 6955) +++ _source/plugins/richcombo/plugin.js (working copy) @@ -224,7 +224,7 @@ panelBlockDefinition = this._.panelDefinition.block, panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(), panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ), - list = panel.addListBlock( this.id, panelBlockDefinition ), + list = panel.addListBlock( this.id, panelBlockDefinition, editor ), me = this; panel.onShow = function() Index: _source/plugins/panel/plugin.js =================================================================== --- _source/plugins/panel/plugin.js (revision 6955) +++ _source/plugins/panel/plugin.js (working copy) @@ -122,7 +122,7 @@ return id; }, - getHolderElement : function() + getHolderElement : function(editor) { var holder = this._.holder; @@ -144,13 +144,23 @@ this.onLoad(); }, this ) ); + //get the body_id and body_class + var body_class = 'cke_' + dir + ' cke_panel_frame ' + CKEDITOR.env.cssClass; + var body_id = ''; + if( editor ){ + var config = editor.config; + body_class += ( config.bodyClass ? ' ' + config.bodyClass : '' ); + body_id = ( config.bodyId ? ' id="' + config.bodyId + '"' : '' ); + } + var data = '' + '' + '
' + '' + '' + - '' + // It looks strange, but for FF2, the styles must go // after , so it (body) becames immediatelly Index: _source/plugins/listblock/plugin.js =================================================================== --- _source/plugins/listblock/plugin.js (revision 6955) +++ _source/plugins/listblock/plugin.js (working copy) @@ -9,9 +9,9 @@ onLoad : function() { - CKEDITOR.ui.panel.prototype.addListBlock = function( name, definition ) + CKEDITOR.ui.panel.prototype.addListBlock = function( name, definition, editor ) { - return this.addBlock( name, new CKEDITOR.ui.listBlock( this.getHolderElement(), definition ) ); + return this.addBlock( name, new CKEDITOR.ui.listBlock( this.getHolderElement(editor), definition ) ); }; CKEDITOR.ui.listBlock = CKEDITOR.tools.createClass( Index: _source/plugins/floatpanel/plugin.js =================================================================== --- _source/plugins/floatpanel/plugin.js (revision 6955) +++ _source/plugins/floatpanel/plugin.js (working copy) @@ -72,9 +72,9 @@ return this._.panel.addBlock( name, block ); }, - addListBlock : function( name, multiSelect ) + addListBlock : function( name, multiSelect, editor ) { - return this._.panel.addListBlock( name, multiSelect ); + return this._.panel.addListBlock( name, multiSelect, editor ); }, getBlock : function( name )