Is there a way in TinyMCE to disable the “edit html” button? I’m overwhelmed by the config options and can’t seem to find it. I noticed users can use that to place javascript in their field which I do not want. By the way I am using this gem – https://github.com/spohlenz/tinymce-rails
Share
Use
theme_advanced_disable: "code"when you initialise the tinymce object.EDIT – didn’t see you were using the rails version, sorry. This will remove the button in plain javascript.