DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_color

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.

Configuration

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