A function that takes any value and produces a diff between that value and the value the node is being compared to.
This can be used to compute a diff optimistically.
This is marked as unstable because the API may need to evolve as we iterate on the advanced version control functionality. It will be stabilised when that project has matured.
Whether the current value is different to the value the node is being compared to.
OptionaleditorA React Ref that can reference the underlying editor instance
OptionalfocusedWhether the node is focused.
The focus path of the form node.
OptionalhideOption to hide the default toolbar
OptionalhotkeysAssign hotkeys that can be attached to custom editing functions
The unique identifier of the node.
OptionalinitialWhether the input is activated and should receive events on mount.
By default, this value is set to true
OptionalinitialWhether the input is initially open in fullscreen mode
The level of the node in the form hierarchy.
OptionalmarkersArray of PortableTextMarker with meta data connected to the content.
OptionalonCustom copy function
OptionalonReturns changes from the underlying editor
OptionalonCustom paste function
The path of the node in the form hierarchy.
OptionalrangeArray of RangeDecoration that can be used to decorate the content.
OptionalreadWhether the node is read-only.
OptionalrenderFunction to render custom block actions
OptionalrenderFunction to render custom markers
The schema type of the node.
The validation markers of the node.
The value of the node.
Component props for the PortableTextInput React component.
Extends ArrayOfObjectsInputProps.