On Friday, February 5, 2021 at 5:16:02 PM UTC+1 PMario wrote:

On the other hand I do find the problem interesting. I think the "shortened 
> text" in tabs would be interesting for others too. 
> May be there is a way with some tricky CSS. I think I saw an article 
> somewhere.
>

The CSS that I could remember was: text-overflow: ellipsis, but that can 
only be used to truncate longer texts. What we want is something like this: 

eg: $:/plugins/wikilabs/abcdef/plugin-name.js ... should become ... 
$:/plug.../plugin-name.js ... or $:/plu./wik./abc./plugin-name.js 

This will need JS support. 

So we may have some rules for a "to be created" macro eg: 

<$trunc-text text=<<tiddler-title-or-something-else>> chars-start=7 
chars-end=12 spacer="…" />

or something similar. It could also be more intelligent, if it sees TW 
system titles. So we can use the namespace, as shown in my last example.

-mario

-- 
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/66c8def9-a940-487b-9ce3-3eb2213effc2n%40googlegroups.com.

Reply via email to