mirror of https://github.com/halo-dev/halo-admin
Resolve mavon-editor style bug involving antd style
parent
0e09532812
commit
640fcda640
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<a-locale-provider :locale="locale">
|
<a-locale-provider :locale="locale">
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<router-view />
|
<router-view/>
|
||||||
</div>
|
</div>
|
||||||
</a-locale-provider>
|
</a-locale-provider>
|
||||||
</template>
|
</template>
|
||||||
|
@ -38,6 +38,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#app {
|
#app {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -7,6 +7,7 @@ import Antd from 'ant-design-vue'
|
||||||
import Viser from 'viser-vue'
|
import Viser from 'viser-vue'
|
||||||
import VueCropper from 'vue-cropper'
|
import VueCropper from 'vue-cropper'
|
||||||
import 'ant-design-vue/dist/antd.less'
|
import 'ant-design-vue/dist/antd.less'
|
||||||
|
import '../style/main.less'
|
||||||
|
|
||||||
// ext library
|
// ext library
|
||||||
import VueClipboard from 'vue-clipboard2'
|
import VueClipboard from 'vue-clipboard2'
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
button,
|
||||||
|
html [type='button'] {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
|
@ -15,16 +15,9 @@
|
||||||
<a-button type="primary" @click="showAttachDrawer">附件库</a-button>
|
<a-button type="primary" @click="showAttachDrawer">附件库</a-button>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
||||||
<a-card>
|
<div id="editor">
|
||||||
<div id="editor">
|
<mavon-editor v-model="postToStage.originalContent" :boxShadow="false" :ishljs="true"/>
|
||||||
<mavon-editor
|
</div>
|
||||||
:toolbars="markdownOption"
|
|
||||||
v-model="postToStage.originalContent"
|
|
||||||
:boxShadow="false"
|
|
||||||
:ishljs="true"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</a-card>
|
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<a-col :xl="24" :lg="24" :md="24" :sm="24" :xs="24">
|
<a-col :xl="24" :lg="24" :md="24" :sm="24" :xs="24">
|
||||||
|
@ -412,12 +405,8 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
|
||||||
#editor {
|
|
||||||
margin: auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
.v-note-wrapper {
|
.v-note-wrapper {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
@ -451,11 +440,6 @@ export default {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mavonEditor {
|
|
||||||
width: 100%;
|
|
||||||
height: 560px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.attach-item {
|
.attach-item {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
Loading…
Reference in New Issue