浏览代码

在el-dialog中tinymce遮挡问题处理

canghailong 6 月之前
父节点
当前提交
2de39a337b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/components/Editor/index.vue

+ 5 - 0
src/components/Editor/index.vue

@@ -118,3 +118,8 @@
 		tinymce.init({})
 	})
 </script>
+<style>
+	/* 在el-dialog中tinymce z-index 被太小而被遮挡时要加这两句 */
+	.tox-tinymce-aux{z-index:99999 !important;}
+	.tinymce.ui.FloatPanel{z-Index: 99;}
+</style>