Composition / foldkit-composition/foldkit

Editing

interface · packages/composition/src/foldkit/index.ts:47

interface Editing {
  readonly id: NodeId
  readonly key: string
  readonly initial: string
}

The text prop an editor is editing in place, and its text when editing began: the field is drawn with that text until editing ends, so a redraw while the author types never rewrites the element under the caret.

Members

Editing.id

property · packages/composition/src/foldkit/index.ts:48

readonly id: NodeId

Editing.key

property · packages/composition/src/foldkit/index.ts:49

readonly key: string

Editing.initial

property · packages/composition/src/foldkit/index.ts:50

readonly initial: string