搜尋站內文章

My Plurk

ABOUT ARC

abcdsgod
我想我現在是一個記錄自己的人吧...希望在任何地方工作都能找的到自己曾經做過的東西
檢視我的完整簡介

CKEdior ( FCKEditor ) 工具列設定

每次要設定的時候就要找一次呀 筆記!!筆記!!


基本使用


<script type="text/javascript" src="ckeditor.js"></script>
<script type="text/javascript">
//<![CDATA[

// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'editor1',
{
extraPlugins : 'uicolor',
toolbar :
[
[ 'Source', '-','Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'TextColor','FontSize' ]
]
});

//]]>
</script>

/////////////////////////////////////////////////////////////////////


['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
// 原始碼,屬性,分隔線,儲存,新檔案,預覽,樣版,

['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
//剪下,複製,貼上,貼為純文字格式,自Word貼上,分隔線,列印,拼字檢查

['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//復原,重做,分隔線,尋找,取代,分隔線,全選,清除格式

['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
//表單,核取方塊,選項按鈕,文字方塊,文字區域,清單選單,按鈕,影像按鈕,隱藏欄位


['Bold','Italic','Underline','Subscript','Superscript','StrikeThrough'],
//粗體,斜體,底線,刪除線,分隔線,下標,上標

['OrderedList','UnorderedList','-','Outdent','Indent'],
//插入/移除編號清單,插入/移除項目清單,減收縮排,分隔線,增加縮排,減少縮排

['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
//靠左對齊,置中,靠右對齊,左右對擠

['Link','Unlink','Anchor'],
//插入/編輯超鏈結,移除超鏈結,插入/編輯錨點,

['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
//插入/編輯影像,插入/編輯Flash,插入/編輯F表格,插入水平線,插入表情符號,插入特殊符號,插入分頁符號,萬國鍵盤

['Style','FontFormat','FontName','FontSize'],
//樣式,格式,字體,字型大小

['TextColor','BGColor'],
//文字顏色,背影顏色

['FitWindow','About']
//編輯器最大化,關於FCKeditor,

沒有留言: