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

Interface CapturedData

packages/plugins/toolbar/src/side/weak-map.ts:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { Editable } from '@editablejs/editor'
3
4interface CapturedData {
5 selection: Range
6 path: Path
7 element: Element
8 isEmpty: boolean
9 isVoid: boolean
10}
11
12const SIDETOOLBAR_CAPTURED_DATA_WEAK_MAP = new WeakMap<Editable, CapturedData>()
13

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…