@platejs/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
.
useRemoveNodeButton
Generates props for a button that removes a node from the editor when clicked.