iview-admin icon indicating copy to clipboard operation
iview-admin copied to clipboard

[Bug Report]富文本编辑下拉内容均无法使用(估计原因z-index问题)

Open Sean0626 opened this issue 6 years ago • 3 comments

Environment

Win7 -- 谷歌68.0.3440.106(正式版本) (32 位)--你们的官方演示版本

Reproduction link

https://admin.iviewui.com/components/editor_page

Steps to reproduce

1.组件--富文本编辑--换字体、设置字体、设置标题、文字颜色、背景色等

What is expected?

能够修改【字体、设置字体、设置标题、文字颜色、背景色等】

What is actually happening?

设置所有格式均无法使用


预计问题z-index过于小

Sean0626 avatar Feb 20 '19 02:02 Sean0626

这个问题啥时候解决啊

wangfpp avatar Mar 08 '19 09:03 wangfpp

找到src/components/editor/editor.vue

这里有这样一段样式,本意是为了“修复富文本编辑器由于内部z-index设置过高,遮住iview模态框的问题”,却产生了我们遇到的这个问题。 image

所以把这段样式删掉,在mounted函数里写下this.editor.customConfig.zIndex = 100即可, image

daydaystar avatar Apr 15 '19 08:04 daydaystar

@daydaystar 解决了我的问题

ccccccmd avatar May 03 '19 09:05 ccccccmd