StateFieldSpec.create method
StateFieldSpec › create
Creates the initial value for the field when a state is created.Signature:
create(state: EditorState): ValueParameters:
| Parameter | Type | Description |
|---|---|---|
| state | EditorState | The state to create the value for. |
Returns: Value — The initial value for the field.