This is my setup:
CKEDITOR.config.toolbarLocation = "toolbox"; CKEDITOR.appendTo( element, { on : { "pluginsLoaded" : function( evt ) { var editor = evt.editor; var config = editor.config; var toolboxHtml = editor.fire( "themeSpace",{ space : config.toolbarLocation, html : "" } ).html; var container = new CKEDITOR.dom.element( document.getElementById( config.toolbarLocation ) ); var toolbox = CKEDITOR.dom.element.createFromHtml( "<div class=\"" + editor.skinClass + "\">"+ "<div class=\"" + CKEDITOR.env.cssClass + "\">"+ "<div class=\"cke_wrapper cke_" + editor.lang.dir + "\">"+ "<div class=\"cke_top\">"+ "<div class=\"cke_editor\">"+ toolboxHtml+ "</div>"+ "</div>"+ "</div>"+ "</div>"+ "</div>" ); container.append(toolbox); } } );