StateFieldSpec.create method
StateFieldSpec › create
Unofficial
Create the initial value for this field.Signature:
create(state: EditorState): ValueParameters:
| Parameter | Type | Description |
|---|---|---|
| state | EditorState | The editor state. |
Returns: Value — The initial value.