wxEditor icon indicating copy to clipboard operation
wxEditor copied to clipboard

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

Open 792733585 opened this issue 4 years ago • 3 comments

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

792733585 avatar Jun 08 '20 09:06 792733585

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

MuGuiLin avatar Jun 08 '20 11:06 MuGuiLin

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

792733585 avatar Jun 09 '20 01:06 792733585

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

792733585 avatar Jun 09 '20 09:06 792733585