I have a page containing one tinymce4 editor instance. I want to initialize this editor with some content, programmatically. I know that I have to call: tinymce.get(\'
tinymce.get(\'
With version 4 you should do it like this:
tinymce.init({selector:'textarea'}); tinymce.activeEditor.setContent('custom');
Here's a fiddle.