Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi!
I’m working actually with SiteOrigin. I’m looking for remove the HTML tab from tinymce editor. Actually i was looking to this link: https://siteorigin.com/docs/widgets-bundle/form-building/form-fields/#heading-tinymce
The thing is that, i don’t know what i should use in the next code:
... 'quicktags_settings' => array( $this, 'filter_quicktags_settings' ) ...
How can i pass the information needed for removing completely the HTML editor tab or, at least, all tags?
Thanks so much in advance!
Hi Andres,
Just to clarify, is this for a widget you’re creating or is this a general request (as in you’re not creating a widget)?
Hi Alex!:
Yes, we’re doing a widget bundle for customize administration widget panels for ease the work for non programmer people. Just to clarify:
1. We’ve enabled a tinymce editor in order to contribute a header title and so on
2. Then, the functions related to ‘mce_buttons’ and ‘mce_buttons_2’ are the next ones:
So the next thing i wanna do, is disabling HTML tab from tinymce editor, to restrict the use of the editor and forbid the feature in order to edit with HTML tags. I’ve seen how to do it through CSS, (with display:none), but this solution is really dirty as well as less optimized compared to not render the tab at all. Any recommendation?
Thanks so much in advance!
I’ve got the same problem. Trying to use a function like classic WP filter, but nothings happen.
I found only one way, to globally destroy html editor in whole web-site.