Extension:ColorizerToolVE

Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
ColorizerToolVE
Release status: betaCategory:Beta status extensions
Description The ColorizerToolVE extension adds buttons to change text and background colors in VisualEditor.
Author(s) Urfiner (Nikolai Kochkin)
Latest version 0.1.0
MediaWiki 1.43Category:Extensions with manual MediaWiki version
License MIT License
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

The ColorizerToolVE extension adds buttons to change text, text background and table cell colors in VisualEditor.

You can find a demo here.

Installation

To install the extension:

  1. Clone the repository to your extensions/ subfolder: git clone https://github.com/Griboedow/ColorizerToolVE.git
  2. Load the extension in your LocalSettings.php: wfLoadExtension( 'ColorizerToolVE' );

Configuration

There are 2 configuration parameters to configure pre-defined list of colors (for text and for background).

$wgColorizerToolVEColorPickerTextColors = [ "#68349A", "#B02418", "#EA3323" ];
$wgColorizerToolVEColorPickerBackgroundColors = [ "#DF4532", "#F0918E", "#67ABE5" ];

Usage

Go to text style button group > more. Here you can find 2 buttons to change text and background colors. The last one also changes color for table cells:

Once you click any of them, you will be able to select a color:

Category:All extensions Category:Beta status extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with invalid or missing type Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:ResourceLoaderGetConfigVars extensions