@lexical/history 0.34.1-nightly.20250904.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ History package handles `UNDO_COMMAND`, `REDO_COMMAND` and `CLEAR_HISTORY_COMMAN
|
|
|
26
26
|
import {UNDO_COMMAND, REDO_COMMAND} from 'lexical';
|
|
27
27
|
|
|
28
28
|
<Toolbar>
|
|
29
|
-
<Button onClick={() => editor.dispatchCommand(UNDO_COMMAND)}>Undo</Button>
|
|
30
|
-
<Button onClick={() => editor.dispatchCommand(REDO_COMMAND)}>Redo</Button>
|
|
29
|
+
<Button onClick={() => editor.dispatchCommand(UNDO_COMMAND, undefined)}>Undo</Button>
|
|
30
|
+
<Button onClick={() => editor.dispatchCommand(REDO_COMMAND, undefined)}>Redo</Button>
|
|
31
31
|
</Toolbar>;
|
|
32
32
|
```
|
package/package.json
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"history"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.35.0",
|
|
12
12
|
"main": "LexicalHistory.js",
|
|
13
13
|
"types": "index.d.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lexical/utils": "0.
|
|
16
|
-
"lexical": "0.
|
|
15
|
+
"@lexical/utils": "0.35.0",
|
|
16
|
+
"lexical": "0.35.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|