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

Created on 20 Feb 2019  ·  3Comments  ·  Source: iview/iview-admin

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过于小

Most helpful comment

找到src/components/editor/editor.vue

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

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

All 3 comments

这个问题啥时候解决啊

找到src/components/editor/editor.vue

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

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

@daydaystar 解决了我的问题

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itpretty picture itpretty  ·  6Comments

Tang-Ni picture Tang-Ni  ·  4Comments

330132662 picture 330132662  ·  4Comments

xfan0516 picture xfan0516  ·  4Comments

ptlinyi picture ptlinyi  ·  4Comments