What is the correct method to remove buttons from tinyMCE?

TrevC

Well-known member
Licensed customer
As the title states.

I've been poking around the documentation and templates. No luck so far. Might be quicker to just ask.

I've like to remove font-family/font-size.

Cheers
 
Where is editor_template.js located, relative to XenForo root? I'd like to play with that to (attempt to) create custom toolbars, according to TinyMCE's documentation.
 
I had no idea tinyMCE was so... large.

I was able to just hide everything via styles. Seems (in my opinion) a bit cleaner since the changes stay with my theme.

Hide the font selector:
Code:
#ctrl_message_html_fontselect{display: none;}
 
I had no idea tinyMCE was so... large.

I was able to just hide everything via styles. Seems (in my opinion) a bit cleaner since the changes stay with my theme.

Hide the font selector:
Code:
#ctrl_message_html_fontselect{display: none;}

Where did you put this? I tried extra.css and the font selector still shows...
 
I assumed extra.css would've worked.

Have you tried:
Code:
#ctrl_message_html_fontselect{display: none !important;}

All of my styles are in an external stylesheet (on the file system).
 
This is a copy/paste from mine:
HTML:
#ctrl_message_html_fontselect, #ctrl_message_html_fontsizeselect_text, #ctrl_message_html_fontsizeselect_open{display: none;}

I thought extra.css was loaded last, so it should work.
 
Back
Top Bottom