I have logic that uses editor.IsDirty() to determine whether to auto-save user updates.
If IsDirty() returns 'true' then I use client-script to grab the editor text and save it to the server.
I would like a way to then cause editor.IsDirty() to return false (because the changes have been saved). I was looking for something like editor.SetClean(), but found nothing. Is there a way I can use client-side script to cause editor.IsDirty() to return false?
Thanks.