Hey Son!c,
in der
fckeditor/fckconfig.js Kannst du dir Toolbar Sets anlegen bzw. Bearbeiten...
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','CreateDiv'],
['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["Basic"] = [
['Source','Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','ImageButton']
];
Beim Einbinden des Editors kannst dann einstellen, welches Toolbar Set aufgerufen werden soll
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.Height = "115";
oFCKeditor.Width = "695";
oFCKeditor.BasePath = "include/includes/js/fckeditor/" ;
oFCKeditor.ToolbarSet = "Basic" ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
MfG OloX