By Annika on
Hi,
I've just installed TinytinyMCE and configured the advance mode, basically just slimmed it down.
However, despite having removed a lot of the buttons AND the rows in the TinyMCE init script for advanced mode, three still show up on two different rows: "Undo", "redo", and "insert custom character" - the two bottom rows shouldn't show up at all. (see screenshot).
I'm not really good with js so I might have missed removing something, but here is the TinyMCE init script for advanced mode right now:
tinyMCE.init({
mode : "exact",
file_browser_callback: "imceImageBrowser",
init_instance_callback : "resizeEditorBox",
theme : "advanced",
convert_urls : false,
plugins : "safari,pagebreak,style,table,save,advhr,advimage,advlink,iespell,insertdatetime,media,contextmenu,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,|,outdent,indent,|,link,unlink,anchor,image,cleanup,help,code, |, tablecontrols,|,hr,removeformat,visualaid,|,sub,sup, styleprops,|,cite,del,ins, |,visualchars,nonbreaking,blockquote,",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
extended_valid_elements : "a[name|href|target|title|onclick],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
template_external_list_url : "example_template_list.js",
content_css: "/path/to/your/sites/stylesheet.css" // change this to suit your site - classes associated with divs (eg div.mystyle) will appear in the style dropdown
});
If anyone knows how I can get those two bottom rows to go away, please let me know!
/ Ayza