You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there any kinds of Best Practices regarding saving in regards to the following?
How do most people handle saving? Toolbar button, separate button, AutoSave, blur, key event, or something else?
I added a Save button on the toolbar which works fine, but my concern is the average user forgetting to save. So I change the background color of the Save button to red when they make a change. It works up to a point.
I've implemented a very crude isDirty check by listening to the key events and comparing the initially loaded content with the current content. The problem is that the key events don't detect pasting.
I've tried the nodeChanged event but I can be typing away and the event never fires until I hit the enter key.
Maybe I'm asking too much from this control and should just drop the idea of a Save reminder and let the user suffer consequences of their mistake.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Are there any kinds of Best Practices regarding saving in regards to the following?
How do most people handle saving? Toolbar button, separate button, AutoSave, blur, key event, or something else?
I added a Save button on the toolbar which works fine, but my concern is the average user forgetting to save. So I change the background color of the Save button to red when they make a change. It works up to a point.
I've implemented a very crude isDirty check by listening to the key events and comparing the initially loaded content with the current content. The problem is that the key events don't detect pasting.
I've tried the nodeChanged event but I can be typing away and the event never fires until I hit the enter key.
Maybe I'm asking too much from this control and should just drop the idea of a Save reminder and let the user suffer consequences of their mistake.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions