tinyMCE.init({
	       theme:"advanced",
	       mode:"none",
	       plugins: "contextmenu,paste,spellchecker,style",
	       theme_advanced_styles : "Heading 1=mce_header1;Heading 2=mce_header2;Heading 3=mce_header3",
               theme_advanced_toolbar_location: "top",
               theme_advanced_toolbar_align: "left",
               theme_advanced_resizing: true,
               theme_advanced_resize_horizontal: true,
               paste_auto_cleanup_on_paste: true,
	       theme_advanced_statusbar_location : "bottom",
               theme_advanced_buttons1: "formatselect,bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,indent,outdent,separator,bullist,numlist,forecolor,backcolor,separator,link,unlink,image,undo,redo,separator,code,cleanup,removeformat",
               theme_advanced_buttons2: "",
               theme_advanced_buttons3: "",
	       editor_selector: "tinymce",
	       content_css: "/stylesheets/editor.css",
	       convert_newlines_to_brs: false,
//	       cleanup_serializer: 'xml',
//	       encoding: 'xml',
	       entity_encoding: 'raw',
	       debug: true
             });

tinyMCE.init({
	       theme:"advanced",
	       mode:"none",
	       plugins: "contextmenu,paste,spellchecker,style,table",
	       theme_advanced_styles : "Heading 1=mce_header1;Heading 2=mce_header2;Heading 3=mce_header3",
               theme_advanced_toolbar_location: "top",
               theme_advanced_toolbar_align: "left",
               theme_advanced_resizing: true,
               theme_advanced_resize_horizontal: true,
               paste_auto_cleanup_on_paste: true,
	       theme_advanced_statusbar_location : "bottom",
               theme_advanced_buttons1: "formatselect,bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,indent,outdent,separator,bullist,numlist,forecolor,backcolor,separator,link,unlink,image,undo,redo,separator,code,cleanup,removeformat",
               theme_advanced_buttons2: "tablecontrols",
               theme_advanced_buttons3: "",
	       editor_selector: "tinymce",
	       content_css: "/stylesheets/editor.css",
	       convert_newlines_to_brs: false,
//	       cleanup_serializer: 'xml',
//	       encoding: 'xml',
	       entity_encoding: 'raw',
	       debug: true
             });

Enable table controls for WYSIWYG editor
Enable table controls for WYSIWYG editor
