Skip to content

Canvas templates fail with 'Template file not found' error when .md extension is incorrectly appended #663

@RoarG

Description

@RoarG

Describe the bug
Unable to add QuickAdd template when using Canvas as a template.

To Reproduce
Steps to reproduce the behavior:
0. Inside QuickAdd Setting

  1. Set name 'Insert Canvas'
  2. Click on 'Add Choice'
  3. Click ⚙︎ (Cogwheel)
  4. Set "Template path" = Template/Canvas.canvas
  5. Toggle "Append link"
  6. Toggle "Open"
  7. Exit setting
  8. Use the QuickAdd inside a note

Expected behavior
A link to the newly created Canvas note appears inside the note where I initialized QuickAdd. The Canvas note opens and is in focus.

Acutal results
QuickAdd: (ERROR) Could not create file
with template:

Template file not found at path
"Templates/Canvas.canvas.md".

Screenshots
image

Desktop (please complete the following information):

  • OS: MACOS
  • Browser: N/A
  • Version:
  • Obsidian Current version: v1.5.11
  • (Installer version: v1.4.13)
  • QuickAdd: 1.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions