# useMdastNodeUpdater

**Kind:** Function

**Source:** [`atloria-monorepo/packages/editor/src/plugins/core/NestedLexicalEditor.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/plugins/core/NestedLexicalEditor.tsx#L107)

A hook that returns a function that can be used to update the mdast node. Use this in your custom editor components.
