Dear friends,
I need to remove some of the features from tool bar set.
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Table','Rule','Smiley','SpecialChar','UniversalKey'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
//changed this variable
FCKConfig.ToolbarSets["Default"] = [
['Source','Preview','SpellCheck','Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Image'],
'/',
['Style','FontFormat','FontName','FontSize','TextColor','BGColor']
] ;
//create new tool bar set
FCKConfig.ToolbarSets["myToolBar"] = [
['Source','Preview','SpellCheck','Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Image'],
'/',
['Style','FontFormat','FontName','FontSize','TextColor','BGColor']
] ;
I changed the toolbarset variable but it only effects
in Internet explorer but its not changing in fire fox
and in netscape.
I even made my own config file and pass the arguments
properly but again it is showing "Mytoolbar " is not
available error.
if I add new toolbar set in fckconfig.js file with my
selected buttons then IE except this new tool bar but
same firefox and netscape gives error.
if you have nay suggestion or help then please provide
me thanks.
I'm developing my application in PHP but I need the
HTML Editor is in Javascript i.e I don't want to use
PHP class for this I want to need Javascript class.
Thanks with regards
Sachin Tandon
sachint@netsoftglobal.com
I need to remove some of the features from tool bar set.
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Table','Rule','Smiley','SpecialChar','UniversalKey'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
//changed this variable
FCKConfig.ToolbarSets["Default"] = [
['Source','Preview','SpellCheck','Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Image'],
'/',
['Style','FontFormat','FontName','FontSize','TextColor','BGColor']
] ;
//create new tool bar set
FCKConfig.ToolbarSets["myToolBar"] = [
['Source','Preview','SpellCheck','Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Image'],
'/',
['Style','FontFormat','FontName','FontSize','TextColor','BGColor']
] ;
I changed the toolbarset variable but it only effects
in Internet explorer but its not changing in fire fox
and in netscape.
I even made my own config file and pass the arguments
properly but again it is showing "Mytoolbar " is not
available error.
if I add new toolbar set in fckconfig.js file with my
selected buttons then IE except this new tool bar but
same firefox and netscape gives error.
if you have nay suggestion or help then please provide
me thanks.
I'm developing my application in PHP but I need the
HTML Editor is in Javascript i.e I don't want to use
PHP class for this I want to need Javascript class.
Thanks with regards
Sachin Tandon
sachint@netsoftglobal.com