Skip to Content

Usage

The plugin has no buttons or UI of its own. It only makes three TinyMCE core formatting controls available in the editor:

ControlTinyMCE commandDescription
Text colorforecolorForeground color of selected text
Background colorbackcolorHighlight / background color of selected text
Font sizefontsizeinputFont size of selected text
Font familyfontfamilyFont family of selected text

Where The Controls Appear

On every TinyMCE editor instance the plugin’s configuration handler:

  • Adds forecolor, backcolor, fontsizeinput, fontfamily to the formatting toolbar group.
  • Adds forecolor backcolor fontsizeinput fontfamily to the Format menu, after codeformat.

The forecolor and backcolor pickers use TinyMCE’s native color pickers, not a custom palette.

Pitfalls

You shouldn’t really be using this plugin, unless you really want to.

Explained in this discussion , accessibility and theming issues will arise if you use this plugin.

Also see this Jira issue: MDL-76517 , which proposes adding these features to Moodle core reducing risks.