Ok, do not actually do this, but for theory purposes. @Tony. You slightly got the css property wrong. "white-space:pre" will not wrap at all. To see what I mean, copy and paste the following code to a new tiddler in tiddlywiki.com and see
<section style="white-space: pre;"> blank line here !Marked Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam mi augue, ultricies sed faucibus a, tristique rhoncus risus. Donec varius turpis hendrerit massa dapibus, sit amet dictum ipsum blandit. Aenean neque tortor, scelerisque ac elementum accumsan, iaculis quis odio. Vestibulum imperdiet aliquam justo eget aliquet. Maecenas sed magna quis lacus lobortis tincidunt. Proin eget consequat arcu. Aliquam rutrum orci id justo aliquam elementum. Nunc elementum commodo ligula, non interdum lorem fermentum et. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer gravida efficitur metus. Integer faucibus interdum tortor, sed molestie odio ultricies sit amet. Vivamus ornare in sapien a porta. Your pasted text Wikitext markup if desired </section> You can see that text goes beyond the edge of tiddler. The property value we are looking for is pre-wrap. In the above code, try 'pre-wrap' where 'pre' is wriiten. Now, ideally we ought to be able to open up "$:/core/ui/viewtemplate/body" and add "style="white-space: pre-wrap;" to the reveal widget, we should be able to make every tiddler in the wiki follow the sane rules. The reveal widget code would look like this <$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=< <folded-state>> text="hide" retain="yes" animate="yes" style="white-space: pre-wrap;"> However, the rest of CSS is build on the premise of non-existence of such a property. Which means, if you do this, some other UI elements will start looking weird. For eg; If you your own buttons to the body of a tiddler, they will look like they are bloated. If you add tabs to the body of a tiddler, they will look like somebody pulled them vertically. In case your only intention is to add text/links/lists etc to tiddlers, the above would work. Comes with the obligatory warning that you must not try this in a wiki in use - but in an empty wiki. Sincerely, Riz On Wednesday, 13 May 2020 21:51:17 UTC+5:30, Riz wrote: > > We can just do away with nuances and add this to > $:/core/ui/ViewTemplate/body and call it a day. > > Sincerely, > Riz > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fad34f8e-96fe-42ba-8fe4-8bc040bb93c0%40googlegroups.com.

