# insertDirectiveBlock$

**Kind:** Constant

**Source:** [`atloria-monorepo/packages/editor/src/plugins/slash-menu/index.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/plugins/slash-menu/index.tsx#L207)

Inserts a directive block from a full mdast payload (unlike `insertDirective$`,
which only takes `type`/`name`/`attributes`, this seeds children too).
