I don’t use linked mentions often, and there was a reference to a Mentions: Toggle
command in an older version, but it doesn’t work anymore. Any suggestions about what I can do?
The linked mentions widget is defined in Library/Std/Widgets. All the library space-lua code can be overridden by lower priority space-lua (lower priority means it is run last and will override “higher” priority code). So you can put this in a space-lua
block to remove it:
```space-lua
widgets = widgets or {}
function widgets.linkedMentions(pageName)
return nil
end
```
im getting a parse error for this code
i pasted it exactly between ${
and }
edit: never mind, i had to put it between the space-lua block as you said. thanks a lot!
I just edited the solution post to make it more copy & pastable. There’s some trickery you need to know how to do this in markdown .
You can probably omit the initial widgets = widgets or {}
line although it doesn’t hurt.
Good to know!