RELEASE 2.11.0 OR ABOVE
Check the editor body for any changes.
Return:
| Type | Description |
|---|---|
| Boolean | Returns true if any changes have been made. |
Example:
if(editor.isDirty()) {
console.log('There are changes.');
};
Check the editor body for any changes.
Return:
| Type | Description |
|---|---|
| Boolean | Returns true if any changes have been made. |
Example:
if(editor.isDirty()) {
console.log('There are changes.');
};