chhoumann / quickadd

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

[BUG] Unable to complete the MacroChoice tutorial #668

Open kongyuan opened 6 months ago

kongyuan commented 6 months ago

I am following the tutorial : https://quickadd.obsidian.guide/docs/Choices/MacroChoice

shows error: ParseError: Unexpected token

So I delete the last ";" in the end of code, then try again,

shows error: TypeError: def is not a constructor at CustomJS.eval (plugin:customjs:6297:29)

If I run this script by QuickAdd, shows error: QuickAdd: (ERROR) failed to run user script TestQuickAdd. Error: Cannot read properties of undefined (reading 'api')