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

期望默认编辑器支持搜索和替换文字 #5195

Closed
ruibaby opened this issue Jan 16, 2024 · 2 comments · Fixed by #5206
Closed

期望默认编辑器支持搜索和替换文字 #5195

ruibaby opened this issue Jan 16, 2024 · 2 comments · Fixed by #5206
Assignees
Labels
area/console Issues or PRs related to the Halo Console kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Jan 16, 2024

你当前使用的版本

2.11.x

描述一下此特性

目前编辑器还不支持文字搜索和替换的功能,期望能够添加支持。

可以考虑使用这个库:https://github.com/sereneinserenade/tiptap-search-and-replace

附加信息

No response

@ruibaby
Copy link
Member Author

ruibaby commented Jan 16, 2024

/area console
/kind feature
/milestone 2.12.x

@f2c-ci-robot f2c-ci-robot bot added the area/console Issues or PRs related to the Halo Console label Jan 16, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.12.x milestone Jan 16, 2024
@f2c-ci-robot f2c-ci-robot bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 16, 2024
@LIlGG
Copy link
Member

LIlGG commented Jan 16, 2024

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Jan 24, 2024
…t editor (#5206)

#### What type of PR is this?

/kind feature

#### What this PR does / why we need it:

为默认富文本编辑器添加查找与搜索的功能扩展。

快捷键:

当焦点处于编辑器中时,可以使用 `Mod+f` 来唤起查找与搜索框,或者点击顶部工具栏来打开。
当焦点处于查找与搜索框时,按下 `Ecs` 可进行关闭。

<img width="1920" alt="image" src="https://github.com/halo-dev/halo/assets/31335418/03a54bb8-2cc4-4cb0-9a18-fd0e9aede564">

#### How to test it?

测试查找与搜索功能是否正常

#### Which issue(s) this PR fixes:

Fixes #5195 

#### Does this PR introduce a user-facing change?
```release-note
为默认富文本编辑器添加查找与搜索的功能扩展。
```
@ruibaby ruibaby modified the milestones: 2.12.x, 2.12.0 Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/console Issues or PRs related to the Halo Console kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants