obsidian-slash-commander
obsidian-slash-commander copied to clipboard
Slash commander commands show "This command is not available currently" on 1.9.1
Hi, update to Obsidian 1.9.1 (w/ Slash commander 0.3.4 still) seems to have disabled all my commands? Windows 11 desktop. The same seems to happen on a clear vault for several of the commands. Re-creating the commands makes them show up again; maybe previously made commands' availability settings aren't set? But I also cannot click to edit their settings, just that the command is not available;
Here is the data.json, it seems they lack the entries:
- "action": "editor:follow-link",
- "triggerMode": "anywhere",
- "isGroup": false,
..that do get populated when a new command is made
Could you remove the version: 2 (or set it to 1) from your data and reload the plugin?
Setting the version to 1 and restarting Obsidian did fix the commands (seems the data.json got converted correctly to the version 2 format); it also seems to have added Admonition, Excalidraw, Task, Template and Citation. This was with Slash commander updated to 0.3.5. The update also seemed to allow the broken commands to be edited but the textbox for selecting an Obsidian command was blank.
The default settings may be merged accidentally. I'll fix it.
The textbox for selecting a command will always show the command id of the slash command being edited. If the slash command has an action field, it will be there as the command id.
默认设置可能会被意外合并。我会修复它。
用于选择命令的文本框将始终显示正在编辑的斜线命令的命令 ID。如果斜线命令有
action字段,则该字段将作为命令 ID 存在。
@alephpiece I've also encountered this issue. Is it fixed? Should I delete the unavailable commands now?