Skip to content

Commit

Permalink
Merge pull request #77 from clarkissac/main
Browse files Browse the repository at this point in the history
fix(logseq 10.5): Automatic link on pressing enter with Logseq 10.5
  • Loading branch information
sawhney17 authored Feb 8, 2024
2 parents 4abbe6d + 08c16d7 commit 42b83f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 42b83f1

Please sign in to comment.