Skip to content

Commit b027507

Browse files
authored
feat(sfc-playground): prevent ctrl+s default behavior (#5066)
1 parent 57a0933 commit b027507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/sfc-playground/src/App.vue

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ watchEffect(() => history.replaceState({}, '', store.serialize()))
3131
<template>
3232
<Header :store="store" />
3333
<Repl
34+
@keydown.ctrl.s.prevent
35+
@keydown.meta.s.prevent
3436
:store="store"
3537
:showCompileOutput="true"
3638
:autoResize="true"

0 commit comments

Comments
 (0)