Links in button labels have annoyed me also. IMO it is a bug but I think it is intentional based on the repy to this related issue <https://github.com/Jermolene/TiddlyWiki5/issues/1880#issuecomment-120930281> where Jeremy explains why it (i.e that related issue) is justified. See that post and the subsequent 2-3 posts.
<:-) On Thursday, February 4, 2021 at 2:59:15 PM UTC+1 [email protected] wrote: > Hi, > > I noticed something odd and just wondered if this was expected behaviour > or a bug: > > When putting together a list of palettes using different methods like this: > > 1) > {{{[all[tiddlers+shadows]tag[$:/tags/Palette]get[name]]}}} > > All links > > 2) > <$list filter="[all[tiddlers+shadows]tag[$:/tags/Palette]]"> > {{!!name}} > </$list> > > Those with CamelCase names are links. > > 3) > <$list filter="[all[tiddlers+shadows]tag[$:/tags/Palette]]"> > <$button class="tc-btn-invisible"> > {{!!name}} > <$action-setfield $tiddler="$:/palette" text={{!!title}}/> > </$button> > </$list> > > Now they are buttons but the names with CamelCase break the buttons. > > Is this expected behaviour? Should the CamelCasification even be happening > in a button context? Are buttons with link labels even useful in some way? > > Of course, workarounds exist like turning automatic CamelCase off globally > (and saving/reloading) or just stripping off potential CamelCasing with the > Text widget like this. > > <$list filter="[all[tiddlers+shadows]tag[$:/tags/Palette]]"> > <$button class="tc-btn-invisible"> > <$text text={{!!name}}/> > <$action-setfield $tiddler="$:/palette" text={{!!title}}/> > </$button> > </$list> > > Just pointing out a potential setting-specific issue. Thoughts? > > /Mike > -- 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/ddec2002-fbfc-493d-854f-e41863892f69n%40googlegroups.com.

