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

全选功能增强 #4232

Closed
yuanzhixiang opened this issue Jul 16, 2023 · 3 comments
Closed

全选功能增强 #4232

yuanzhixiang opened this issue Jul 16, 2023 · 3 comments
Labels
area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@yuanzhixiang
Copy link

你当前使用的版本

2.7.0

描述一下此特性

现在的 halo 编辑器是块编辑器么,现在主流块编辑器在首次按 command+a 时是当前块全选,再次按才是选中整个页面的内容,现在 halo 的逻辑是只要按 command+a 就是选中所有内容,操作逻辑和主流块编辑器不一致,用起来不太习惯,建议做修改。

附加信息

No response

@JohnNiang
Copy link
Member

/kind improvement
/area editor

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. area/editor Issues or PRs related to the Editor labels Jul 16, 2023
f2c-ci-robot bot pushed a commit to halo-sigs/richtext-editor that referenced this issue Sep 12, 2023
…t the code (#43)

#### What type of PR is this?

/kind improvement

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

在代码块中使用 ctrl + a / command + a 时,只会选中当前代码块中的内容而不是编辑器的全部内容

#### How to test it?

1. 创建一个代码块并编辑一些文本。
2. 在代码块中按 ctrl + a / command + a,查看选中的是否仅为代码块中的文本

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

Ref halo-dev/halo#4447
Ref halo-dev/halo#4232

#### Does this PR introduce a user-facing change?
```release-note
在代码块中使用全选快捷键将只会选中代码
```
@ruibaby
Copy link
Member

ruibaby commented Sep 27, 2023

已经在 #4669 中优化。

/close

@f2c-ci-robot f2c-ci-robot bot closed this as completed Sep 27, 2023
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Sep 27, 2023

@ruibaby: Closing this issue.

In response to this:

已经在 #4669 中优化。

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

3 participants