useMdastNodeUpdater() function
A hook that returns a function that can be used to update the mdast node. Use this in your custom editor components.
Signature:
export declare function useMdastNodeUpdater<T extends Mdast.Content>(): (node: Partial<T>) => void;
Returns:
(node: Partial<T>) => void