Closed SidneyNemzer closed 7 years ago
As the title says, the Ctrl + S is used by Chrome to save the current webpage to your computer. (On Windows, at least. Mac should be OK).
Ctrl + S
If the Devtools window with Snippets is docked to the webpage, every time you save the snippet, you'll also be prompted to save the page.
The quick-fix to this is to undock the Devtools window.
The long-term solution might be to disable manual saving, and only allow auto-saving (like Mozilla's Thimble editor)
Another solution (maybe): event.preventDefault()
event.preventDefault()
"Maybe" because I'm not SURE you can cancel this event.
As the title says, the
Ctrl + S
is used by Chrome to save the current webpage to your computer. (On Windows, at least. Mac should be OK).If the Devtools window with Snippets is docked to the webpage, every time you save the snippet, you'll also be prompted to save the page.
The quick-fix to this is to undock the Devtools window.
The long-term solution might be to disable manual saving, and only allow auto-saving (like Mozilla's Thimble editor)