Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插入图片 点击图片 然后就无法在图片下面获取焦点了 #3

Open
792733585 opened this issue Jun 8, 2020 · 3 comments

Comments

@792733585
Copy link

792733585 commented Jun 8, 2020

兄弟啊,插入图片之后,点击图片,焦点就没了,想再点下面重新获得焦点都不行了,都输入不了,需要连续点击多下才能获取到焦点,看了一下是id为edui1_imagescale_cover的标签的index为0 设置为-1 就可以 但是代码里用的me.editor.options.zIndex 变量,我不知道改怎么修改

@MuGuiLin
Copy link
Owner

MuGuiLin commented Jun 8, 2020

我刚加上了你说的z-index,不过要点击两次,才能获得焦点。
代码在 ueditor.all.js文件中 16926行,你更新一下,看看吧。

@792733585
Copy link
Author

还有点击图片处于编辑状态的时候,点击图片按键,会弹出来修改窗口 这个算bug吗

@792733585
Copy link
Author

792733585 commented Jun 9, 2020

@MuGuiLin 点击图片的时候,dom.style = dom.style.cssText + 'display: block;'; 这行报错ncaught TypeError: Cannot read property 'style' of null 而且焦点也是一开始好 刷新几次就又不行了,谷歌游览器会这样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants