finsweet / wized-roadmap

Official RFCs for Wized.
1 stars 0 forks source link

Prevent browser's default behavior when using `Ctrl + S` inside the function editor #17

Closed alexiglesias93 closed 1 week ago

alexiglesias93 commented 1 month ago

Some users have reported that they often hit Ctrl + S or Cmd + S when working in the function editor as it's the usual flow when writing code in VSCode. But in the browser, hitting that command toggles the page save popup and it's annoying.

We should prevent this behavior when the user is focusing the function editor. Or we could prevent it altogether by adding a global handler. This way maybe in the future we can hijack this key combination to trigger a backup save or something.