mirror of https://github.com/halo-dev/halo
![]() #### 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 为默认富文本编辑器添加格式刷扩展。 ``` |
||
---|---|---|
.. | ||
docs | ||
src | ||
.eslintrc.cjs | ||
.gitignore | ||
.release-it.json | ||
env.d.ts | ||
index.html | ||
package.json | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.vitest.json | ||
vite.config.ts | ||
vite.lib.config.ts |