XF 1.3 Remove color/formatting in posts?

Zeta

Member
How can I remove colors and formatting in threads/posts? My users are putting color and bold/italics in every post...You can imagine how annoying this is.

Thanks!
 
Here are instructions to remove the buttons in the toolbar.

/js/xenforo/full/bb_code_edit.js

Comment out unwanted buttons using the /* ... */

Starting on line #64

Code:
		getButtonConfig: function()
		{
			var self = this,
				buttons = [ ['switchmode'], ['removeformat']],
				bC = this.options.buttonConfig,
				group;

			if (!bC || bC.basic)
			{
				buttons.push(['bold', 'italic', 'underline'/*, 'deleted'*/]);
			}
			/*if (!bC || bC.extended)
			{
				buttons.push(['fontcolor', 'fontsize', 'fontfamily']);
			}*/
			if (!bC || bC.link)
			{
				buttons.push(['createlink', 'unlink']);
			}
			/*if (!bC || bC.align)
			{
				buttons.push(['alignment']);
			}*/
			if (!bC || bC.list)
			{
				buttons.push(['unorderedlist', 'orderedlist'/*, 'outdent', 'indent'*/]);
			}
			else if (bC.indent)
			{
				buttons.push(['outdent', 'indent']);
			}
 
Back
Top Bottom