1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Remove color/formatting in posts?

Discussion in 'XenForo Questions and Support' started by Zeta, Jan 22, 2014.

  1. Zeta

    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.

  2. cclaerhout

    cclaerhout Well-Known Member

    Check this.
    RoldanLT likes this.
  3. AndyB

    AndyB Well-Known Member

    Here are instructions to remove the buttons in the toolbar.


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

    Starting on line #64

    		getButtonConfig: function()
    			var self = this,
    				buttons = [ ['switchmode'], ['removeformat']],
    				bC = this.options.buttonConfig,
    			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)
    			if (!bC || bC.list)
    				buttons.push(['unorderedlist', 'orderedlist'/*, 'outdent', 'indent'*/]);
    			else if (bC.indent)
    				buttons.push(['outdent', 'indent']);

Share This Page