Hi,
I created de new toolbar in fckconfig.js
FCKConfig.ToolbarSets["Demo"] = [
['Source','-','Preview','-'],
['Cut','Copy','Paste','PasteText','PasteWord','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','SpecialChar','UniversalKey'],
'/',
['Style','FontFormat','FontName','FontSize']
] ;
In a web I put this code
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/" oFCKeditor.Value= CUERPO
'oFCKeditor.ToolbarSet = "Demo"
oFCKeditor.Create "CUERPO"
But a javascript error said that "demo" toolbar does not exist!!
Where's te trouble?
Thanks.
I created de new toolbar in fckconfig.js
FCKConfig.ToolbarSets["Demo"] = [
['Source','-','Preview','-'],
['Cut','Copy','Paste','PasteText','PasteWord','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','SpecialChar','UniversalKey'],
'/',
['Style','FontFormat','FontName','FontSize']
] ;
In a web I put this code
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/" oFCKeditor.Value= CUERPO
'oFCKeditor.ToolbarSet = "Demo"
oFCKeditor.Create "CUERPO"
But a javascript error said that "demo" toolbar does not exist!!
Where's te trouble?
Thanks.