Add more fomat styles to toolbar

Permalink
Hi to all.
i'm trying to add more format styles to toolbar in content block and i'm not able to do'it.
im using customized toolbar/custom and i add in the code the new style but my problem is the toolbar get small and i want all buttons like office toolbar.
Some help??
thanks

 
DLCCCGreg replied on at Permalink Reply
where do you go to make it custom
DiogoMoreira replied on at Permalink Reply
Hi
in the content block, i go to customize toolbar/Custom.
and after show some code that i make the changes i need but after save nothing appear as the usual toolbar.
keeasti replied on at Permalink Reply
keeasti
Which version of C5 are you using? And did you clear the cache?
DiogoMoreira replied on at Permalink Reply
hi.
i'm using version 5.6.1.2.
Actually i have clear the cache.
keeasti replied on at Permalink Best Answer Reply
keeasti
OK - I think I know what you mean ... you want to have a custom version of the 'Office' toolbar?

To do this, replace the code in the 'Custom' box with the following code (make sure you click on 'View entire code block' before you copy the code) and then edit like you want.

editor_selector : "ccm-advanced-editor",      
spellchecker_languages : "+English=en",
theme : "advanced",
plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras", //,template,imagemanager,filemanager",      
theme_advanced_buttons1 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,undo,redo,|,styleselect,formatselect,fontselect,fontsizeselect,", //save,newdocument,help,|,      
theme_advanced_buttons2 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,blockquote,|,link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor", //
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,insertdate,inserttime,|,ltr,rtl,", //
theme_advanced_buttons4 : "charmap,emotions,iespell,media,advhr,|,fullscreen,preview,|,styleprops,spellchecker,|,cite,del,ins,attribs,|,visualchars,nonbreaking,blockquote,pagebreak", //insertlayer,moveforward,movebackward,absolute,|,|,abbr,acronym,template,insertfile,insertimage      
theme_advanced_blockformats : "p,address,pre,h1,h2,h3,div,blockquote,cite",
theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
theme_advanced_font_sizes : "1,2,3,4,5,6,7",
theme_advanced_more_colors : 1,            
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",      
theme_advanced_statusbar_location : "bottom",
DiogoMoreira replied on at Permalink Reply
Thanks.
it was this.
thanks
keeasti replied on at Permalink Reply
keeasti
Glad it worked for you.
On production sites, I actually hardcode all this stuff and remove the other options so clients can't 'improve' the designs too much :)