This option:
|
/// Set to false to disable the history plugin. |
|
history?: boolean |
The result is that the buttons and the key combinations do nothing.
Menu items are added here:
|
r.fullMenu = r.inlineMenu.concat([[r.insertMenu, r.typeMenu]], [[undoItem, redoItem]], r.blockMenu) |
Key bindings are added here:
|
bind("Mod-z", undo) |
|
bind("Shift-Mod-z", redo) |
The history option was added in 1b9adcb
This option:
prosemirror-example-setup/src/index.ts
Lines 52 to 53 in c3ac29c
The result is that the buttons and the key combinations do nothing.
Menu items are added here:
prosemirror-example-setup/src/menu.ts
Line 238 in c3ac29c
Key bindings are added here:
prosemirror-example-setup/src/keymap.ts
Lines 49 to 50 in c3ac29c
The
historyoption was added in 1b9adcb