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

Templater prompts with button 'remove' option #57

Closed
ConnorMeyers opened this issue Jun 15, 2021 · 3 comments
Closed

Templater prompts with button 'remove' option #57

ConnorMeyers opened this issue Jun 15, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ConnorMeyers
Copy link

When templater prompts are mixed with a button to replace the templates and also set to remove, the button doesn't get removed. (likely because the template prompt reinserts it)

<% tp.system.prompt("Enter text.") %>

button
name Finish
type command
action Templater: Replace templates in the active file
remove true
@shabegom
Copy link
Owner

Yep! I was also having this problem. I'll look into it. Thanks for reporting!

@shabegom shabegom self-assigned this Jun 21, 2021
@shabegom shabegom added the bug Something isn't working label Jun 21, 2021
@shabegom
Copy link
Owner

shabegom commented Aug 8, 2021

I think this will be fixed in the next release. Just working on another bug and then will push out a new version. Basically, I'm delaying the remove a little bit longer so it happens after Templater has finished processing the note.

@shabegom
Copy link
Owner

shabegom commented Aug 8, 2021

Should be fixed in 0.4.12

@shabegom shabegom closed this as completed Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants