在fckconfig.js中找到FCKConfig.ToolbarSets 段,默認有兩個工具條樣式,一個是Default,一個是Basic

增加如下一段:
 1FCKConfig.ToolbarSets["Custom"] = [
 2    ['FontFormat','FontName','FontSize'],
 3    ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
 4    ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
 5    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 6    ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
 7    ['Link','Unlink','Anchor'],
 8    ['TextColor','BGColor'],'/'
 9    ['Cut','Copy','Paste','PasteText','PasteWord'],
10   ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
11   ['FitWindow','ShowBlocks','-','Source','About']        // No comma for the last row.
12;

然后再調用代碼中做如下更改
1<%
2    Dim oFCKeditor
3    Set oFCKeditor = New FCKeditor
4    oFCKeditor.BasePath    = "edit/"
5    oFCKeditor.Value    = ""
6    oFCKeditor.Config("SkinPath")="/website/manage/edit/editor/skins/silver/"
7    oFCKeditor.ToolbarSet = "Custom"
8    oFCKeditor.Create "txtcontent"
9%>

如果采用 <%@ taglib prefix="FCK" uri="http://java.fckeditor.net"%> 標簽方式,則做如下更改
1<FCK:editor instanceName="editorDefault" basePath="/fckeditor">
2    <jsp:attribute name="value">請填寫內容</jsp:attribute>
3    <jsp:attribute name="toolbarSet">Custom</jsp:attribute>
4</FCK:editor>

其定制語法很簡單
[]  表示一個工具條,
[]  中的短橫線'-'表示一個垂直分割線
''  兩個單引號中間加一個標識符表示一個工具欄按鈕,具體的對應關系見下表。
'/' 作用類似于一個回車。使該符號后面的工具欄新起一行排列。

下面對編輯器的按鈕進行詳細介紹:

EditSource 顯示HTML源代碼
StrikeThrough 刪除線
Save 保存
NewPage 新建空白頁面
Superscrīpt 上標
Subscrīpt 下標
Preview 預覽
JustifyLeft 左對齊
Cut 剪切
Copy 復制
Paste 粘貼
JustifyCenter 居中對齊
JustifyRight 右對齊
JustifyFull 兩端對齊
PasteText 純文本粘貼
InsertOrderedList 自動編號
PasteWord 來自Word的粘貼
InsertUnorderedList 項目符號
Print 打印
Outdent 減少縮進
SpellCheck 拼寫檢查
Indent 增加縮進
Find 查找
ShowTableBorders 顯示表格線
Replace 替換
ShowDetails 顯示明細
Undo 撤銷
Form 添加Form動作
Redo 還原
Checkbox 復選框
SelectAll 全選
Radio 單選按鈕
RemoveFormat 去除格式
Input 單行文本框
Link 插入/編輯 鏈接
Textarea 滾動文本框
RemoveLink 去除連接
Select 下拉菜單
Anchor 錨點
Button 按鈕
Image 插入/編輯 圖片
ImageButton 圖片按鈕
Table 插入/編輯 表格
Hidden 隱藏
Rule 插入水平線
Zoom 顯示比例
SpecialChar 插入特殊字符
FontStyleAdv 系統字體
UniversalKey 軟鍵盤
FontStyle 字體樣式
Smiley 插入表情符號
FontFormat 字體格式
About 關于
Font 字體
Bold 粗體
FontSize 字體大小
Italic 斜體
TextColor 文字顏色
Underline 下劃線
BGColor 背景色