Set textarea value with javascript after TinyMCE initializing

前端 未结 6 669
终归单人心
终归单人心 2021-02-01 14:59

I hava an textarea and I am using tinyMCE on that textarea.

What I am doing actually is that when the page is opened, I am populating the textarea with some text, and af

6条回答
  •  独厮守ぢ
    2021-02-01 16:02

    You can use the tinyMCE.activeEditor.setContent('some html');

    Check this Answer

提交回复
热议问题