buttons icon indicating copy to clipboard operation
buttons copied to clipboard

TypeError: Cannot read property 'file' of null

Open cumany opened this issue 2 years ago • 4 comments

When I open a note as Kanban , this error is reported if I click on the buttons which type is command. image image

cumany avatar Feb 11 '22 08:02 cumany

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.

NomarCub avatar Mar 05 '22 22:03 NomarCub

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)

NomarCub avatar Jul 18 '22 20:07 NomarCub

In 0.16.1, with sidebar focus disabled none of my commands work. With sidebar focus enabled most of them do.

NomarCub avatar Aug 31 '22 22:08 NomarCub

Oh 0.16.1 how will you cause me pain?

shabegom avatar Sep 02 '22 00:09 shabegom