Skip to content

getFocusBlockObject

const getFocusBlockObject: EditorSelector<{ node: PortableTextObject; path: BlockPath; } | undefined>

Defined in: selector.get-focus-block-object.ts:17

Returns the void block object containing the focus selection, resolved at any depth.

Excludes text blocks and editable containers (which have their own children and are not “void”). When the focus is at root, behavior is unchanged.