Source: http://code.google.com/p/lwrte/
Example:
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Title> A Light weight RTE jQuery Plugin </title>
<Link type = "text/css" rel = "stylesheet" href = "jquery.rte.css"/>
<Script type = "text/javascript" src = "jquery. js"> </script>
<Script type = "text/javascript" src = "jquery. rte. js"> </script>
<Script type = "text/javascript" src = "jquery. rte. tb. js"> </script>
<Script type = "text/javascript" src = "jquery. ocupload-1.1.4.js"> </script>
<Script type = "text/javascript">
$ (Document). ready (function (){
Var arr = $ ('. rte1'). rte ({
Css: ['default.css '],
Width: 500,
Height: 300,
Controls_rte: rte_toolbar,
Controls_html: html_toolbar
});
$ ("# Save"). click (function (){
Var test = arr ['test']. get_content ();
Alert (test );
})
});
</Script>
</Head>
<Body>
<Textarea name = "test" id = "test" class = "rte1"> </textarea>
<Input id = "save" type = "button" value = "test"/>
</Form>
</Div>
</Body>
</Html>