numeroflip / obsidian-auto-template-trigger

An obsidian.md plugin, to automatically trigger a template on new file creation
MIT License
33 stars 0 forks source link

Doesn't work with File Heading Sync Plug In #12

Open dokmanc opened 1 year ago

dokmanc commented 1 year ago

i realize that plugs in are bound to clash and the problem can "be the other plug in", but for what it is worth, this plug in doesn't working with File Heading Sync Plug In

https://github.com/dvcrn/obsidian-filename-heading-sync

numeroflip commented 1 year ago

@dokmanc Thanks for taking interest in this plugin. Would you kindly clarify what's the exact issue you encountered please?

I installed obsidian-filename-heading-sync and noticed, that if I create a new file, I'm prompted for a template, and after the template is inserted, a heading is also inserted by the plugin you mentioned.

# So it looks like that:
# After choosing a template from the prompt

<The content of the template> # The Filename Heading inserted by the Heading Sync plugin

I'm not sure if you were referring to this issue, or maybe another one.

If so, I was able to resolve this issue, by toggling off the Use File Open Hook setting among the options of Filename Heading Sync

Screenshot from 2023-07-15 14-38-51

Please let me know if the issue needs further investigation, or not

maxim commented 1 year ago

@numeroflip I love the minimalism and simplicity of your plugin. Didn't want to start depending on a huge codebase with hundreds of issues just for creating a note from template.

I came here with this exact issue you described, and turning off the "File Open Hook" setting made things perfect. 🎉