How to programatically select all text inside a TinyMCE editor

Posted by Edan Maor on Stack Overflow See other posts from Stack Overflow or by Edan Maor
Published on 2010-04-27T16:44:17Z Indexed on 2010/04/27 17:13 UTC
Read the original article Hit count: 313

Filed under:
|
|
|

I'm looking for a way to programatically select all the content inside a TinyMCE editor instance.

The reason I need this is that I'd like it if all the text inside the editor was selected, as soon as someone clicks on it (I'm using TinyMCE in conjunction with JEditable, by the way).

Thanks,
Edan

© Stack Overflow or respective owner

Related posts about tinymce

Related posts about JavaScript