Hi. I’m trying to use the CKEditor wrapper pluggin to instanciate a minimal instance of the editor.
So far, I came up with a list of ckeditor plugins that I don’t need and here is my config code :
[code]
// set CKEditorConfig
ckEditorConfig = new CKEditorConfig();
ckEditorConfig.useCompactTags();
ckEditorConfig.disableElementsPath();
ckEditorConfig.disableResizeEditor();
// Remove unwanted pluggins (also remove the buttonsbars from the editor)
ckEditorConfig.addToRemovePlugins("about");
ckEditorConfig.addToRemovePlugins("bidi");
ckEditorConfig.addToRemovePlugins("blockquote");
//ckEditorConfig.addToRemovePlugins("clipboard");
ckEditorConfig.addToRemovePlugins("colorbutton");
ckEditorConfig.addToRemovePlugins("colordialog");
ckEditorConfig.addToRemovePlugins("div");
ckEditorConfig.addToRemovePlugins("filebrowser");
ckEditorConfig.addToRemovePlugins("find");
ckEditorConfig.addToRemovePlugins("font");
ckEditorConfig.addToRemovePlugins("forms");
ckEditorConfig.addToRemovePlugins("flash");
ckEditorConfig.addToRemovePlugins("horizontalrule");
ckEditorConfig.addToRemovePlugins("indent");
ckEditorConfig.addToRemovePlugins("indentblock");
ckEditorConfig.addToRemovePlugins("indentlist");
ckEditorConfig.addToRemovePlugins("iframe");
ckEditorConfig.addToRemovePlugins("image");
ckEditorConfig.addToRemovePlugins("justify");
ckEditorConfig.addToRemovePlugins("language");
ckEditorConfig.addToRemovePlugins("link");
//ckEditorConfig.addToRemovePlugins("list");
ckEditorConfig.addToRemovePlugins("listblock");
ckEditorConfig.addToRemovePlugins("liststyle");
ckEditorConfig.addToRemovePlugins("maximize");
ckEditorConfig.addToRemovePlugins("newpage");
ckEditorConfig.addToRemovePlugins("pagebreak");
//ckEditorConfig.addToRemovePlugins("pastefromword");
//ckEditorConfig.addToRemovePlugins("pastetext");
ckEditorConfig.addToRemovePlugins("popup");
ckEditorConfig.addToRemovePlugins("preview");
ckEditorConfig.addToRemovePlugins("print");
ckEditorConfig.addToRemovePlugins("scayt");
ckEditorConfig.addToRemovePlugins("selectall");
ckEditorConfig.addToRemovePlugins("showblocks");
ckEditorConfig.addToRemovePlugins("smiley");
ckEditorConfig.addToRemovePlugins("sourcearea");
ckEditorConfig.addToRemovePlugins("stylescombo");
ckEditorConfig.addToRemovePlugins("table");
ckEditorConfig.addToRemovePlugins("tabletools");
ckEditorConfig.addToRemovePlugins("templates");
ckEditorConfig.addToRemovePlugins("wsc");
ckEditorConfig.disableSpellChecker();
[/code]The result (see attachment) shows indeed only the buttonbars I need but they are stacked in 3 different lines where they could perfectly fit on one line…
Can somebody point me towards how to have them in one line ? Also, is there a less painfull way to specify which buttonbars we want : removing each addon one by one seems suboptimal…