Answers for "tinymce get editor content"

0

tinymce extract value

// Get the HTML contents of the currently active editor
tinyMCE.activeEditor.getContent();

// Get the raw contents of the currently active editor
tinyMCE.activeEditor.getContent({format : 'raw'});

// Get content of a specific editor:
tinyMCE.get('content id').getContent()
Posted by: Guest on June-15-2020
0

get only content from tiny mce

var myContent = tinymce.get("#myTextarea").getContent({ format: "text" });
Posted by: Guest on July-26-2020

Browse Popular Code Answers by Language