FIX zindex引起的富文本编辑器样式错误

This commit is contained in:
sakuya 2022-05-27 00:22:50 +08:00
parent 22546a1e15
commit 09ecd7fed7
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@
config: { config: {
locale: this.$i18n.messages[this.$i18n.locale].el, locale: this.$i18n.messages[this.$i18n.locale].el,
size: "default", size: "default",
zIndex: 10, zIndex: 2000,
button: { button: {
autoInsertSpace: false autoInsertSpace: false
} }

View File

@ -54,4 +54,5 @@
.layout-setting,.diy-grid-setting {background-color: var(--el-color-primary)!important;} .layout-setting,.diy-grid-setting {background-color: var(--el-color-primary)!important;}
/* 覆盖tinymce样式 */ /* 覆盖tinymce样式 */
.sceditor .tox-tinymce {border: 1px solid #DCDFE6;border-radius: 0;} .sceditor .tox-tinymce {border: 1px solid #DCDFE6;border-radius: 0;}
body .tox-tinymce-aux {z-index: 5700;}