On my website I change color of the tab when the changes have not been saved. When the user saves in tinymce editor then I signify that in the tab. I am trigger the tab color change by looking at the ed.on('change') event. However, when I use the command 'ctrl + s' or 'cmd + s'. That change event is still getting triggered. I want a way to show if the editor has unsaved changes by either preventing that change event or something else. I do not know if the editor has a better way to do this. Thanks.
Don't trigger change event on keyboard shortcut
Taoh Asked Sat Oct 01 00:54:43 GMT 2016