KindEditor°汾ҳ 
ѹzipļļϴվĿ¼¡磺http:///editor/ 
Ҫʾ༭λTEXTAREA
עidָΨһֵЩϲȺ͸߶ȿʾ⣬һ¿Ⱥ͸߶ȡȺ͸߶ȿinlineʽãҲñ༭Դȥ 
<textarea id="your_editor_id" name="content" cols="100" rows="8" style="width:700px;height:300px;"></textarea>
                                ҳ´롣 
<script charset="utf-8" src="/editor/kindeditor.js"></script>
<script>
        KE.show({
                id : 'your_editor_id'
        });
</script>
                                id֮⻹ԣο༭ԡ 







KE.showKE.initʱ² 
id
TEXTAREAIDá
ͣString

items
ñ༭Ĺ"-"ʾУ"|"ʾָ
ͣArray
Ĭֵ 
['source', '|', 'fullscreen', 'undo', 'redo', 'print', 'cut', 'copy', 'paste',
'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
'superscript', '|', 'selectall', '-',
'title', 'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold',
'italic', 'underline', 'strikethrough', 'removeformat', '|', 'image',
'flash', 'media', 'advtable', 'hr', 'emoticons', 'link', 'unlink', '|', 'about']
          width
༭Ŀȣpx%TEXTAREAʽȶȸߡ
ͣString
ĬֵTEXTAREAĿ
ע: 3.2汾ʼ֧֡

height
༭ĸ߶ȣֻpxTEXTAREAʽ߶ȶȸߡ
ͣString
ĬֵTEXTAREAĸ߶
ע: 3.2汾ʼ֧֡

minWidth
ͣInt
ָ༭СȣλΪpx
Ĭֵ200

minHeight
ͣInt
ָ༭С߶ȣλΪpx
Ĭֵ100

filterMode
ͣBoolean
trueʱHTML룬falseʱκδ롣
Ĭֵfalse
ע: 3.4ǰ汾filterModeĬֵΪtrue

htmlTags
ָҪHTMLǺԡϣkeyΪHTMLǩvalueΪHTML飬"."ʼԱʾstyleԡ
ͣObject
Ĭֵ 
{
        font : ['color', 'size', 'face', '.background-color'],
        span : ['style'],
        div : ['class', 'align', 'style'],
        table: ['class', 'border', 'cellspacing', 'cellpadding', 'width', 'height', 'align', 'style'],
        'td,th': ['class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor', 'style'],
        a : ['class', 'href', 'target', 'name', 'style'],
        embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality',
'style', 'align', 'allowscriptaccess', '/'],
        img : ['src', 'width', 'height', 'border', 'alt', 'title', 'align', 'style', '/'],
        hr : ['class', '/'],
        br : ['/'],
        'p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : ['align', 'style'],
        'tbody,tr,strong,b,sub,sup,em,i,u,strike' : []
}
          עfilterModeΪtrueʱЧ3.4汾ʼԿstyleinlineʽ

resizeMode
2102ʱ϶ıȺ͸߶ȣ1ʱֻܸı߶ȣ0ʱ϶
ͣInt
Ĭֵ2

skinType
ͣdefaulttinymce
ͣString
Ĭֵdefault
ע3.4ǰ汾3.4.1汾ʼĬֵΪdefault3.4汾ĬֵΪoxygen 
wyswygMode
ӻģʽģʽ
ͣBoolean
Ĭֵtrue

cssPath
ָ༭iframe documentCSSÿӻʽ
ͣStringArray
Ĭֵ
ע3.4.1汾ʼָCSSļ磺cssPath : ['a.css', 'b.css'] 
skinsPath
ָ༭skinsĿ¼skinsĿ¼ŷcssļgifͼƬ
ͣString
ĬֵKE.scriptPath + 'skins/'

pluginsPath
ָ༭pluginsĿ¼
ͣString
ĬֵKE.scriptPath + 'plugins/'

minChangeSize
undo/redoС仯ȣֱ仯Сʱӵundoջ
ͣInt
Ĭֵ5

loadStyleMode
trueʱԶر༭CSS
ͣBoolean
Ĭֵtrue
ע: 3.4汾ʼ֧֡

urlType
ıվڱURLÿաrelativeabsolutedomainΪ޸URLrelativeΪ·absoluteΪ·domainΪľ·
ͣString
Ĭֵ
ע: 3.4汾ʼ֧֣3.4.1汾ʼĬֵΪա

newlineTag
ûسбǩpbr
ͣString
Ĭֵbr
ע: 3.4汾ʼ֧֡

afterCreate
ñ༭ִеĻص
ͣFunction
Ĭֵ

afterDialogCreate
õ򴴽ִеĻص
ͣFunction
Ĭֵ
ע: 3.4.3汾ʼ֧֡

allowUpload
truefalsetrueʱʾϴͼƬǩ
ͣBoolean
Ĭֵtrue
ע: 3.4汾ʼ֧֡

allowFileManager
truefalsetrueʱʾͼƬܡ
ͣBoolean
Ĭֵfalse
ע: 3.4汾ʼ֧֡

referMethod
referMethodϴͼƬPOSTreferMethod
ͣString
Ĭֵ
ע: 3.4汾ʼ֧֡

dialogAlignType
õ(dialog)ĶͣpageͿգָpageʱǰҳУָʱ༭С
ͣString
Ĭֵpage
ע: 3.4.1汾ʼ֧֡

imageUploadJson
ָϴͼƬķ˳
ͣString
Ĭֵ../../php/upload_json.php
ע: 3.4.1汾ʼ֧֡

fileManagerJson
ָԶͼƬķ˳
ͣString
Ĭֵ../../php/file_manager_json.php
ע: 3.4.1汾ʼ֧֡

autoSetDataMode
truefalsetrueʱԶ༭õԭtextareaҲÿݾִKE.util.setData
ͣBoolean
Ĭֵtrue
ע: 3.5汾ʼ֧֡autoSetDataModeģʽήܣǹرautoSetDataModeύǰִKE.util.setData

afterSetData
ԶִKE.util.setDataִеĻصautoSetDataModeΪtrueʱЧ
ͣFunction
Ĭֵ
ע: 3.5汾ʼ֧֡

shadowMode
truefalsetrueʱʾӰ
ͣBoolean
Ĭֵtrue
ע: 3.5汾ʼ֧֡

allowPreviewEmoticons
truefalsetrueʱڱϿԤ顣
ͣBoolean
Ĭֵtrue
ע: 3.5汾ʼ֧֡

ӣ 
KE.show({
    id : "content_1",
    width : "70%", //༭ĿΪ70%
    height : "200px", //༭ĸ߶Ϊ100px
    filterMode : false, //HTML
    resizeMode : 1 //༭ֻܵ߶
});
