Skip to content

Commit 28835f9

Browse files
committed
Add info about undo and redo in annotate
1 parent 1846e28 commit 28835f9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/src/modules/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ editor.annotate(
270270
],
271271
["obsolete-field-id"]
272272
)
273+
274+
// If you want to undo the annotation
275+
editor.commands.undo()
276+
277+
// You can also redo it
278+
editor.commands.redo()
279+
273280
```
274281

275282
## Exporting after annotate()

0 commit comments

Comments
 (0)