halo/src
Ryan Wang 3e10162d22 fix: preferred-editor annotation is not set when editing old posts (halo-dev/console#806)
#### What type of PR is this?

/kind bug

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

修复编辑旧文章时,没有为文章设置 `content.halo.run/preferred-editor` 的元数据的问题。

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

Ref https://github.com/halo-dev/halo/issues/3080

#### Special notes for your reviewer:

测试方式:

1. 在有旧数据的情况下切换到此 PR。
2. 编辑一篇旧的文章后保存。
3. 打开文章设置,检查元数据中是否包含了 `content.halo.run/preferred-editor`

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


```release-note
None
```
2022-12-29 13:42:34 +00:00
..
assets fix: logo cannot be displayed after the build (halo-dev/console#668) 2022-10-26 07:36:10 +00:00
build refactor: set the root path of the development environment to /console (halo-dev/console#638) 2022-10-11 15:32:14 +00:00
components feat: add annotations form for more extension (halo-dev/console#801) 2022-12-26 15:32:31 +00:00
composables perf: asynchronously load the default editor (halo-dev/console#800) 2022-12-26 13:34:32 +00:00
constants feat: refining the logic of user roles (halo-dev/console#749) 2022-12-07 04:40:53 +00:00
formkit feat: stop Implicit submission (halo-dev/console#766) 2022-12-16 02:24:10 +00:00
layouts fix: logged-in users cannot access the profile page (halo-dev/console#796) 2022-12-29 13:04:32 +00:00
modules fix: preferred-editor annotation is not set when editing old posts (halo-dev/console#806) 2022-12-29 13:42:34 +00:00
router refactor: managing logged-in user states with pinia (halo-dev/console#699) 2022-11-23 08:39:29 +00:00
setup refactor: add loading states for data list (halo-dev/console#703) 2022-11-24 03:46:10 +00:00
stores feat: add support for setting console's favicon (halo-dev/console#788) 2022-12-22 07:58:31 +00:00
styles refactor: add loading states for data list (halo-dev/console#703) 2022-11-24 03:46:10 +00:00
utils feat: add AnnotationsForm Component to edit extension annotations (halo-dev/console#770) 2022-12-26 14:08:32 +00:00
views fix: activated theme not loaded after initialization (halo-dev/console#790) 2022-12-22 04:16:30 +00:00
App.vue feat: add support for setting console's favicon (halo-dev/console#788) 2022-12-22 07:58:31 +00:00
main.ts feat: add support for setting console's favicon (halo-dev/console#788) 2022-12-22 07:58:31 +00:00