hi all,
i'm wondering if someone can tell me what i need to edit to enable me to switch on and off buttons on the fck editor. i would like the font and font size in particular to be enabled but i would also liek to know how to switch on all functions.
ive pasted the code below from the fckeditor.js file
thanks
i'm wondering if someone can tell me what i need to edit to enable me to switch on and off buttons on the fck editor. i would like the font and font size in particular to be enabled but i would also liek to know how to switch on all functions.
ive pasted the code below from the fckeditor.js file
thanks
/*FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. ] ;*/ FCKConfig.ToolbarSets["Default"] = [ ['Source','-','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','flvPlayer','googlemaps','-','Table','Rule','SpecialChar'], ['Selectlink','SelectComponent','Templates','-','Style','FontFormat','-','FitWindow','ShowBlocks','-','About'] ] ; FCKConfig.ToolbarSets["Summary"] = [ ['Source','-','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','SpecialChar'], ['Selectlink','SelectComponent','Style','FontFormat','-','FitWindow','ShowBlocks','-','About'] ] ; FCKConfig.ToolbarSets["Form"] = [ ['Source','-','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','googlemaps','-','Table','Rule','SpecialChar'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], ['Selectlink','SelectComponent','Style','FontFormat'] ] ;
Re: enable more functions/buttons on the toolbar
its ok, i found the help i was looking for on this site, just needed to open my eyes
http://docs.fckeditor.net/FCKeditor_2.x ... on/Toolbar