Hello,
I'm using this lightweight jQuery plugin to create a rich-text editor:Batiste RTE jQuery Plugin
As part of a more complex form, I have the functionality of clearing changes and I want to be able to do this for the editor as well.
I keep the initial content in a variable, and I want to do something like:
setContent(INITIAL_CONTENT), but I can't find a way to access the RTE object because
$("textarea").rte(some-options-here)
returns the textarea
object rather than the rte
object.
Any idea on how to make this happen?