/** * Get editor Toolbar custom parameters * @param type simple= minimalist basic= basic version full= full version*/functionGet_ckeditor_toolbar (type) {if(!arguments[0]) type = ' Simple '; //Full version varCkeditor_toolbar_full = [ [' Maximize ', ' Autoformat ', ' NewPage ', ' Source ', ' Print '], [' Pastetext ', ' Pastefromword ', ' Replace '], [' Form ', ' Checkbox ', ' Radio ', ' TextField ', ' Textarea ', ' Select ', ' Button ', ' ImageButton ', ' HiddenField '], [' Removeformat ', ' Bold ', ' Italic ', ' underline ', ' Strike ', ' subscript ', ' superscript '], [' Link ', ' Unlink ', '-', ' textcolor ', ' BGColor '], [' Numberedlist ', ' BulletedList ', ' outdent ', ' Indent ', '-', ' Blockquote ', ' creatediv ', '-', ' justifyleft ', ' Justifycenter ', ' justifyright ', ' Justifyblock '], [' Upfile ', ' Image ', ' codesnippet ', ' Flash ', ' Table ', ' horizontalrule ', ' Specialchar ', ' pagebreak ', ' Iframe '], [' Styles '], [' Format '], [' Font '], [' FontSize '], ]; if(Type = = ' full ')returnCkeditor_toolbar_full; //Basic version varCkeditor_toolbar_basic = [ [' Maximize ', ' Autoformat ', ' NewPage ', ' Source ', ' Print '], [' Pastetext ', ' Pastefromword ', ' Replace '], [' Removeformat ', ' Bold ', ' Italic ', ' underline ', ' Strike ', ' subscript ', ' superscript '], [' Link ', ' Unlink ', '-', ' textcolor ', ' BGColor '], [' Numberedlist ', ' BulletedList ', ' outdent ', ' Indent ', '-', ' Blockquote ', ' creatediv ', '-', ' justifyleft ', ' Justifycenter ', ' justifyright ', ' Justifyblock '], [' Upfile ', ' Image ', ' codesnippet ', ' Flash ', ' Table ', ' horizontalrule ', ' Specialchar ', ' pagebreak ', ' Iframe '], [' Format '], [' Font '], [' FontSize '], ]; if(Type = = ' basic ')returnCkeditor_toolbar_basic; //Minimalist version varCkeditor_toolbar_simple = [ [' Maximize ', ' Autoformat ', ' NewPage ', ' Source ', ' Print '], [' Pastetext ', ' Pastefromword ', ' Replace '], [' Removeformat ', ' Bold ', ' Italic '], [' Link ', ' Unlink ', '-', ' textcolor ', ' BGColor '], [' Numberedlist ', ' BulletedList ', ' outdent ', ' Indent ', '-', ' justifyleft ', ' justifycenter ', ' justifyright ', ' Justifyblock '], [' Upfile ', ' Image ', ' Flash ', ' Table ', ' horizontalrule '], [' Format '], [' FontSize '], ]; if(Type = = ' simple ')returnCkeditor_toolbar_simple;} //End Func
I was using the editor: Ckeditor_4.4.6_full
CKEditor Customizing toolbars