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

修正Issue:存在软换行时,选中文本执行 Backspace,会导致内容异常 #689

Merged
merged 7 commits into from
Aug 5, 2020

Conversation

zTree
Copy link
Contributor

@zTree zTree commented Aug 5, 2020

存在问题的模式:

所见即所得 & 即使渲染模式

问题描述:

当两个连续段落中,存在 段内换行(即:软换行)时,选中其中一行,执行 Backspace 会导致文本异常

BackspaceIssue

分析:

经检查,是由于 fixBrowserBehavior.ts 中对 Element 处理不合理,使得 range 发生变化,从而导致浏览器响应删除操作时,操作异常

@Vanessa219 Vanessa219 merged commit 8cd9864 into Vanessa219:dev Aug 5, 2020
@Vanessa219 Vanessa219 self-requested a review August 5, 2020 13:17
Vanessa219 added a commit that referenced this pull request Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants