use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("<script language=\"javascript\">\ntinyMCE.init({\n\nmode : \"specific_textareas\",\neditor_selector : \"mceEditor\",\ntheme : \"advanced\",\n\ntheme_advanced_path : false,\nremove_linebreaks : false,\nconvert_urls : false,\n\ncleanup : false,\nverify_html : false,\n\nplugins : \"fullpage,table,advhr,advimage,advlink,emotions,insertdatetime,preview,searchreplace,print,contextmenu,filemanager,imagemanager\",\n\ntheme_advanced_buttons1_add : \"fontselect,fontsizeselect\",\ntheme_advanced_buttons2_add : \"separator,insertdate,inserttime,preview,separator,forecolor,backcolor\",\ntheme_advanced_buttons2_add_before: \"cut,copy,paste,separator,search,replace,separator\",\ntheme_advanced_buttons3_add_before : \"tablecontrols,separator\",\ntheme_advanced_buttons3_add : \"iespell,flash,advhr,separator,print\",\ntheme_advanced_toolbar_location : \"bottom\",\ntheme_advanced_toolbar_align : \"center\",\ntheme_advanced_path_location : \"bottom\",\nplugin_insertdate_dateFormat : \"\%Y-\%m-\%d\",\nplugin_insertdate_timeFormat : \"\%H:\%M:\%S\",\nfullpage_fontsizes : \'13px,14px,15px,18pt,xx-large\',\nfullpage_default_xml_pi : false,\nfullpage_default_langcode : \'en\',\nfullpage_default_title : \"My document title\"\n\n});\n</script>\n");}