How to get the html code from tinyMCE editor using

2019-09-18 19:10发布

问题:

I am the tinyMCE beginer...

i display the tinyMCE editot in browser and make able to add the style to the textarea content

How to get the html code from tinyMCE editor using Php,Javascript...

回答1:

You may use

tinymce.activeEditor.getContent()

or if you know your editor id

tinymce.get('my_editor_id').getContent();


标签: tinymce