halo/ui
Takagi 0f01006606
fix: bubble menu not appearing when crossing lines in editor (#6268)
#### What type of PR is this?

/kind bug
/area editor
/milestone 2.18.x

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

在默认编辑器中,选中一个跨多个节点的 text 时,selection 会变为 RangeSelection,此时冒泡菜单将不会出现。

此 RP 将 RangeSelection 添加至 text 的冒泡菜单验证中,使得冒泡菜单可以出现。

#### How to test it?

测试跨行选中多个无序列表时,是否出现冒泡菜单。

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

Fixes #6267 

#### Does this PR introduce a user-facing change?
```release-note
修复默认编辑器中跨行选择节点时冒泡菜单无法出现的问题
```
2024-07-05 10:29: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 chore: add vscode settings.json (#6151) 2024-06-26 18:07:53 +08:00
console-src fix: resolve potential exception during bulk image upload in post creation (#6276) 2024-07-05 18:21:46 +08:00
cypress Move folder console to ui 2024-02-02 22:22:51 +08:00
docs feat: add secret select input (#6140) 2024-06-27 10:08:55 +00:00
packages fix: bubble menu not appearing when crossing lines in editor (#6268) 2024-07-05 10:29:07 +00:00
public Move folder console to ui 2024-02-02 22:22:51 +08:00
src feat: tag and category add save and continue button (#6223) 2024-07-01 15:49:18 +00:00
uc-src fix: resolve potential exception during bulk image upload in post creation (#6276) 2024-07-05 18:21:46 +08:00
.editorconfig Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.development chore: remove unnecessary env (#6022) 2024-05-30 08:31:16 +00:00
.env.production chore: remove unnecessary env (#6022) 2024-05-30 08:31:16 +00:00
.eslintrc.cjs Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00: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 Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00: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 chore: bump pnpm version to 9 (#5953) 2024-05-21 03:24:45 +00:00
build.gradle Refactor api client using separated OpenAPI groups 2024-06-25 12:31:25 +08:00
cypress.json Move folder console to ui 2024-02-02 22:22:51 +08:00
env.d.ts feat: add support for setting an owner for posts (#6178) 2024-06-27 10:10:55 +00:00
index.html refactor: implementation of browser tab title (#5794) 2024-04-25 03:43:10 +00:00
package.json chore: regenerate API client (#6229) 2024-07-01 07:01:17 +00:00
pnpm-lock.yaml chore: regenerate API client (#6229) 2024-07-01 07:01:17 +00:00
pnpm-workspace.yaml Move folder console to ui 2024-02-02 22:22:51 +08:00
postcss.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
prettier.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tailwind.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00: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 chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tsconfig.vitest.json Move folder console to ui 2024-02-02 22:22:51 +08:00
vite.config.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
vite.uc.config.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
vitest.config.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00: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@9
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics