Page tree
Skip to end of metadata
Go to start of metadata

RELEASE 2.11.0 OR ABOVE

Initializes the change or not in the editor body. Using the isDirty() function after calling this function will return false.


Example:

editor.clearDirty();	// dirty flag init

if(!editor.isDirty()) {
	console.log('No changes have been made.');
};
  • No labels