Skip to content

Commit

Permalink
release 1.0.40
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroBlackInk committed Jun 9, 2023
1 parent 3c4ae33 commit 7fbe021
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default class UltimateTodoistSyncForObsidian extends Plugin {
});


/* In the 1.0.37 version, editor-change no longer detects new tasks.

//hook editor-change 事件,如果当前line包含 #todoist,说明有new task
this.registerEvent(this.app.workspace.on('editor-change',async (editor,view:MarkdownView)=>{
try{
Expand All @@ -137,6 +137,9 @@ export default class UltimateTodoistSyncForObsidian extends Plugin {
if(!(this.checkModuleClass())){
return
}
if(this.settings.enableFullVaultSync){
return
}
if (!await this.checkAndHandleSyncLock()) return;
await this.todoistSync.lineContentNewTaskCheck(editor,view)
this.syncLock = false
Expand All @@ -148,7 +151,7 @@ export default class UltimateTodoistSyncForObsidian extends Plugin {
}

}))
*/



/* 使用其他文件管理器移动,obsidian触发了删除事件,删除了所有的任务
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "ultimate-todoist-sync",
"name": "Ultimate Todoist Sync",
"version": "1.0.39",
"version": "1.0.40",
"minAppVersion": "1.0.0",
"description": "This is the best Todoist task synchronization plugin for Obsidian so far.",
"author": "HeroBlackInk",
Expand Down

0 comments on commit 7fbe021

Please sign in to comment.