I want to edit the default “tagging” list in the top left corner of each tiddler to have an horizontal layout and stay out of the way of the tiddlers text.
As I am rather new to tiddlywiki and javascript I do not know where and how I would implement this feature. I guess the best place would be as a plugin in a tiddler itself (not editing the sourcecode).
I realized that I can move the “tagging” list itself using the “ViewTemplate” Shadow-Tiddler. It looks as if the tags were created using the “taggin” macro in there. So i guess I would somehow need to modify that macro?
Thanx for all the answers.
It does not require JavaScript to do what you are asking. Here are a few changes to try:
First, I edited the
StyleSheetshadow tiddler, as follows:This causes the
lielements to flow horizontally. I also made the following change to theViewTemplateshadow tiddler:By inserting the
tagCleardiv, I’ve prevented the text from wrapping around thetaggingdivelement.Finally, you may want to get rid of the
"tagging: "label at the start of the list. You can remove (or change it) by creating a configuration tiddler, giving it asystemConfigtag, and adding:This tiddler is sometimes given a name like
zzConfigorzzUserConfigsince thesystemConfigtiddlers are executed in alphabetical order.As an alternative, you may want to combine the effect of editing
ViewTemplatewithStyleSheetas follows:The only thing that remains is to format the div to your liking!