-
-
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
feat: provide find and replace functionality for the default rich text editor #5206
feat: provide find and replace functionality for the default rich text editor #5206
Conversation
/area console |
a59d8a0
to
147fe86
Compare
已解决。 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5206 +/- ##
=========================================
Coverage 57.05% 57.05%
Complexity 3332 3332
=========================================
Files 584 584
Lines 19189 19189
Branches 1444 1444
=========================================
Hits 10949 10949
Misses 7664 7664
Partials 576 576 ☔ View full report in Codecov by Sentry. |
已解决 |
140b7e9
to
683b8e3
Compare
Signed-off-by: Ryan Wang <i@ryanc.cc>
console/packages/editor/src/extensions/search-and-replace/SearchAndReplace.vue
Outdated
Show resolved
Hide resolved
console/packages/editor/src/extensions/search-and-replace/SearchAndReplace.vue
Outdated
Show resolved
Hide resolved
console/packages/editor/src/extensions/search-and-replace/SearchAndReplace.vue
Outdated
Show resolved
Hide resolved
…tor-search-and-replace
…IlGG/halo into feat/editor-search-and-replace
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
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.
/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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: guqing, 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 feature
What this PR does / why we need it:
为默认富文本编辑器添加查找与搜索的功能扩展。
快捷键:
当焦点处于编辑器中时,可以使用
Mod+f
来唤起查找与搜索框,或者点击顶部工具栏来打开。当焦点处于查找与搜索框时,按下
Ecs
可进行关闭。How to test it?
测试查找与搜索功能是否正常
Which issue(s) this PR fixes:
Fixes #5195
Does this PR introduce a user-facing change?