buttons
buttons copied to clipboard
TypeError: Cannot read property 'file' of null
When I open a note as Kanban , this error is reported if I click on the buttons which type is command.
I have the same error message when there's no file opened and I click on a button which is in a document in the sidebar. I think this is related to #66 and #67.
Some commands work now with the latest Obsidian version with active sidebar document support. But for example this open system explorer command button I placed in a sidebar note still doesn't work and leaves errors on console.
plugin:buttons:1421 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
at command (plugin:buttons:1421:45)
at clickHandler (plugin:buttons:1570:9)
In 0.16.1, with sidebar focus disabled none of my commands work. With sidebar focus enabled most of them do.
Oh 0.16.1 how will you cause me pain?