Skip to content

EditorMountHook

Hook called when an editor host is mounted. Returning a function registers a teardown that runs when the editor is released.

type EditorMountHook = (ctx: object) => () => void | void
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt