Viewing Tiddlers: a "show me the wikitext" button

34 vues
Accéder directement au premier message non lu

Charlie Veniot

non lue,
7 oct. 2021, 21:11:5907/10/2021
à 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
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message