Hey,
so probably this is an easy fix for someone with knowledge about lua, but I am bit confused.
Problem: My Mobile bottom bar stopped working after updating (didnt update for a longer time) and a lot of the CONFIG Items changed a bit, most I could “repair”, but not this.
config.set {
plugs = {
-- Add your plugs here (https://silverbullet.md/Plugs)
-- Then run the `Plugs: Update` command to update them
"github:joekrill/silverbullet-treeview/treeview.plug.js",
"github:logeshg5/silverbullet-excalidraw/excalidraw.plug.js",
"github:malys/silverbullet-mindmap/mindmap.plug.js",
},
command.update {
name = "Open Command Palette",
key = "F1", -- for Linux/Windows
mac = "F1",
priotrity = 100
},
command.update {
name = "Navigate: Page Picker",
key = "F2", -- for Linux/Windows
mac = "F2",
priotrity = 100
},
slashCommand.define {
name = "right",
run = function()
editor.invokeCommand("Outline: Move Right")
end
},
slashCommand.define {
name = "left",
run = function()
editor.invokeCommand("Outline: Move Left")
end
},
mobileMenuStyle = "bottom-bar",
actionButton.define {
icon = "chevrons-left",
mobile = true,
priority = -1,
run = function()
editor.invokeCommand("Outline: Move Left")
end
},
actionButton.define {
icon = "chevrons-right",
mobile = true,
priority = -2,
run = function()
editor.invokeCommand("Outline: Move Right")
end
},
actionButton.define {
icon = "bold",
mobile = true,
priority = -3,
run = function()
editor.invokeCommand("Text: Bold")
end
},
actionButton.define {
icon = "italic",
mobile = true,
priority = -4,
run = function()
editor.invokeCommand("Text: Italic")
end
},
actionButton.define {
icon = "minus",
mobile = true,
priority = -5,
run = function()
editor.invokeCommand("Text: Strikethrough")
end
},
}
Where is my mistake?
And I was a programmer in the past, but I am still confused about the config stuff, is there somewhere I can teach myself how this work?
Thanks in advance Bauerbyter