I have added support for *PaintrPlugin* to *TiddlersBarPlugin* (v.1.3.5) as
> well as tab support to *PaintrPlugin*...
> http://paintr.tiddlyspace.com/
>
> Can you figure out the rest? ;-)
>
I think I've got it partly working, although for some reason I can't seem
to apply any styles to a selected TiddlersBar tab - just unselected ones.
If (for the sake of example) the PaintrConfig stylesheet section has...
#tiddlersBar .red.tabUnselected {background:red; }
#tiddlersBar .red.tabSelected {background:red; }
...and the PaintrConfig definitions section has...
ShouldBeRed red
...I do get a red background on any unselected tab where the corresponding
tiddler is tagged ShouldBeRed, but the line I thought would do the same for
the tab when it's selected doesn't seem to have any effect. When I look at
the HTML output using Firebug, I notice that the class of the unselected
tabs contains "red" and "paintr" (class="tab tabUnselected red paintr"),
but any tab I select loses this (class="tab tabSelected", not class="tab
tabSelected red paintr"). That's different to what I see for tabs that
aren't part of the TiddlersBar (just sitting in a tiddler), which have the
"red paintr" bit regardless of whether they're tabSelected or
tabUnselected. That is, the same CSS without the #tiddlersBar in front of
it seems to behave as I'd expect. Adding #tiddlersBar .red.tabSelected
{background:red; } straight to StyleSheetTiddlersBar seems to work, but I
can't seem to apply it via PaintrPlugin.
I'll keep playing with it to see if I can get it to work - sorry if I'm
missing something obvious or using PaintrConfig the wrong way. I hadn't
come across PaintrPlugin before (though I was using ColoredLinksPlugin, so
perhaps I should have thought about attacking the problem from that general
direction). Between that and LinkifyPlugin, I'm probably now ahead of what
I was even looking for, even if I can't solve the issue above, so thanks
very much for all the help.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.