From 923fc6e06eea467ad0c2bb7e95d547799b0e7c16 Mon Sep 17 00:00:00 2001 From: regischen Date: Thu, 25 Aug 2022 17:35:24 +0800 Subject: [PATCH] fix typo --- src/utils/UndoManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/UndoManager.js b/src/utils/UndoManager.js index c53924a1..fcfa9e0e 100644 --- a/src/utils/UndoManager.js +++ b/src/utils/UndoManager.js @@ -134,7 +134,7 @@ const popStackItem = (undoManager, stack, eventType) => { * @property {number} [UndoManagerOptions.captureTimeout=500] * @property {function(Transaction):boolean} [UndoManagerOptions.captureTransaction] Do not capture changes of a Transaction if result false. * @property {function(Item):boolean} [UndoManagerOptions.deleteFilter=()=>true] Sometimes - * it is necessary to filter whan an Undo/Redo operation can delete. If this + * it is necessary to filter what an Undo/Redo operation can delete. If this * filter returns false, the type/item won't be deleted even it is in the * undo/redo scope. * @property {Set} [UndoManagerOptions.trackedOrigins=new Set([null])]