Ckeditor-自定义配置 分组

2. 其中 MyToolbar 就是自訂的toolbar,將常用到的toolbar設定在config.js後,再來就是在我要嵌入頁面中指定我自訂的 toolbar 名稱即可,也就是原本只能使用預設的Full或Basic,現在也可以使用我自訂的MyToolbar名稱了,如下:

<textarea cols=’80′ id=’toolbar_MyToolbar’ name=’toolbar_MyToolbar’ rows=’10′>丫 忠的伺服器-CKEditor toolbar修改-自訂toolbar</textarea>

<script type=’text/javascript’>
CKEDITOR.replace( ‘toolbar_MyToolbar’,{ toolbar: ‘ MyToolbar‘});
</script>

此時你可能會需要想知道 toolbar 中每一個英文對映到的功能,丫忠就把它整理下來吧,方便有需要的人做個對照囉!

‘Source’:原始碼

‘Save’:儲存
‘NewPage’:開新檔案
‘Preview’:預覽
‘Templates’:樣版

‘Cut’:剪下
‘Copy’:複製
‘Paste’:貼上
‘PasteText’:貼為文字格式
‘PasteFromWord’:自 word 貼上
‘Print’:列印
‘SpellChecker’:拼字檢查
‘Scayt’:即時拼寫檢查

‘Undo’:復原(上一步)
‘Redo’:重複(下一步)
‘Find’:尋找
‘Replace’:取代
‘SelectAll’:全選
‘RemoveFormat’:清除格式

‘Form’:表單
‘Checkbox’:核取方塊
‘Radio’:選項按鈕
‘TextField’:文字方塊
‘Textarea’:文字區域
‘Select’:選單
‘Button’:按鈕
‘ImageButton’:影像按鈕
‘HiddenField’:隱藏欄位

‘Bold’:粗體
‘Italic’:斜體
‘Underline’:底線
‘Strike’:刪除線
‘Subscript’:下標
‘Superscript’:上標

‘NumberedList’:編號清單
‘BulletedList’:項目清單
‘Outdent’:減少縮排
‘Indent’:增加縮排
‘Blockquote’:引用文字

‘JustifyLeft’:靠左對齊
‘JustifyCenter’:置中
‘JustifyRight’:靠右對齊
‘JustifyBlock’:左右對齊

‘Link’:插入/編輯超連結
‘Unlink’:移除超連結
‘Anchor’:插入/編輯錨點

‘Image’:插入影像
‘Flash’:插入Flash
‘Table’:插入表格
‘HorizontalRule’:插入水平線
‘Smiley’:插入表情
‘SpecialChar’:插入特殊符號
‘PageBreak’:插入分頁符號

‘Styles’:樣式
‘Format’:格式
‘Font’:字體
‘FontSize’:大小

‘TextColor’:文字顏色
‘BGColor’:背景顏色

‘Maximize’:最大化
‘ShowBlocks’:顯示區塊
‘About’:關於CKEditor


http://www.cnblogs.com/cnsanshao/archive/2011/07/19/2110400.html



####################################################################################

Source = 源码模式
-
Save = 保存(提交表单)
NewPage = 新建
Preview = 预览
- = 分割线
Templates = 模板
Cut = 剪切
Copy = 复制
Paste = 粘贴
PasteText = 粘贴为无格式文本
PasteFromWord = 从 MS WORD 粘贴
-
Print = 打印
SpellChecker = 拼写检查
Scayt = 即时拼写检查
Undo = 撤销
Redo = 重做
-
Find = 查找
Replace = 替换
-
SelectAll = 全选
RemoveFormat = 清除格式
Form = 表单
Checkbox = 复选框
Radio = 单选框
TextField = 单行文本
Textarea = 多行文本
Select = 列表/菜单
Button = 按钮
ImageButton = 图片按钮
HiddenField = 隐藏域
/
Bold = 加粗
Italic = 倾斜
Underline = 下划线
Strike = 删除线
-
Subscript = 下标
Superscript = 上标
NumberedList = 编号列表
BulletedList = 项目列表
-
Outdent = 减少缩进量
Indent = 增加缩进量
Blockquote = 块引用
CreateDiv = 创建DIV容器
JustifyLeft = 左对齐
JustifyCenter = 居中
JustifyRight = 右对齐
JustifyBlock = 两端对齐
BidiLtr = 文字方向从左到右
BidiRtl = 文字方向从右到左
Link = 插入/编辑超链接(上传文件)
Unlink = 取消超链接
Anchor = 插入/编辑锚点链接
Image = 图像(上传)
Flash = 动画(上传)
Table = 表格
HorizontalRule = 插入水平线
Smiley = 插入表情
SpecialChar = 插入特殊符号
PageBreak = 插入分页符
/
Styles = 样式快捷方式
Format = 文本格式
Font = 字体
FontSize = 文字大小
TextColor = 文字颜色
BGColor = 背景颜色
Maximize = 全屏编辑模式
ShowBlocks = 显示区块
-
About = 显示关于
 


http://www.960web.com/shownews.asp?id=795


你可能感兴趣的:(image,Flash,table,button,templates,styles)