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

Template Hotkey cannot be deleted #1495

Open
ifulou opened this issue Nov 3, 2024 · 4 comments
Open

Template Hotkey cannot be deleted #1495

ifulou opened this issue Nov 3, 2024 · 4 comments
Labels
bug Something isn't working needs repro Reported issue needs to be reproduced

Comments

@ifulou
Copy link

ifulou commented Nov 3, 2024

Plugin information

  • OS: Windows 10
  • Templater version: 2.9.0
  • Obsidian version: 1.6.7
  • Templater settings: see the picture below

Bug Description

Template Hotkey cannot be deleted.

The delete buttons doesn't work.

See the picture below.

Templater settings

@ifulou ifulou added the bug Something isn't working label Nov 3, 2024
@Zachatoo
Copy link
Collaborator

Zachatoo commented Nov 7, 2024

I cannot reproduce. Are there any errors in the dev tools console when you try to delete a template hotkey?

To access the developer console to look for console errors, you can use the following keyboard combinations:

Windows: CTRL + SHIFT + i
MacOS: CMD + OPTION + i
Linux: CTRL + SHIFT + i

@Zachatoo Zachatoo added the needs repro Reported issue needs to be reproduced label Nov 7, 2024
@ifulou
Copy link
Author

ifulou commented Nov 8, 2024 via email

@simsa-st
Copy link

Hi, I have the same problem on Mac. This shows up in the console when clicking on the delete button:

plugin:templater-obsidian:10 Uncaught TypeError: this.plugin.removeCommand is not a function
    at ln.remove_template_hotkey (plugin:templater-obsidian:10:84604)
    at eval (plugin:templater-obsidian:7:31680)
    at HTMLDivElement.<anonymous> (app.js:1:1485546)
remove_template_hotkey	@	plugin:templater-obsidian:10
eval	@	plugin:templater-obsidian:7
(anonymous)	@	app.js:1

  • OS: macOS 15.0.1 (24A348)
  • Templater version: 2.9.1
  • Obsidian version: 1.6.7

@Zachatoo
Copy link
Collaborator

Try updating to the latest version of Obsidian (1.7.6).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs repro Reported issue needs to be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants