fix(projects): 修复富文本编辑器在亮色主题下全屏后背景色丢失

This commit is contained in:
14534 2021-11-13 22:12:03 +08:00
parent 36e0e669fd
commit 4ab7702186
2 changed files with 18 additions and 17 deletions

View File

@ -56,4 +56,5 @@
},
"workbench.productIconTheme": "fluent-icons",
"vue3snippets.enable-compile-vue-file-on-did-save-code": false,
"editor.formatOnSave": false
}

View File

@ -1,7 +1,7 @@
<template>
<div>
<n-card title="富文本插件" class="shadow-sm rounded-16px">
<div ref="domRef" class="dark:bg-dark"></div>
<div ref="domRef" class="bg-white dark:bg-dark"></div>
<template #footer>
<github-link link="https://github.com/wangeditor-team/wangEditor" />
</template>