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

Unmaintained disable text colour-formatting in editor 1.1.2

remove chromes pasting of colours into the tinymce editor

  1. dieketzer
    Compatible XF Versions:
    • 1.0
    • 1.1
    • 1.2
    xf 1.0 - 1.1.2

    due to chrome pasting issues (pasting colour-formatted text), and the fact that i have both a light and dark style available, text colour formatting is problematic. as a result i have elected to completely disable all colour functionality from tinyMCE.
    • pasted colour-formatting will be stripped when posted
    • colour-format button will not be visible
    • manually entered [color] tags will silently fail
    • code colour-formatting is unaffected (syntax highlighting)
    • the effect is not retroactive
    unfortunately this requires several code modifications to the php files. i have made the necessary edits and included them in the attached zip.
    to install, unzip and upload.
    to revert, upload the original files from your xenforo install zip.

    files affected:
    nukedi likes this.

Recent Reviews

  1. nukedi
    Version: 1.1.2
    Thank you, i am using this on my forum
  2. bashy
    Version: 1.1.2
    Nice mod but needs more info on what parts are changed/removed, trying to find what's been edited but finding it hard.
    1. dieketzer
      Author's Response
      thats why it was released as pre-edited php files. it was too hard to list all the edits made over multiple files.