Skip to content

useMark

function useMark(): MarkNode;

Defined in: react/markput/src/lib/hooks/useMark.tsx:11

The live mark node for the surrounding mark token context (spec Β§2.3) β€” a context READ since S2.8. It used to be store.tokens.markFor(token), a lookup FROM the render projection BACK to the node behind it; with the projection gone the context carries the node itself.

MarkNode