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

Function isFocused

packages/editor/src/plugin/editable.ts:338–340  ·  view source on GitHub ↗

* Check if the editor is focused.

(editor: Editor)

Source from the content-addressed store, hash-verified

336 * Check if the editor is focused.
337 */
338 isFocused(editor: Editor): boolean {
339 return Focused.is(editor)
340 },
341
342 /**
343 * Check if the editor is in read-only mode.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…