mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-30 00:48:36 +08:00
fix: Text property in custom database
This commit is contained in:
14
CHANGELOG.md
14
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.
|
- Fix that `Text` property cannot be synced in the custom database.
|
||||||
- 增加 notion 链接显示按钮,控制是否在 markdown 文件的 front matter 中显示已经生成的 notion 文章链接。
|
⚠️ **Note:** Remember to update the `Text` property in the database setting.
|
||||||
|
|
||||||
Setting tabs:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Front matter after sync:
|
|
||||||
|
|
||||||

|
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ export class EditModal extends SettingModal {
|
|||||||
|
|
||||||
propertyLine.addDropdown((dropdown) => {
|
propertyLine.addDropdown((dropdown) => {
|
||||||
const options: Record<string, string> = {
|
const options: Record<string, string> = {
|
||||||
'text': 'Text',
|
'rich_text': 'Text',
|
||||||
'number': 'Number',
|
'number': 'Number',
|
||||||
'select': 'Select',
|
'select': 'Select',
|
||||||
'multi_select': 'Multi-Select',
|
'multi_select': 'Multi-Select',
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export class PreviewModal extends Modal {
|
|||||||
propertyLine.addDropdown((dropdown) => {
|
propertyLine.addDropdown((dropdown) => {
|
||||||
const options: Record<string, string> = {
|
const options: Record<string, string> = {
|
||||||
'title': 'Title',
|
'title': 'Title',
|
||||||
'text': 'Text',
|
'rich_text': 'Text',
|
||||||
'number': 'Number',
|
'number': 'Number',
|
||||||
'select': 'Select',
|
'select': 'Select',
|
||||||
'multi_select': 'Multi-Select',
|
'multi_select': 'Multi-Select',
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ export class SettingModal extends Modal {
|
|||||||
|
|
||||||
propertyLine.addDropdown((dropdown) => {
|
propertyLine.addDropdown((dropdown) => {
|
||||||
const options: Record<string, string> = {
|
const options: Record<string, string> = {
|
||||||
'text': 'Text',
|
'rich_text': 'Text',
|
||||||
'number': 'Number',
|
'number': 'Number',
|
||||||
'select': 'Select',
|
'select': 'Select',
|
||||||
'multi_select': 'Multi-Select',
|
'multi_select': 'Multi-Select',
|
||||||
|
|||||||
Reference in New Issue
Block a user