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

Function focus

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

* Focus the editor.

(editor: Editable)

Source from the content-addressed store, hash-verified

359 * Focus the editor.
360 */
361 focus(editor: Editable): void {
362 editor.focus()
363 },
364
365 deselect(editor: Editor): void {
366 const { selection } = editor

Callers

nothing calls this directly

Calls 1

focusMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…