obsidian-commander
obsidian-commander copied to clipboard
[Bug]: Only a single icon can appear at a time when adding to the Tab Bar
Describe the bug
Obsidian v 1.6.7 Commander v0.5.2
I added multiple items for the Tab Bar in Commander configuration, but no matter how many items I add, there's only a single that ever appears.
Relevant errors (if available)
enhance.js:1 Uncaught DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('obsidian-excalidraw-plugin:Downloaded/Box Selected Elements') contains HTML space characters, which are not valid in tokens.
at Element.addClasses (app://obsidian.md/enhance.js:1:3969)
at Pe.addPageHeaderButton (plugin:cmdr:7:18549)
at Pe.addButtonsToLeaf (plugin:cmdr:7:20802)
at eval (plugin:cmdr:7:20245)
at t.iterateLeaves (app://obsidian.md/app.js:1:2271987)
at t.iterateLeaves (app://obsidian.md/app.js:1:2272085)
at t.iterateLeaves (app://obsidian.md/app.js:1:2272085)
at t.iterateAllLeaves (app://obsidian.md/app.js:1:2272249)
Steps to reproduce
Add more than one item to the tab bar using Commander plugin.
Expected Behavior
For each command added to the tab bar, an icon should appear.
Additional context
No response
Operating system
macOS