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

Cannot configure the plugin in Preferences #21

Open
jdheyburn opened this issue Aug 17, 2023 · 4 comments
Open

Cannot configure the plugin in Preferences #21

jdheyburn opened this issue Aug 17, 2023 · 4 comments

Comments

@jdheyburn
Copy link

Hey

Firstly thanks for making this plugin. It's super useful to be able to assign to a hotkey the ability to create a new file in a location for a template.

It's been a while since I've had to touch the settings for this so apologies if I am using it wrong. I noticed that the settings for the plugin in the Obsidian preferences was empty.

image

I am using the latest version of the plugin, and I am running Obsidian v1.4.3.

Please let me know if you need any more info, thank you!

@Vinzent03
Copy link
Owner

I'm as well on Obsidian 1.4.3, but have no issues. Please open the console (CTRL + SHIFT + I) and share a screenshot of the appearing error.

@jdheyburn
Copy link
Author

jdheyburn commented Aug 18, 2023

Clicked both in and out of focus of the plugin preferences page, and got only this error when focusing on Hotkeys for templates:

Btw I am on MacOS Apple Silicon

Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at pe (app.js:1:246501)
    at Module.he (app.js:1:246422)
    at HotkeysForTemplates.enumerateTemplates (plugin:obsidian-hotkeys-for-templates:2269:51)
    at SettingsTab.display (plugin:obsidian-hotkeys-for-templates:2508:21)
    at t.openTab (app.js:1:2728486)
    at HTMLDivElement.<anonymous> (app.js:1:2726925)
p

@Vinzent03
Copy link
Owner

I think I found the reason. Please specify the templates folder in the settings of the core templates plugin. If that fixes it, I will fix the check that should prevent that.

@jdheyburn
Copy link
Author

That fixed it! Thank you - I didn't even know that was missing 🎉

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