How to remove tinymce editor buttons from Javascript?
问题 I am using TinyMCE4.3.10 (as part of Wordpress 4.5.4). I create a custom tinymce editor using the code: tinyMCE.execCommand("mceAddEditor", false, captionId); tinyMCE.execCommand('mceAddControl', false, captionId); "captionId" points to a textarea. Editor works fine but I want to remove few buttons. How do I do that ? I am not using tinyMCE.init() -- mainly because I don't know if I should be using it and editors works anyway. I can disable using: tinyMCE.get(captionId).controlManager