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

issue between opener and Templater plugins #57

Open
sharik14 opened this issue Dec 28, 2023 · 0 comments
Open

issue between opener and Templater plugins #57

sharik14 opened this issue Dec 28, 2023 · 0 comments

Comments

@sharik14
Copy link

sharik14 commented Dec 28, 2023

I just started using Templater and boy does it unleash havoc with opener.

What I'm seeing is that a simple Templater script that used something like

var title = await tp.system.prompt ("Please enter meeting title")

would seem to run fine, but IF opener is enabled, after all my prompts finished, a dialog appears that then asks me for a note title: and then applies some of the template elements to a different file (I think another one that was recently opened).

I suspect what's happening is that if I use tp.file.move from templater, opener is opening another file (or this one) and the handles are getting mixed up, such that somewhere a reference that is supposed to refer to the new template instance is somehow referring to the wrong file.

Has anyone else tried to use 'opener' together with 'templater'? If nothing else it might be helpful to revisit the statement "this should be compatible with all existing plugins out of the box".

Thank you!

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

1 participant