feat(widget-color): add color widget (#4437)

This commit is contained in:
Felix Böttcher
2020-10-25 18:47:35 +01:00
committed by GitHub
parent f3a8eac816
commit fed0e82dd3
12 changed files with 324 additions and 1 deletions

View File

@ -119,6 +119,14 @@ collections: # A list of collections the CMS should be able to edit
- { label: 'Markdown', name: 'markdown', widget: 'markdown' }
- { label: 'Datetime', name: 'datetime', widget: 'datetime' }
- { label: 'Date', name: 'date', widget: 'date' }
- { label: 'Color', name: 'color', widget: 'color' }
- {
label: 'Color string editable and alpha enabled',
name: 'colorEditable',
widget: 'color',
enableAlpha: true,
allowInput: true,
}
- { label: 'Image', name: 'image', widget: 'image' }
- { label: 'File', name: 'file', widget: 'file' }
- { label: 'Select', name: 'select', widget: 'select', options: ['a', 'b', 'c'] }