Dojo Widgets

imRichEditor - Advanced Mode

The following example displays the Dojo imRichEditor Widget using TinyMCE's Full featured Mode, which is the default for the widget. I also set the skin_variant option to black. In advanced mode, you can also use the content_css option to style the content using a specific CSS file.

dojo.addOnLoad(function() {
	var txt = '<h2 id="demo_headerText">Discover How To Quit Your Job And Work From Home As An Affiliate Marketer</h2>';
	var ta = new im.RichEditor({editorNode: "tAreas", skin_variant:"", content_css:"squeeze/styles.css", value: txt}, 'tEditor');
});		

View the source for this page to view how I setup up the widget. For documentation about the Dojo imRichEditor Widget, view my blog post.