diff --git a/CHANGELOG.md b/CHANGELOG.md index 4befe55..35a4d52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,4 @@ -## Feature +## Fix -- add a notion link display button to control whether to display the synced notion link in the front matter of the markdown file. -- 增加 notion 链接显示按钮,控制是否在 markdown 文件的 front matter 中显示已经生成的 notion 文章链接。 - -Setting tabs: - -![setting tab](https://minioapi.pjx.ac.cn/img1/2024/07/31b2e9844c184bc8fd461b2940c2397a.png) - -Front matter after sync: - -![frontmatter](https://minioapi.pjx.ac.cn/img1/2024/07/d1bd58bf878abfb59dd67986bae99cc4.png) +- Fix that `Text` property cannot be synced in the custom database. +⚠️ **Note:** Remember to update the `Text` property in the database setting. diff --git a/src/ui/EditModal.ts b/src/ui/EditModal.ts index e69300e..80f4a18 100644 --- a/src/ui/EditModal.ts +++ b/src/ui/EditModal.ts @@ -286,7 +286,7 @@ export class EditModal extends SettingModal { propertyLine.addDropdown((dropdown) => { const options: Record = { - 'text': 'Text', + 'rich_text': 'Text', 'number': 'Number', 'select': 'Select', 'multi_select': 'Multi-Select', diff --git a/src/ui/PreviewModal.ts b/src/ui/PreviewModal.ts index d311411..9c2ad2c 100644 --- a/src/ui/PreviewModal.ts +++ b/src/ui/PreviewModal.ts @@ -151,7 +151,7 @@ export class PreviewModal extends Modal { propertyLine.addDropdown((dropdown) => { const options: Record = { 'title': 'Title', - 'text': 'Text', + 'rich_text': 'Text', 'number': 'Number', 'select': 'Select', 'multi_select': 'Multi-Select', diff --git a/src/ui/settingModal.ts b/src/ui/settingModal.ts index 754ef67..b34c73d 100644 --- a/src/ui/settingModal.ts +++ b/src/ui/settingModal.ts @@ -239,7 +239,7 @@ export class SettingModal extends Modal { propertyLine.addDropdown((dropdown) => { const options: Record = { - 'text': 'Text', + 'rich_text': 'Text', 'number': 'Number', 'select': 'Select', 'multi_select': 'Multi-Select',