useEditorPortalHost

See source code

The DOM node that EditorPortal renders into: an empty display: contents element the editor renders last among its container's children, after the canvas and after the UI.

Null until the container has mounted, so prefer EditorPortal, which handles that for you.

function useEditorPortalHost(): HTMLElement | null;
Prev
useEditorComponents
Next
useGlobalMenuIsOpen