Skip to content

StateFieldSpec.create method

StateFieldSpec › create

Unofficial

Create the initial value for this field.

Signature:

create(state: EditorState): Value

Parameters:

Parameter Type Description
state EditorState The editor state.

Returns: ValueThe initial value.