-
Notifications
You must be signed in to change notification settings - Fork 2
Home
The Configurable Color Picker provides an easy-to-use color picker for Episerver—which allows full configurability of the color palette.
Version 2 added the ability to name palettes and use these throughout the website, as such, configuration and usage changed significantly. Please consult with the version 2 documentation for full details.
Important: If upgrading from Color Picker v1 then there are several important breaking changes you should be aware of:
-
You no longer need to use UIHint or BackingType attributes. You should now only decorate the property using the ColorPickerAttribute (
DoubleJay.Epi.ConfigurableColorPicker.Infrastructure
).Your property should now look like this:
[ColorPicker] public virtual IColor Color { get; set; }
More details are available in the Usage section of the documentation.
-
If using multi-tenant functionality (i.e. a different palette per host) then please be aware that the config structure has changed. Please refer to the Configuring the Palette Based on the Site section in the documentation for details.
-
Automatic fallbacks are no longer required and the config structure has also been revised. Consequently, config changes will be necessary if using fallbacks.
Again, this is covered in the documentation—please see Assigning a Fallback Palette.