Jump to content

Extension:ColorizerToolVe

From mediawiki.org
(Redirected from Extension:ColorizerToolVE)
MediaWiki extensions manual
ColorizerToolVe
Release status: beta
Description The ColorizerToolVE extension adds buttons to change text and background colors in VisualEditor.
Author(s) Urfiner (Nikolai Kochkin)
Latest version 0.1.1
MediaWiki 1.43
Licence MIT License
Download

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

You can find a demo here.

Please use github issues for leaving feedback, reporting issues and requesting features. I may miss your message on the Discussions tab

Installation

[edit]
  • Download and place the file(s) in a directory called ColorizerToolVe in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ColorizerToolVe' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]

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

[edit]

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: