Stripped Down Text Editor

Permalink 2 users found helpful
Does anyone know of a stripped down text editor that only allows website editors to choose pre-defined styles and standard elements such as h1-5, p, li, strong, em etc.?

Concrete5's standard text editor is great but from a design perspective I don't really like clients having the ability to choose alternative fonts or make their text pink.

Is there anything out there (perhaps an addon) that can be used to get around this kind of problem?

Any help appreciated.

 
jordanlev replied on at Permalink Best Answer Reply
jordanlev
There is a "markdown" editor addon which provides more basic editing functionality, but it may or may not be suitable for clients.
What you can do, though, is keep the existing editor (TinyMCE) and customize its toolbar to not show so many options. It's kind of tricky to figure out what all the codes are for various toolbar buttons, but if you go to Dashboard -> Sitewide Settings, and in the "Rich Text Editor" section change it to "Custom", then you can configure it. Google "TinyMCE toolbar configuration" or something like that to see how to do it.
randolf21 replied on at Permalink Reply
Hi Jordanlev, I'll check out that addon. I was considering hiding some of the buttons via Javascript but editing the actual text editor sounds like the proper way of doing things.

Thanks for the advice.
randolf21 replied on at Permalink Reply
Just successfully edited the TinyMc code. It now has only the essentials; h1-5,p,ul,strong,em etc. and most importantly prevents clients changing fonts and colours etc.

Code below if anyone else needs it.

theme : "concrete", 
plugins: "inlinepopups,spellchecker,safari,advlink",
editor_selector : "ccm-advanced-editor",
spellchecker_languages : "+English=en",   
theme_concrete_buttons1 : "bold,italic,|,styleselect,formatselect",
theme_concrete_buttons2 : "bullist,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
theme_concrete_blockformats : "p,h1,h2,h3",
theme_concrete_toolbar_align : "left",
theme_concrete_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
theme_concrete_font_sizes : "1,2,3,4,5,6,7",
theme_concrete_styles: "Note=ccm-note",
spellchecker_languages : "+English=en"
/*
// Use the advanced theme for more than two rows of content
plugins: "inlinepopups,spellchecker,safari,advlink,table,advhr,xhtmlxtras,emotions,insertdatetime,paste,visualchars,nonbreaking,pagebreak,style",