MCPcopy Create free account
hub / github.com/editablejs/editable / useNodeFocused

Function useNodeFocused

packages/editor/src/hooks/use-node-focused.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 * Get the current `focused` state of an element.
7 */
8export const useNodeFocused = (): boolean => {
9 return React.useContext(NodeFocusedContext)
10}

Callers 8

useGridSelectionFunction · 0.90
link.tsxFile · 0.90
image.tsxFile · 0.90
HrPopoverFunction · 0.90
HrComponentFunction · 0.90
TableComponentFunction · 0.90
CodeBlockComponentFunction · 0.90
CodeBlockPopoverFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…