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

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