halo/console
wzrove 6ace36289b
fix: the issue of blank content when opening a saved post in StackEdit editor plugin for editing (#3468)
#### What type of PR is this?
/kind bug

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

在编辑器初始化前赋值,可以保证缓存的历史数据附在StackEdit的url上。

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

Fixes (https://github.com/halo-dev/halo/issues/3105)

#### Screenshots:
![test](https://user-images.githubusercontent.com/88016243/222957520-b7980ff9-aeeb-4e98-9dde-50eb307f02eb.gif)

#### Special notes for your reviewer:

+ 新建文章,切换为 StackEdit 编辑器
+ 输入一些内容保存/发布文章
+ 回到文章列表,重新点进刚才的文章
+ 重复步骤3,输入的内容还在

#### Does this PR introduce a user-facing change?


```release-note
修复 Console 端在使用三方编辑器插件编辑文章时可能出现无法加载内容的问题。
```
2023-03-08 02:50:11 +00:00
..
.changeset Move root to console 2023-03-02 15:49:22 +08:00
.husky Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
.vscode Move root to console 2023-03-02 15:49:22 +08:00
cypress Move root to console 2023-03-02 15:49:22 +08:00
docs Move root to console 2023-03-02 15:49:22 +08:00
packages chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
public Move root to console 2023-03-02 15:49:22 +08:00
src fix: the issue of blank content when opening a saved post in StackEdit editor plugin for editing (#3468) 2023-03-08 02:50:11 +00:00
.editorconfig Move root to console 2023-03-02 15:49:22 +08:00
.env.development Move root to console 2023-03-02 15:49:22 +08:00
.env.production Move root to console 2023-03-02 15:49:22 +08:00
.eslintrc.cjs Move root to console 2023-03-02 15:49:22 +08:00
.gitignore Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
.gitpod.yml Move root to console 2023-03-02 15:49:22 +08:00
.npmignore Move root to console 2023-03-02 15:49:22 +08:00
.npmrc Move root to console 2023-03-02 15:49:22 +08:00
.prettierignore Move root to console 2023-03-02 15:49:22 +08:00
Makefile chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
OWNERS Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
README.md Move root to console 2023-03-02 15:49:22 +08:00
cypress.json Move root to console 2023-03-02 15:49:22 +08:00
env.d.ts Move root to console 2023-03-02 15:49:22 +08:00
index.html Move root to console 2023-03-02 15:49:22 +08:00
package.json chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
pnpm-lock.yaml chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
pnpm-workspace.yaml Move root to console 2023-03-02 15:49:22 +08:00
postcss.config.js Move root to console 2023-03-02 15:49:22 +08:00
prettier.config.js Move root to console 2023-03-02 15:49:22 +08:00
tailwind.config.js Move root to console 2023-03-02 15:49:22 +08:00
tsconfig.app.json Move root to console 2023-03-02 15:49:22 +08:00
tsconfig.json Move root to console 2023-03-02 15:49:22 +08:00
tsconfig.vite-config.json Move root to console 2023-03-02 15:49:22 +08:00
tsconfig.vitest.json Move root to console 2023-03-02 15:49:22 +08:00
vite.config.ts Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
vitest.config.ts Move root to console 2023-03-02 15:49:22 +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 的概念。

开发环境运行

# pnpm@7.0.0+
npm install -g pnpm
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics