Buttons plugin doesn't work

I’have an error in console for any button code. My code might be very simple like:

name Check
type command
action javascript
code:
  new Notice("Ok!");

Error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘id’)
at command (plugin:buttons:1436:49)
at clickHandler (plugin:buttons:1588:9)
command @ plugin:buttons:1436
clickHandler @ plugin:buttons:1588
await in clickHandler
eval @ plugin:buttons:1567
s @ enhance.js:1

Windows 11 x64, Obsidian 1.9.4, Buttons 0.5.1

1 Like

Moved to help.

1 Like

Buttons is no longer maintained. Its developer recommends Meta Bind instead.

That’s no longer true. Buttons is maintained.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.