Skip to content

Commit

Permalink
feat(sfc-playground): prevent ctrl+s default behavior (#5066)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed Dec 12, 2021
1 parent 57a0933 commit b027507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sfc-playground/src/App.vue
Expand Up @@ -31,6 +31,8 @@ watchEffect(() => history.replaceState({}, '', store.serialize()))
<template>
<Header :store="store" />
<Repl
@keydown.ctrl.s.prevent
@keydown.meta.s.prevent
:store="store"
:showCompileOutput="true"
:autoResize="true"
Expand Down

0 comments on commit b027507

Please sign in to comment.