Open barnettwilliam opened 8 months ago
I think this may actually be tricky with ACE, as it doesn't seem to expose an easy event for this. We can use editor-level change
events to enable undo buttons, but the undo manager doesn't expose any events on reset or mark clean...
The save button should be disabled and the icon greyed out when all panels are in a clean state i.e. there are no modifications to the panels contents to save, it should be enabled when a panel is in a dirty state - as suggested https://github.com/mdenet/educationplatform/pull/148#pullrequestreview-1774921175