php - 百度编辑器Ueditor如何初始化内容
巴扎黑
巴扎黑 2017-04-10 15:19:09
0
3
438

利用js,添加多个富文本编辑器,当添加第二个的时候,如何把上一个编辑的内容清空,初始化富文本编辑器,使其可以重新录入新内容

巴扎黑
巴扎黑

Antworte allen(3)
Peter_Zhu

http://ueditor.baidu.com/website/onlinedemo.html 建议你看看

大家讲道理

http://ueditor.baidu.com/doc/#UE.Editor:setContent(String)

黄舟
function clearmyedit(){
    UE.getEditor('myedit').setContent('', false);
}
clearmyedit();
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage