wangEditor-v5 icon indicating copy to clipboard operation
wangEditor-v5 copied to clipboard

光标无法移出行内代码

Open asling opened this issue 3 years ago • 1 comments

bug 描述

当输入行内代码或者在已有行内代码内添加文本后,左右移动光标无法移出行内代码的范围。

你预期的样子是?

左右移动光标可以移出行内代码

系统和浏览器及版本号

  • MacOS
  • Chrome V96

wangEditor 版本

v5

demo 能否复现该 bug ?

  • 中文 demo https://www.wangeditor.com/demo/zh-CN
  • English demo https://www.wangeditor.com/demo/en

最小成本的复现步骤

  • 快捷键cmd+e 切换到行内代码
  • 在行内代码输入文字
  • 左右移动光标到句子首尾,发现无法移出。

asling avatar Dec 24 '21 06:12 asling

复现了。这里确实需要在继续优化一下。

wangfupeng1988 avatar Dec 24 '21 09:12 wangfupeng1988