Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't know exactly what is this problem, help me #46

Open
ghost opened this issue Mar 30, 2022 · 2 comments
Open

I don't know exactly what is this problem, help me #46

ghost opened this issue Mar 30, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2022

I'm using lastest obsidian version and plugin
I have this template (Templater Plugin):
CleanShot 2022-03-30 at 22 27 37@2x
After I create new note from that template, i get this:
CleanShot 2022-03-30 at 22 27 52@2x
But what i want is this:
CleanShot 2022-03-30 at 22 30 30@2x
This is my setting plugin:
CleanShot 2022-03-30 at 22 42 35@2x

Only work when i insert template into current note (plugin on)
I tried to turn off your plugin and create new note from that template work. it does not work when i turn on the plugin.
Can you help me? Thank you very much.

@dvcrn
Copy link
Owner

dvcrn commented Mar 31, 2022

After you disabled 'file open hook', did you restart the editor in between? Just trying to get an idea why this is happening

@LilaRest
Copy link

LilaRest commented Apr 18, 2022

Same here, even with "Use file Open Hook" disabled it doesn't work : the note created from the template only contains a title.

The conflict seems to be between the Heading Sync plugin and the tp.file.rename() function of Templater :

  • When I disable the Heading Sync plugin, the template is properly rendered.
  • When I remove the line await tp.file.rename("new file name"), the template is properly rendered but the note is called "Untitled" and the first H1 header of my new note is renamed by "Untitled" (by the Heading Sync plugin)

I hope it will help to fix this.
Until its fixed I will disable the Heading Sync plugin.

Thanks for this incredibly useful plugin 🙂
Lilian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants