Applying styling to tiddler as per the docs.
None of these work:
(The *
means that the string should appear anywhere in the value.)
<style>[data-tiddler-title='$:/ControlPanel'] {background:red}</style>
(ideal case)
<style>[data-tiddler-title*='$:/ControlPanel'] {background:red}</style>
<style>[data-tiddler-title*='ControlPanel'] {background:red}</style>
This quirky one does work:
<style>[data-tiddler-title*='ontrolPanel'] {background:red}</style>
(no C
!)
And this one affects all system tiddlers! (Seems like a bug!)
<style>[data-tiddler-title*=":/ControlPanel"] {background:red}</style>
(no $
prefix)
I’ve also tried to uri encode the title, thinking that maybe the $:/
prefix messes things up. It works for other tiddlers but not for $:/ControlPanel :
<$set name="uri" value=<<makedatauri """$:/ControlPanel""" "text/plain">> >
<$set name="urititle" filter="""[<uri>removeprefix[data:text/plain,]]""">
<style>[data-tiddler-title*='<<urititle>>'] {background:red} </style>
</$set>
</$set>
What to do?
Thank you.