Skip to content

Commit

Permalink
refactor: add editor provider logo (#33)
Browse files Browse the repository at this point in the history
 适配 Halo 2.9 的改动,为 EditorProvider 添加 Logo 。

see halo-dev/halo#3444 (comment)

```release-note
适配 Halo 2.9 关于编辑器 Logo 的改动。
```
  • Loading branch information
ruibaby authored Sep 4, 2023
1 parent e91b6e3 commit 6c698be
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 210 deletions.
4 changes: 2 additions & 2 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@bytemd/plugin-gfm": "^1.21.0",
"@bytemd/plugin-math": "^1.21.0",
"@bytemd/vue-next": "^1.21.0",
"@halo-dev/components": "^1.1.0",
"@halo-dev/console-shared": "^2.2.0",
"@halo-dev/components": "^1.8.0",
"@halo-dev/console-shared": "^2.9.0",
"@vueuse/core": "9",
"bytemd": "^1.20.2",
"github-markdown-css": "^5.1.0",
Expand Down
266 changes: 58 additions & 208 deletions console/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions console/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default definePlugin({
displayName: "ByteMD",
component: markRaw(bytemd),
rawType: "markdown",
logo: "/plugins/PluginBytemd/assets/logo.png",
},
];
},
Expand Down

0 comments on commit 6c698be

Please sign in to comment.