Extension: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 | GitHub: Note: |
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:
- Clone the repository to your extensions/ subfolder:
git clone https://github.com/Griboedow/ColorizerToolVE.git
- 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