Post script

When using this alternate CSS you still need to ensure there is a blank 
line before any wiki text markup or it will not be evaluated

eg
Test
No wrapping

* list item

Tones


On Thursday, 8 October 2020 08:52:37 UTC+11, TW Tones wrote:
>
> Beanman,
>
> Here is a conditional targeting of this behaviour, with this method just 
> add the tag linewrap to tiddlers where you want this occurring.
>
> See [[tiddlywiki.com for more|https://tiddlywiki.com/#Custom%20data-styles
> ]]
>
> Add [data-tags*="linewrap"]  in front of Eric suggested stylesheet and it 
> will only apply to tiddlers tagged linewrap or what ever you call it.
>
> Just put the following CSS content into a tiddler (e.g., MyStylesheet), 
> tagged with $:/tags/Stylesheet:
> [data-tags*="linewrap"] .tc-tiddler-body {
>   word-break: normal;
>   word-wrap: break-word;
>   white-space: pre-wrap;
> }
>
>
> Regards
> Tony
>
> On Thursday, 8 October 2020 08:37:51 UTC+11, TW Tones wrote:
>>
>> Beanman
>>
>> This is a common issue raised with new users, and there are plenty of 
>> work arounds. There are good reasons for the default behaviour but it does 
>> challenge long learned habits.
>>
>> There are some activities and projects occurring that will impact this 
>> and give wiki text authors a lot more possibilities so keep your eyes open.
>>
>> However you may find in WYSIWYG editors such as Microsoft word etc you 
>> are often using double<enter> for paragraph breaks as well, however we do 
>> it, we do need to differentiate between lines and paragraphs. 
>> Yet when using wiki text it is more like a simple text editor so needing 
>> to indicate the paragraph seems unusual, but given wiki text gives you a 
>> lot of formatting and presentation options its ultimate objective is 
>> similar to WYSIS*WYG* outputs.
>>
>> Having used tiddlywiki in its various versions for more than a decade now 
>> I am very familiar with it, yet every now and then it annoys me, others and 
>> new users. Hence the ongoing work 
>>
>> It seems Eric's great suggestion has some other effects, so I am looking 
>> at a way to make it conditional.
>>
>> Tones
>>
>> On Thursday, 8 October 2020 02:11:15 UTC+11, Beanman wrote:
>>>
>>>
>>> Is there any way i could change the default behavior of wikitext so that 
>>> it always behaves as if I'm using """ to get hard line breaks?  Never in my 
>>> life have I pressed the enter key and not wanted to get a hard line break 
>>> out of it, so is there any setting I can change, or maybe just make it so 
>>> that pages start with the triple quotes by default?
>>>
>>

-- 
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/86c05d66-4caa-43c1-b804-858dad6dbfdfo%40googlegroups.com.

Reply via email to