I want to remove the Edit HTML Source button from the CMS before I hand it over to a client (don't particularly want them pasting in random bits and pieces and things like that).
I've tried HtmlEditorConfig::get('cms')->removeButtons('advcode'); as per http://archive.ssbits.com/customising-the-wysywig-editor-in-v2-3-2-tinymce/ but the button doesn't disappear from the editor. Am I missing something? Any tips on the best way to customise TinyMCE this way?
Just to let you know this worked fine for me (2.4.x) - but it didn't seem to at first, but after placing a debug point to see what was going on - it started working - strange. As a last, last, last resort you could just remove the 'advcode' from the code that intialises it (and also teh cms/_config.php that removes/adds it)