diff --git a/CHANGELOG.md b/CHANGELOG.md index 582ec47..40dff00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -# Changelog v2.2.2 +# Changelog v2.2.3 ## Bug Fixes -- Fix the setting description of database. 修复数据库设置的描述错误。 +- Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug。 diff --git a/README.md b/README.md index 834b682..46ecba8 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [//]: # ([![Github all releases](https://img.shields.io/github/downloads/jxpeng98/obsidian-to-NotionNext/total.svg)](https://GitHub.com/jxpeng98/obsidian-to-NotionNext/releases/)) + [中文文档](README-zh.md) **Now, support both NotionNext and General databases with customised properties.** @@ -15,13 +16,18 @@ ## TODO List -- [x] Support custom properties for Notion General database. 支持自定义属性 +- [ ] Modify the Edit function for the custom properties. 改进自定义属性的编辑功能 - [ ] Support group upload with one click 支持一键多数据库上传 +- [x] Support custom properties for Notion General database. 支持自定义属性 - [x] Support preview for database details in plugin settings. 支持预览数据库详情 - [x] Support edit for database details in plugin settings. 支持编辑数据库详情 ## Update +### 2.2.3 + +- Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug。 + ### 2.2.2 - Fix the setting description of database. 修复数据库设置的描述错误。 diff --git a/manifest.json b/manifest.json index 0895856..8ab2396 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "share-to-notionnext", "name": "Share to NotionNext", - "version": "2.2.2", + "version": "2.2.3", "minAppVersion": "0.0.1", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "author": "EasyChris, jxpeng98", diff --git a/package.json b/package.json index 805138e..9fdb5ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "share-to-notionnext", - "version": "2.2.2", + "version": "2.2.3", "type": "module", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "main": "main.js", diff --git a/src/ui/CustomModal.ts b/src/ui/CustomModal.ts index b7d3dfa..4d5e602 100644 --- a/src/ui/CustomModal.ts +++ b/src/ui/CustomModal.ts @@ -45,7 +45,7 @@ export class CustomModal extends Modal { } ) } else { - propertyLine + propertyLine .setName(i18nConfig.CustomProperty + (propertyIndex)) propertyLine.addText((text) => { @@ -60,6 +60,7 @@ export class CustomModal extends Modal { propertyLine.addDropdown((dropdown) => { dropdown + // .addOption("none", '') .addOption("text", "Text") .addOption("number", "Number") .addOption("select", "Select") @@ -78,7 +79,7 @@ export class CustomModal extends Modal { // .addOption("created_by", "Created by") // .addOption("last_edited_time", "Last Edited Time") // .addOption("last_edited_by", "Last Edited By") - .setValue("text") + .setValue("") .onChange(async (value) => { this.properties[propertyIndex].customType = value; // Update the customType of the specific property });