JavaScript: Avoid flickering and visual updates by grouping undo steps
Published on July 25, 2022 by Bjoern Meyer.
The JavaScript API can be used to group several steps into one undo action that can be undone with a single undo call. Additionally, those groups are visually updated at once to avoid screen flickering when updating larger portions of a document.