grist-widget icon indicating copy to clipboard operation
grist-widget copied to clipboard

Markdown exits Edit mode and autosaves on lost focus

Open gitterspec opened this issue 1 year ago • 1 comments

When using the Markdown widget in Edit mode, if the focus is lost even for a second (i.e. switching to a different window), Edit mode is exited and even worse, the behavior saves (not cancels) changes.

I think the behavior should keep it in Edit mode when switching focus. It's common to need to switch focus during editing, for example: copying something from another window for pasting.

The auto-save behavior is particularly dangerous, as the original note may be inadvertently lost by accident.

gitterspec avatar Aug 22 '24 03:08 gitterspec