Added 'text' and 'hidden' widgets
This commit is contained in:
parent
ccd9e0a10c
commit
e8dfadc40d
@ -92,10 +92,12 @@ Widgets define the data type and interface for entry fields. Netlify CMS comes w
|
|||||||
Widget | UI | Data Type
|
Widget | UI | Data Type
|
||||||
--- | --- | ---
|
--- | --- | ---
|
||||||
`string` | text input | string
|
`string` | text input | string
|
||||||
|
`text` | text area input | plain text, multiline input
|
||||||
`number` | text input with `+` and `-` buttons | number
|
`number` | text input with `+` and `-` buttons | number
|
||||||
`markdown` | rich text editor with raw option | markdown-formatted string
|
`markdown` | rich text editor with raw option | markdown-formatted string
|
||||||
`datetime` | date picker widget | ISO date string
|
`datetime` | date picker widget | ISO date string
|
||||||
`image` | file picker widget with drag-and-drop | file path saved as string, image uploaded to media folder
|
`image` | file picker widget with drag-and-drop | file path saved as string, image uploaded to media folder
|
||||||
|
`hidden` | No UI | Hidden element, typically only useful with a `default` attribute
|
||||||
|
|
||||||
We’re always adding new widgets, and you can also create your own.
|
We’re always adding new widgets, and you can also create your own.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user