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

Function undo

packages/plugins/yjs/src/plugin/with-history.ts:35–37  ·  view source on GitHub ↗
(editor: Editor)

Source from the content-addressed store, hash-verified

33 },
34
35 undo(editor: Editor) {
36 withHistoryProtocol(editor).undo()
37 },
38
39 redo(editor: Editor) {
40 withHistoryProtocol(editor).redo()

Callers 1

withYHistoryFunction · 0.70

Calls 2

withHistoryProtocolFunction · 0.90
undoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…