halo/ui
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
..
.changeset Move folder console to ui 2024-02-02 22:22:51 +08:00
.husky Fix the problem of being unable to commit (#5362) 2024-02-18 08:00:16 +00:00
.vscode Move folder console to ui 2024-02-02 22:22:51 +08:00
console-src fix: layout height triggers page background color not fully filling scroll area (#5698) 2024-04-16 09:32:07 +00:00
cypress Move folder console to ui 2024-02-02 22:22:51 +08:00
docs feat: add verification function to the notification settings for the mailbox (#5464) 2024-03-26 08:00:07 +00:00
packages feat: add the format brush extension to the default rich text editor (#5603) 2024-04-18 04:26:07 +00:00
public Move folder console to ui 2024-02-02 22:22:51 +08:00
src feat: add the format brush extension to the default rich text editor (#5603) 2024-04-18 04:26:07 +00:00
uc-src fix: layout height triggers page background color not fully filling scroll area (#5698) 2024-04-16 09:32:07 +00:00
.editorconfig Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.development Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.production Move folder console to ui 2024-02-02 22:22:51 +08:00
.eslintrc.cjs Move folder console to ui 2024-02-02 22:22:51 +08:00
.gitignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.gitpod.yml Move folder console to ui 2024-02-02 22:22:51 +08:00
.npmignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.npmrc Move folder console to ui 2024-02-02 22:22:51 +08:00
.prettierignore Move folder console to ui 2024-02-02 22:22:51 +08:00
Makefile Move folder console to ui 2024-02-02 22:22:51 +08:00
OWNERS Move folder console to ui 2024-02-02 22:22:51 +08:00
README.md Move folder console to ui 2024-02-02 22:22:51 +08:00
build.gradle Collect Gradle plugin versions into root build.gradle (#5511) 2024-03-15 10:34:07 +00:00
cypress.json Move folder console to ui 2024-02-02 22:22:51 +08:00
env.d.ts fix: FormKit code input type error (#5522) 2024-03-18 08:24:08 +00:00
index.html Move folder console to ui 2024-02-02 22:22:51 +08:00
package.json feat: add image editor feature for attachment upload component (#5585) 2024-03-25 04:16:08 +00:00
pnpm-lock.yaml pref: optimize the rich text editor link paste logic (#5680) 2024-04-13 00:50:08 +00:00
pnpm-workspace.yaml Move folder console to ui 2024-02-02 22:22:51 +08:00
postcss.config.js Move folder console to ui 2024-02-02 22:22:51 +08:00
prettier.config.js Move folder console to ui 2024-02-02 22:22:51 +08:00
tailwind.config.js Move folder console to ui 2024-02-02 22:22:51 +08:00
tsconfig.app.json chore: bump vue related packages version (#5384) 2024-02-22 03:12:07 +00:00
tsconfig.json Move folder console to ui 2024-02-02 22:22:51 +08:00
tsconfig.node.json Move folder console to ui 2024-02-02 22:22:51 +08:00
tsconfig.vitest.json Move folder console to ui 2024-02-02 22:22:51 +08:00
vite.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00
vite.uc.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00
vitest.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00

README.md

README

Halo logo

Halo 2.0 的管理端项目(原 halo-admin

GitHub release GitHub GitHub last commit GitHub Workflow Status Gitpod ready-to-code


当前仓库已经将 halo-admin 改为了 console。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。

开发环境运行

npm install -g pnpm@8
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics