Right, well I've worked out why it wasn't working in the empty wiki.

Wanting to make sure I wasn't making any mistakes, I copied and pasted 
$:/tags/Stylesheet 
when adding the tag rather than typing it.
 
To double check if this was the problem, I then added another tag next to 
it and typed it out and deleted the original - it worked. 

So although the contents of both tags looked exactly the same, there was 
something about the copying & pasting that introduced the error.

Thanks again!

Jon


On Thursday, 7 November 2019 06:52:36 UTC, Jon wrote:
>
> Hi Mario,
>
> for tiddlers with field class=myText
>
> .myText .tc-tiddler-body {
>   word-break: normal; 
>   word-wrap: break-word;
>   white-space: pre-wrap;
> }
>
> This works perfectly, thanks- but only in one of my wikis!!
>
> I'd noticed this strange behaviour when I was experimenting with some 
> basic CSS to get that to work first.
>
> I used .myText { border: 2px solid blue; } and found this also only works 
> in one of them.
>
> Thinking there must be something in that wiki which is interfering with 
> it, I downloaded an empty wiki and found .myText { border: 2px solid blue; 
> } doesn't work in that either - but it works as expected at tiddlywiki.com
>
> I've checked and double checked and I'm pretty sure I'm not doing anything 
> else to account for the differences although it does seem pretty strange.
>
> If you try .myText { border: 2px solid blue; } in a downloaded empty 
> tiddlywiki does it work for you?
>
> Regards
> Jon
>
> On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>>
>> Hi,
>>
>> Is using the triple quotes the only way to produce a single line break?
>>
>> For a page of text which includes headers and bullets etc. each piece of 
>> text needs to be enclosed in the quotes.
>>
>> Do not other people find this a tad inconvenient?
>>
>> Is there another way around it?
>>
>> Regards
>> Jon
>>
>>
>>

-- 
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/73d89e74-ed87-4825-b2a9-2c55f6daf6b1%40googlegroups.com.

Reply via email to