Replies: 3 comments 2 replies
-
See: https://tiddlywiki.com/#Hard%20Linebreaks%20with%20CSS
|
Beta Was this translation helpful? Give feedback.
-
Oh, thanks @pmario - somehow I had missed that tiddler and feature! (from 2017!) It keeps popping up as a question, especially for noobs of course, so I was of the impression that it was not "solved". A tag for this would, in many cases, be visually cluttering but this just gave me a super idea to improve TW hackability for CSS: Let's make it a general feature that fields with prefix That would enable users to make custom "special fields" to be used in css! (For example, As should be evident from my plugin development over the years, I have discovered how powerful CSS is in TW. JS is basically blocked, and it is not recommended to overwrite shadows, so CSS is the perfect powertool to basically harmlessly customize stuff. What do you think about this? |
Beta Was this translation helpful? Give feedback.
-
Thanks @saqimtiaz ! OK, great! I attempted to try it out but didn't get anywhere. The brief description in that tiddler is way too cryptic for me to understand and there is no example provided there. (This comment is in no way a request for anyone to "fix" that at this time, and I don't have a use case. I might return to the matter at some later time.) |
Beta Was this translation helpful? Give feedback.
-
The perennial question about line breaks... but might this be a new discovery?
Using the inspector tool on a some transcluded "soft-linebroken" rows I see this:
...buuuut, if I click inside the inspector, on those words, it splits up at the very soft linebreaks:
...so the system (the DOM?) does know there are line breaks there!?
Could perhaps TW utilize this to "allow" soft linebreaks after all?
Beta Was this translation helpful? Give feedback.
All reactions