Plate Utils
API reference for @udecode/plate-utils.
@udecode/plate-utils
contains utility functions for Plate.
Hooks
useEditorString
useMarkToolbarButtonState
Generates the state for a mark toolbar button.
useMarkToolbarButton
Generates the props for a mark toolbar button using the state created by useMarkToolbarButtonState
.
usePlaceholderState
Generates the state for a placeholder in an editor.
useRemoveNodeButton
Generates props for a button that removes a node from the editor when clicked.