recherche

Maison  >  Questions et réponses  >  le corps du texte

php - 百度编辑器Ueditor如何初始化内容

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

巴扎黑巴扎黑2897 Il y a quelques jours434

répondre à tous(3)je répondrai

  • 天蓬老师

    天蓬老师2017-04-10 15:21:09

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

    répondre
    0
  • 大家讲道理

    大家讲道理2017-04-10 15:21:09

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

    répondre
    0
  • 黄舟

    黄舟2017-04-10 15:21:09

    function clearmyedit(){
        UE.getEditor('myedit').setContent('', false);
    }
    clearmyedit();
    

    répondre
    0
  • Annulerrépondre