Retrieving content with javascript.

10 views
Skip to first unread message

Jay

unread,
Dec 27, 2010, 7:14:41 PM12/27/10
to tinymce_hammer
Using tinymce hammer I'm trying to get the current contents of my
editor with javascript. (Think of creating a preview dialog). I have
a page with 3 tiny mce forms on it. What's the best way to retrieve
hte content?

Should I access the editors and call getContent?

Jay

Trevor Rowe

unread,
Dec 27, 2010, 10:50:50 PM12/27/10
to tinymce...@googlegroups.com
The best way is as you noted to use TinyMCE's built in JavaScript methods for getting content.


--
You received this message because you are subscribed to the Google Groups "tinymce_hammer" group.
To post to this group, send email to tinymce...@googlegroups.com.
To unsubscribe from this group, send email to tinymce_hamme...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tinymce_hammer?hl=en.


Jay McGaffigan

unread,
Dec 27, 2010, 11:48:23 PM12/27/10
to tinymce...@googlegroups.com
thanks! That did the trick. (I should have tried before I posted :P sorry
Reply all
Reply to author
Forward
0 new messages