Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
8
export
const
useNodeFocused = (): boolean => {
9
return
React.useContext(NodeFocusedContext)
10
}
Callers
8
useGridSelection
Function · 0.90
link.tsx
File · 0.90
image.tsx
File · 0.90
HrPopover
Function · 0.90
HrComponent
Function · 0.90
TableComponent
Function · 0.90
CodeBlockComponent
Function · 0.90
CodeBlockPopover
Function · 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…