扫码关注官方订阅号
利用js,添加多个富文本编辑器,当添加第二个的时候,如何把上一个编辑的内容清空,初始化富文本编辑器,使其可以重新录入新内容
http://ueditor.baidu.com/website/onlinedemo.html 建议你看看
http://ueditor.baidu.com/doc/#UE.Editor:setContent(String)
function clearmyedit(){ UE.getEditor('myedit').setContent('', false); } clearmyedit();
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
http://ueditor.baidu.com/website/onlinedemo.html 建议你看看
http://ueditor.baidu.com/doc/#UE.Editor:setContent(String)