I think your problem can be one of this : *****in the fckconfig.js file***** the first is that you don't look at the coma at the end of the line, the last index of the array ain't got one [...] ['TextColor','BGColor'], ['About'] <== no coma here, very important ] ; ***** with your browser*************** the second one, I had this porblem for a moment, is a cache problem, I have to close my browser or copy, paste the adress in a new tab, to have the last render
*************in the fckeditor.js file************** the third one, could be that you call the bad toolbar, so what you've done is good, but you don't call it, so it do not work
Approximatively on line 32 in the fckeditor.js file you can see :
this.ToolbarSet = toolbarSet || 'Default' ;
Do you work on the config "Default" in the config file ? wich you can recognize with something like this (line +/- 70) in my editor in the fckconfig.js file : FCKConfig.ToolbarSets["Default"] = [...]
if you take out the last , and - after FontFormat it loads fine. i took waht you posted and removed those 2 items and it loads properly. here's the complete:
RE: remove Font, FontSize, etc. from Toolbar
TBI.prototype.Font
TBI.prototype.FontSize
TBI.prototype.TextColor
TBI.prototype.BGColor
I mean the complete lines... they are just too long to post here.
TBI.prototype.Font... ;
RE: remove Font, FontSize, etc. from Toolbar
Just make sure you don't change the bracketing of the statement, and that there are no stray commas or anything.
If that's not working, the old copy is probably being cached (this happens especially in Firefox). Just clear your cache and try again.
RE: remove Font, FontSize, etc. from Toolbar
RE: remove Font, FontSize, etc. from Toolbar
I think your problem can be one of this :
*****in the fckconfig.js file*****
the first is that you don't look at the coma at the end of the line, the last index of the array ain't got one
[...]
['TextColor','BGColor'],
['About'] <== no coma here, very important
] ;
***** with your browser***************
the second one, I had this porblem for a moment, is a cache problem, I have to close my browser or copy, paste the adress in a new tab, to have the last render
*************in the fckeditor.js file**************
the third one, could be that you call the bad toolbar, so what you've done is good, but you don't call it, so it do not work
Approximatively on line 32 in the fckeditor.js file you can see :
this.ToolbarSet = toolbarSet || 'Default' ;
Do you work on the config "Default" in the config file ?
wich you can recognize with something like this (line +/- 70) in my editor in the fckconfig.js file :
FCKConfig.ToolbarSets["Default"] = [...]
Hope it could help you
@+
RE: remove Font, FontSize, etc. from Toolbar
RE: remove Font, FontSize, etc. from Toolbar
config.ToolbarSets["Default"] = [
['EditSource','-','Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','Find','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Table','Rule','SpecialChar','Smiley','-','About'] ,
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','InsertOrderedList','InsertUnorderedList','-','Outdent','Indent','-','ShowTableBorders','ShowDetails','-','Zoom'] ,
['FontStyle','-','FontFormat']
] ;
RE: remove Font, FontSize, etc. from Toolbar