API接口示例代码:var editor=$('#elm1').xheditor({tools:'full',skin:'default'});editor.focus();editor.setSource('str')sHtml=editor.getSource()editor.appendHTML('<p>aaa</p>')editor.pasteHTML('<p>aaa</p>')editor.pasteText('str')sHtml=editor.formatXHTML('<b>aaa</b>')editor.toggleSource()editor.toggleFullscreen()alert(editor.settings.upImgExt);editor.settings.upImgExt='txt,doc...
未完,继续阅读→关键字:
xhEditor 编辑器 api