fix: Text property in custom database

This commit is contained in:
2024-07-14 17:52:43 +01:00
parent 654e7e854d
commit 36725cb699
4 changed files with 6 additions and 14 deletions

View File

@@ -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.

View File

@@ -286,7 +286,7 @@ export class EditModal extends SettingModal {
propertyLine.addDropdown((dropdown) => {
const options: Record<string, string> = {
'text': 'Text',
'rich_text': 'Text',
'number': 'Number',
'select': 'Select',
'multi_select': 'Multi-Select',

View File

@@ -151,7 +151,7 @@ export class PreviewModal extends Modal {
propertyLine.addDropdown((dropdown) => {
const options: Record<string, string> = {
'title': 'Title',
'text': 'Text',
'rich_text': 'Text',
'number': 'Number',
'select': 'Select',
'multi_select': 'Multi-Select',

View File

@@ -239,7 +239,7 @@ export class SettingModal extends Modal {
propertyLine.addDropdown((dropdown) => {
const options: Record<string, string> = {
'text': 'Text',
'rich_text': 'Text',
'number': 'Number',
'select': 'Select',
'multi_select': 'Multi-Select',