スクラッチパッドが動かないのを修正

This commit is contained in:
syuilo 2020-11-29 18:22:35 +09:00
parent f62c6a05a9
commit 4d6bffdc8a
3 changed files with 14 additions and 7 deletions

View file

@ -245,7 +245,7 @@
"vue-i18n": "9.0.0-beta.7",
"vue-json-pretty": "1.7.1",
"vue-loader": "16.0.0",
"vue-prism-editor": "1.2.2",
"vue-prism-editor": "2.0.0-alpha.2",
"vue-router": "4.0.0-rc.2",
"vue-style-loader": "4.1.2",
"vuex": "4.0.0-rc.1",

View file

@ -1,7 +1,7 @@
<template>
<div class="">
<div class="_panel">
<prism-editor class="_code" v-model:value="code" :highlight="highlighter" :line-numbers="false"/>
<div class="_panel iltifgqe">
<PrismEditor class="_code code" v-model="code" :highlight="highlighter" :line-numbers="false"/>
<MkButton style="position: absolute; top: 8px; right: 8px;" @click="run()" primary><Fa :icon="faPlay"/></MkButton>
</div>
@ -129,6 +129,13 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.iltifgqe {
position: relative;
> .code {
}
}
.bepmlvbi {
padding: 16px;

View file

@ -10411,10 +10411,10 @@ vue-loader@16.0.0:
hash-sum "^2.0.0"
loader-utils "^2.0.0"
vue-prism-editor@1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/vue-prism-editor/-/vue-prism-editor-1.2.2.tgz#023cfd4329848f191aac851f2f5e6c7a8c2e059f"
integrity sha512-Lq2VgVygTx3Whn/tC8gD4m1ajA4lzSyCTqPLZA1Dq/ErbBaZA93FWRblwCoDR7AD2nXhGWuiTzb5ih3guzB7DA==
vue-prism-editor@2.0.0-alpha.2:
version "2.0.0-alpha.2"
resolved "https://registry.yarnpkg.com/vue-prism-editor/-/vue-prism-editor-2.0.0-alpha.2.tgz#aa53a88efaaed628027cbb282c2b1d37fc7c5c69"
integrity sha512-Gu42ba9nosrE+gJpnAEuEkDMqG9zSUysIR8SdXUw8MQKDjBnnNR9lHC18uOr/ICz7yrA/5c7jHJr9lpElODC7w==
vue-router@4.0.0-rc.2:
version "4.0.0-rc.2"