How to select the contents in the text view textrea in wp_editor?
The TinyMCE editor have functions in his API to get the content of the editor. To get all content of selection use the follow source: tinyMCE.activeEditor.selection.getContent(); WordPress have since 4.3 a lot fo changes on the editor. Use always the API 4 for find the right functions in the documentation page. Here for documentation about … Read more