It's better when it's simple

User Tools

Site Tools


Struct PluginTypes

Struct Plugin: Type Color

The Color type stores a color as RGB hex value. This type is probably not very useful on it's own but can be used by other plugins.

The editor relies on the input[type=color] feature in modern HTML. On browsers not supporting it (Internet Explorer) a simple text field will be displayed.


The following configuration is available in addition to the basic type configuration:

Config Format Description
default string The default color. This color will not be saved - it's considered to be an empty selection. Defaults to #ffffff (white)
plugin/struct/type_color.txt · Last modified: 2016-11-17 16:18 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki