Home > Q&A > body text
利用js,添加多个富文本编辑器,当添加第二个的时候,如何把上一个编辑的内容清空,初始化富文本编辑器,使其可以重新录入新内容
天蓬老师2017-04-10 15:21:09
http://ueditor.baidu.com/website/onlinedemo.html 建议你看看
大家讲道理2017-04-10 15:21:09
http://ueditor.baidu.com/doc/#UE.Editor:setContent(String)
黄舟2017-04-10 15:21:09
function clearmyedit(){ UE.getEditor('myedit').setContent('', false); } clearmyedit();