How to extract HTML content from TinyMCE Editor

后端 未结 4 899
情歌与酒
情歌与酒 2020-12-31 03:02

I\'m a beginner on Javascript/TinyMCE and I try to understand how is it possible to get the HTML content from the editor, and show it with a simple alert() function.

<
4条回答
  •  囚心锁ツ
    2020-12-31 03:34

    Maybe it's the case? Your variable is tinyMCE, but you are calling getContent() on tinymce. JS is case sensitive ;)

提交回复
热议问题