halo/ui/packages
Takagi 410a7557f9
feat: add the format brush extension to the default rich text editor (#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
为默认富文本编辑器添加格式刷扩展。
```
2024-04-18 04:26:07 +00:00
..
api-client Prepare for developing 2.15.0 (#5635) 2024-04-02 02:20:07 +00:00
components Prepare for developing 2.15.0 (#5635) 2024-04-02 02:20:07 +00:00
editor feat: add the format brush extension to the default rich text editor (#5603) 2024-04-18 04:26:07 +00:00
shared Prepare for developing 2.15.0 (#5635) 2024-04-02 02:20:07 +00:00
ui-plugin-bundler-kit Prepare for developing 2.15.0 (#5635) 2024-04-02 02:20:07 +00:00