StateFieldSpec.toJSON?
StateFieldSpec › toJSON?
Type: (value: Value, state: EditorState) => unknown
A function used to serialize this field's content to JSON. Only necessary when this field is included in the argument toEditorState.toJSON.StateFieldSpec › toJSON?
Type: (value: Value, state: EditorState) => unknown
A function used to serialize this field's content to JSON. Only necessary when this field is included in the argument toEditorState.toJSON.