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

折叠默认编辑器悬浮框及工具栏中的同类型功能 #5669

Closed
LIlGG opened this issue Apr 8, 2024 · 1 comment · Fixed by #5683
Closed

折叠默认编辑器悬浮框及工具栏中的同类型功能 #5669

LIlGG opened this issue Apr 8, 2024 · 1 comment · Fixed by #5683
Assignees
Labels
area/editor Issues or PRs related to the Editor area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@LIlGG
Copy link
Member

LIlGG commented Apr 8, 2024

你当前使用的版本

No response

描述一下此特性

由于默认编辑器功能的增加,会导致悬浮框、工具栏等越来越长,因此期望能够折叠默认编辑器悬浮框及工具栏中的同类型功能。如下所示内容均可折叠:

image

/kind improvement
/area editor
/area ui

附加信息

No response

@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 area/ui Issues or PRs related to the Halo UI labels Apr 8, 2024
@LIlGG
Copy link
Member Author

LIlGG commented Apr 10, 2024

/assign
/milestone 2.15.x

@f2c-ci-robot f2c-ci-robot bot added this to the 2.15.x milestone Apr 10, 2024
f2c-ci-robot bot pushed a commit that referenced this issue Apr 18, 2024
…5683)

#### What type of PR is this?

/kind improvement
/area editor
/milestone 2.15.x

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

本 PR 对富文本编辑器中工具栏和冒泡菜单进行精简。

- 对默认富文本冒泡菜单及顶部工具栏相同类型的功能进行了折叠。
- 删除在 text 的冒泡菜单中,不属于当前选中文本的功能,例如转换为代码块等,这些实际上是段落的功能,并非是文本的功能。而 textAlign 目前也仅仅用在标题和行上,因此也移除。

#### How to test it?

查看默认富文本编辑器工具栏中,折叠的功能是否正常。选中文本,查看文本中是否不包含段落相关的功能。

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

Fixes #5669 

#### Does this PR introduce a user-facing change?
```release-note
对默认富文本编辑器中的工具栏进行折叠及精简优化。
```
@ruibaby ruibaby modified the milestones: 2.15.x, 2.15.0 Apr 18, 2024
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 area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants