> This question is mainly for Eric Shulman as it is in relation with
> NestedSlidersPlugin, but feel free to jump in !
>
> I have a MTC here :https://dl.dropboxusercontent.com/u/9385804/MTCforNSP.html
>
> I've defined a style for a button in a somewhat complicated way
In your test case, you wrote:
------------------
+++{{blue-button{[button|info]}}}
a
b
c
===
------------------
As you noted, the above syntax doesn't appear to be setting the CSS
class on the slider button. However, you may also notice that it
doesn't display the intended label (i.e. "button"), and that when you
open the slider, the syntax that followed the opening "{{" of the
class (including the button label definition) is shown as *content
within the slider*.
The problem originates with the classname you have used: "blue-
button". Although this is a valid CSS classname, the NestedSliders
syntax currently only allows combinations of "word" characters (regex
code: "\w") and spaces (regex code: "\s") to be recognized.
Unfortunately, \w apparently does NOT include the hyphen ("-"). As a
result, "blue-button" fails to parse correctly, affecting the
remainder of the parsing, resulting in a "mangled" slider being
rendered.
Until I can fix this, you can work around the problem simply by
eliminating the use of "-" in your CSS classnames.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.