Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
mountSlotContainer
function
function mountSlotContainer(editor: LexicalEditor, nodeKey: NodeKey, slotName: string, target: HTMLElement): HTMLElement | null
Import
import { mountSlotContainer } from '@modular/sdk/editor';
Notes
returns
the container, or null when the slot (or its DOM) does not exist yet — e.g. before the host's first reconciliation.