How to get the content of a Tinymce textarea with JavaScript

后端 未结 10 2119
忘掉有多难
忘掉有多难 2020-12-02 20:08

i have an array of content then how we get content of Tinymce textarea in javascript

10条回答
  •  不知归路
    2020-12-02 20:28

    If you are more familiar with (and are using the jquery wrapper), you can also do this using this:

    $('#editor1').tinymce().getContent();
    

    Where (editor1) is your selector.

提交回复
热议问题