I agree with BJ, doing this in tiddlywiki is this task that is better suited to a wikitext than javascript. In my experience using document.querySelectorAll(..) in a wiki leads to strange edge cases because everything can be re-rendered individually.
Do you have existing html that you are trying to put into tiddlywiki or are you creating it in tiddlywiki? If you are creating it in tiddlywiki than it would be much simpler to create a macro for the different tags and put that in places where use them instead of the tags directly. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3c5ef71b-4674-45d9-a157-9cbf70bd2d46%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

