>
>
> IMO this can already be done with macors, without any new invention. 
>
> -m
>  
>
>
Can you provide an example? So far I failed to replicate the intended 
results. When I write <$button <<myparams>>> Hello </$button> it returns an 
error.

Moreover, macros are not taking care of the second part, which is support 
for unknown parameters. 


 For eg: I type

<$button tabindex=0>My Button</$button>

and the generated html fails to show the tabindex property. Tabindex is not 
yet supported as a property of button widget. Currently if we want to add 
it, we need to modify button.js. I was hoping the widgets like button, 
edit-text etc will map all unknown parameters to the generated html 
counterpart without modification. In the above example, it would generate 
<button tabindex="0">My Button<button>



-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/33b9ba0c-6e59-4a4b-9caf-57a089010abe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to