Merge pull request #557 from tonny008/patch-1

fix comment in doc
This commit is contained in:
Kevin Jahns 2023-11-20 12:28:12 +01:00 committed by GitHub
commit b32f5434f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1072,7 +1072,7 @@ doc.transact(() => {
ytext.insert(0, 'abc')
}, 41)
undoManager.undo()
ytext.toString() // => '' (not tracked because 41 is not an instance of
ytext.toString() // => 'abc' (not tracked because 41 is not an instance of
// `trackedTransactionorigins`)
ytext.delete(0, 3) // revert change