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:
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 !
WikitextViewPane.json (1.78 KB)