How do I hide a prefix and/or suffix snippet from the snippets/stamp menu? Since I don’t actually click/tap on those, it seems like a waste of of space for them to be displayed in the snippets/stamp menu.
Hi @Gloria
Create a new tiddler and paste this code inside:
<<tag "$:/tags/TextEditor/Snippet">>
In view mode, click on the tag pill, select the snippet you want to remove from the list, the remove its $:/tags/TextEditor/Snippet
tag.
Hope this helps,
Fred
Does the code go in the prefix/suffix tiddler or the regular snippet tiddler?
System tag $:/tags/TextEditor/Snippet
is used by core to tag snippet tiddlers listed under the “stamp” editor toolbar button.
If you want to remove some predefined snippets from the list, you first have to locate relevant tiddlers, but they are system tiddlers, thus not easy to find.
The <<tag "$:/tags/TextEditor/Snippet">>
macro call is only used in a single-use throwaway new tiddler, so that you can use the tag pill to locate relevant tiddlers, and then un-tag them.
With snippets using XXX/prefix
and XXX/suffix
tiddlers to add a prefix and a suffix instead of replacing the selection, as documented here, only the parent tiddler is tagged $:/tags/TextEditor/Snippet
, so it’s the only one you’ll have to un-tag.
Fred