Viewing Tiddlers: a "show me the wikitext" button

25 views
Skip to first unread message

Charlie Veniot

unread,
Oct 7, 2021, 9:11:59 PMOct 7
to TiddlyWiki
Hello,

Just some coding fun.  Download the attached and drag to some TiddlyWiki instance (I suggest TiddlyWiki.com).

I've added a little "Wikitext Inspector" button (nothing fancy) to the ViewToolbar:
Screenshot 2021-10-07 9.54.43 PM.png
It is for toggling show/hide of a tiddler's wikitext while the tiddler is in view mode.
(Screenshot example below.)

Why?

In my Collaborative Recipes TiddlyWiki (Case Study), I'm setting this up for multi-user (and exploring avoidance of multi-user trappings) by allowing a user to edit/delete only the tiddlers for which he/she is the creator and all other tiddlers are view-only.

Well, one of the many problems to resolve with this approach includes the ability for anybody to easily see the code in other users creations.

Hence this button.

Whether of use to you or not, some of you might find checking the tiddlers in the attachment fun to study and play around with.

Cheers !

Screenshot 2021-10-07 9.55.04 PM.png










WikitextViewPane.json
Reply all
Reply to author
Forward
0 new messages