chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.5k stars 136 forks source link

[BUG] templater command run twice in capture #727

Open extremeware4217 opened 3 weeks ago

extremeware4217 commented 3 weeks ago

Describe the bug

I use hot key to spawn a quick add capture with the capture format as,

<%* app.commands.executeCommandById('obsidian-copy-block-link:copy-link-to-block') -%>

and I use Alt-F10 to spawn it at the current block, it run twice.

2024-08-23 16 30 32 2024-08-23 16 30 53

Expected behavior A clear and concise description of what you expected to happen. 2024-08-23 16 36 05

Screenshots 2024-08-23 16 34 50

Desktop (please complete the following information):

Additional context {{TEMPLATE: filepath}} have the same problem