diff --git a/docs/libraries/slate-history/history-editor.md b/docs/libraries/slate-history/history-editor.md index 425f76f4f3..304931b9c0 100644 --- a/docs/libraries/slate-history/history-editor.md +++ b/docs/libraries/slate-history/history-editor.md @@ -39,6 +39,11 @@ Undo to the previous saved state. ### Merging and Saving +#### `HistoryEditor.withMerging(editor: HistoryEditor, fn: () => void): void` + +Apply a series of changes inside a synchronous `fn`, These operations will +be merged into the previous history. + #### `HistoryEditor.withoutMerging(editor: HistoryEditor, fn: () => void): void` Apply a series of changes inside a synchronous `fn`, without merging any of