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

默认编辑器支持格式刷 #5591

Closed
xueqidove opened this issue Mar 26, 2024 · 1 comment · Fixed by #5603
Closed

默认编辑器支持格式刷 #5591

xueqidove opened this issue Mar 26, 2024 · 1 comment · Fixed by #5603
Labels
area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@xueqidove
Copy link

你当前使用的版本

2.13.0

描述一下此特性

能否支持在默认编辑器中支持格式刷功能,通过格式刷快速保证文章格式一致,其中包含字体大小、颜色、字体类型、行距、段落间距,缩进等

附加信息

No response

@LIlGG
Copy link
Member

LIlGG commented Mar 26, 2024

/area editor
/kind improvement

@f2c-ci-robot f2c-ci-robot bot added area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement. labels Mar 26, 2024
@ruibaby ruibaby added this to the 2.15.x milestone Apr 13, 2024
f2c-ci-robot bot pushed a commit that referenced this issue Apr 18, 2024
…5603)

#### What type of PR is this?

/kind feature
/area editor
/area ui

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

为默认富文本编辑器添加格式刷扩展。用以给 text node 复制格式。

使用方式:

1. 选中一串具有格式的文本
2. 点击格式刷或者使用 `Shift + Mod + c` 快捷键复制格式。
3. 选中需要进行格式处理的文本
4. 松开鼠标,格式刷生效。

#### How to test it?

测试格式刷功能是否正常可用。需要测试 text node 以及 block node 内部的 text 格式功能。

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

Fixes #5591 

#### 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 kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants