-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
pref: optimize code block backspace shortcut key logic #5936
pref: optimize code block backspace shortcut key logic #5936
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5936 +/- ##
============================================
- Coverage 56.91% 56.83% -0.08%
- Complexity 3319 3498 +179
============================================
Files 587 612 +25
Lines 18968 20555 +1587
Branches 1401 1420 +19
============================================
+ Hits 10795 11682 +887
- Misses 7594 8293 +699
- Partials 579 580 +1 ☔ 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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang 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 |
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
What type of PR is this?
/kind improvement
/area editor
/milestone 2.16.x
What this PR does / why we need it:
优化默认编辑器代码块
Backspace
快捷键逻辑。如下所示:How to test it?
测试默认编辑器代码块功能。查看是否符合上述逻辑
Which issue(s) this PR fixes:
Fixes #5927
Does this PR introduce a user-facing change?