quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

[BUG] When quickadd uses a template that contains a modalform, it is called twice.

Open toxfu opened this issue 1 month ago • 0 comments

Describe the bug When quickadd uses a template that contains a modalform, it is called twice.

To Reproduce If template contain:

  • Template Code <%* const modalForm = app.plugins.plugins.modalforms.api; const result = await modalForm.openForm("project");

// 🧩 4️⃣ Generamos el frontmatter completo const metaData = --- ${result.asFrontmatterString()} ---;

tR = metaData; %>

QuickAdd: (LOG) TemplateEngine.createFileWithTemplate: Collected 0 template property variables for projects/test.md

Environment (please complete the following information):

  • Obsidian version: [1.10.3]
  • QuickAdd version: [2.8.0]
  • Operating system: [Windows 11]

toxfu avatar Nov 17 '25 20:11 toxfu