默认模式
自定义按钮
皮肤选择
其它选项
API交互
非utf-8编码调用
UBB可视化
Ajax上传
插件扩展
iframe调用上传
异步加载
远程抓图
结合CKFinder
Markdown可视化
生成代码
xhEditor demo1 : 默认模式
1,xheditor(默认完全):
<p>当前实例调用的HTML代码为:</p><p><textarea id="elm1" name="elm1" <span style="color:#ff0000;">class="xheditor"</span> rows="12" cols="80" style="width: 80%"></p>
Cut
Copy
Paste
Pastetext
Blocktag
Fontface
FontSize
Bold
Italic
Underline
Strikethrough
FontColor
BackColor
SelectAll
Removeformat
Align
List
Outdent
Indent
Link
Unlink
Anchor
Img
Flash
Media
Hr
Emot
Table
Source
Preview
Print
Fullscreen
About
2,xheditor-mfull(多行完全):
<p>当前实例调用的HTML代码为:</p><p><textarea id="elm2" name="elm2" <span style="color:#ff0000;">class="xheditor-mfull"</span> rows="12" cols="80" style="width: 80%"></p>
Cut
Copy
Paste
Pastetext
Blocktag
Fontface
FontSize
Bold
Italic
Underline
Strikethrough
FontColor
BackColor
SelectAll
Removeformat
Align
List
Outdent
Indent
Link
Unlink
Anchor
Img
Flash
Media
Hr
Emot
Table
Source
Preview
Print
Fullscreen
About
3,xheditor-simple(简单):
<p>当前实例调用的HTML代码为:</p><p><textarea id="elm3" name="elm3" <span style="color:#ff0000;">class="xheditor-simple"</span> rows="12" cols="80" style="width: 80%"></p>
Blocktag
Fontface
FontSize
Bold
Italic
Underline
Strikethrough
FontColor
BackColor
Align
List
Outdent
Indent
Link
Img
Emot
About
4,xheditor-mini(迷你):
<p>当前实例调用的HTML代码为:</p><p><textarea id="elm4" name="elm4" <span style="color:#ff0000;">class="xheditor-mini"</span> rows="12" cols="80" style="width: 80%"></p>
Bold
Italic
Underline
Strikethrough
Align
List
Link
Img
About
5,自定义详细参数:
<p>当前实例调用的HTML代码为:</p><p><textarea id="elm5" name="elm5" <span style="color:#ff0000;">class="xheditor {tools:'Bold,Italic,Underline,Strikethrough,About',skin:'default'}"</span> rows="12" cols="80" style="width: 80%"> <br /></p><p>在以上3个参数的基础上,可以在后面接一个json格式的详细参数,参数和Javascript初始化模式中的完全一致。前面主参数为xheditor-full、xheditor-mfull、xheditor-simple或者xheditor-mini的情况下,后面参数中tools参数值是无效的,以前面的主参数为主。</p>
Bold
Italic
Underline
Strikethrough
About