update vditor style
This commit is contained in:
1 parent
bb00cb66a3
commit
3577c6fdd1
2 files changed
+5
-2
No files matched your search
@@ -55,7 +55,7 @@ export default defineComponent({
|
|||||||
height: '0',
|
height: '0',
|
||||||
tab: '\t',
|
tab: '\t',
|
||||||
mode: 'ir',
|
mode: 'ir',
|
||||||
icon: 'material',
|
icon: 'ant',
|
||||||
debugger: false,
|
debugger: false,
|
||||||
after: () => {
|
after: () => {
|
||||||
if (this.vditor?.getValue) {
|
if (this.vditor?.getValue) {
|
||||||
@@ -103,5 +103,8 @@ export default defineComponent({
|
|||||||
.vditor-ir pre.vditor-reset {
|
.vditor-ir pre.vditor-reset {
|
||||||
padding-top: 80px !important;
|
padding-top: 80px !important;
|
||||||
padding-bottom: 80px !important;
|
padding-bottom: 80px !important;
|
||||||
|
&:focus {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -36,7 +36,7 @@ export const defaultOptions = {
|
|||||||
extend: [],
|
extend: [],
|
||||||
parse: true
|
parse: true
|
||||||
},
|
},
|
||||||
icon: 'ant',
|
icon: 'material',
|
||||||
lang: 'zh_CN',
|
lang: 'zh_CN',
|
||||||
mode: 'ir',
|
mode: 'ir',
|
||||||
outline: {
|
outline: {
|
||||||
|
|||||||
Reference in new issue
Block a user