Remove Rich Text Buttons from Message Compose
-
Have tried ‘tinymce => false’ in wp_editor in js-templates/messages/index.php
but when this is disabled the messages do not send on clicking send.
Also tried user_can_richedit to false. But same issue, clicking send doesn’t do anything.
Console: Error
buddypress-messages.min.js?ver=5.0.0:1 Uncaught ReferenceError: tinyMCE is not defined
at N.d.<anonymous> (buddypress-messages.min.js?ver=5.0.0:1)
at underscore.min.js?ver=1.8.3:1
at Function.s.each.s.forEach (underscore.min.js?ver=1.8.3:1)
at N.d.sendMessage (buddypress-messages.min.js?ver=5.0.0:1)
at HTMLFormElement.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLFormElement.r.handle (jquery.js?ver=1.12.4-wp:3)Just want to remove all visual editor buttons whereever they appear
- You must be logged in to reply to this topic.