You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
364 B
18 lines
364 B
|
3 years ago
|
An implementation of an undo/redo history for ProseMirror. This
|
||
|
|
history is _selective_, meaning it does not just roll back to a
|
||
|
|
previous state but can undo some changes while keeping other, later
|
||
|
|
changes intact. (This is necessary for collaborative editing, and
|
||
|
|
comes up in other situations as well.)
|
||
|
|
|
||
|
|
@history
|
||
|
|
|
||
|
|
@undo
|
||
|
|
|
||
|
|
@redo
|
||
|
|
|
||
|
|
@undoDepth
|
||
|
|
|
||
|
|
@redoDepth
|
||
|
|
|
||
|
|
@closeHistory
|