-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
fix: deleting selected text in a list with the backspace key causes the list to revert #5938
fix: deleting selected text in a list with the backspace key causes the list to revert #5938
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5938 +/- ##
============================================
- Coverage 56.91% 56.61% -0.31%
- Complexity 3319 3468 +149
============================================
Files 587 612 +25
Lines 18968 20528 +1560
Branches 1401 1419 +18
============================================
+ Hits 10795 11621 +826
- Misses 7594 8323 +729
- Partials 579 584 +5 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works very well.
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang, ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
/area editor
/milestone 2.16.x
What this PR does / why we need it:
移除使用
Backspace
进行缩进的功能。此功能会导致选中无序列表文本至起始位置时,按Backspace
快捷键会导致无序列表解除当前层级。How to test it?
测试从后往前选中无序列表文本至文本起始位置,然后按下
Backspace
快捷键。此时应当只删除文本而不会调整无序列表层级。Which issue(s) this PR fixes:
Fixes #5925
Does this PR introduce a user-facing change?