Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created February 18, 2021 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/990d49527f653a956080affd2d4d3329 to your computer and use it in GitHub Desktop.
Save bjoerntx/990d49527f653a956080affd2d4d3329 to your computer and use it in GitHub Desktop.
function trackChangesOriginal() {
storeDocumentState();
removeAllChanges(false);
}
function trackChangesNoMarkup() {
storeDocumentState();
removeAllChanges(true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment