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

谁都会走 提交于 2020-01-07 08:34:33

问题


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();


来源:https://stackoverflow.com/questions/11503320/how-to-get-the-html-code-from-tinymce-editor-using-php-javascript

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!