Hi Mario,

Exactly. What you've described is my current implementation.

But the class field (being a field) can only have one value. Since I need 
two values, what I'm missing is another (custom) field that will match the 
power of class. Or, ideally, the ability to add more custom fields at 
system level that will match the functionality of a class field.

I know I could probably use a custom filter or some regex to match a list 
of classes within the class field but it's probably overkill.

More details in my convoluted post above :)

Many thanks,
Hubert

On Friday, 13 December 2019 12:34:20 UTC, PMario wrote:
>
> On Friday, December 13, 2019 at 11:59:06 AM UTC+1, Hubert wrote:
>
> What I forgot to say is that the functionality I'm looking for is one that 
>> would match the power of the "class" field, in that it would be able to 
>> style the* entire tiddler*, not just its body.
>>
>
> If you add a class field eg: class: test you can do it:
>  
>
>> Like using the class field, we could, say, remove a tiddler's title by 
>> using .tc-titlebar h2 { display: none; } etc.
>>
>
> like this:  .test .tc-titlebar h2 {display: none}
>
> class is applied at the same level as the data-tags elements
>
> -m
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/52acd21f-3a9a-4172-939e-20bce0003880%40googlegroups.com.

Reply via email to