diff --git a/index.ts b/index.ts index e79b923..e6ce4e3 100644 --- a/index.ts +++ b/index.ts @@ -149,7 +149,7 @@ const main = async () => { getPages(); dateFormat = (await logseq.App.getUserConfigs()).preferredDateFormat; logseq.DB.onChanged((e) => { - if (e.txMeta?.outlinerOp == "insertBlocks") { + if (e.txMeta?.outlinerOp == "insert-blocks" || e.txMeta?.outlinerOp == "insertBlocks") { if (logseq.settings?.enableAutoParse) { blockArray?.forEach(parseBlockForLink); }