среда, 20 февраля 2013 г., 3:41:08 UTC+4 пользователь Tobias Beer написал: > > Hi Yakov, > > I would agree by now that stripping out css is a classical case of > over-engineering, i.e. if you want to define slices using tables, don't use > TiddlyWikis cell styling options. > > When it comes to text-aignment using spaces, I'm not so sure though. I > would always remove any blanks preceeding or following slice-names as well > as a first blank at the beginning and a last blank at the end of a slice > value... as they are there for text-alignment. If you actually need that > beginning blank for your value, then add another blank that won't be > stripped. >
Sure; current implementation is slightly different: for the slice name, there can be one leading space and any number of trailing spaces/tabs; for slice value, there can be any number of both leading and trailing tabs and spaces; but it doesn't allow the white-space symbols as first and last symbols of both name and value -- because of ambiguities mentioned above. Can you provide any use-cases that require white-space in the beginning or end of a slice name/value? > As for extending table styles, I like this approach... > > /%tableStyles > 2| class="myClass" id="myId" style="font-size:20px" | | attrubute1="value > 1" attrubute2="value 2" | rowAttribute="attrValue" > %/ > > It's very flexible and does nothing to a TiddlyWiki lacking the required > plugin support -- quite the ingenious method that might be helpful in a > number of use-cases. > > Cheers, Tobias. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
