Hi

An option was introduced, in version 5.0.13-beta, to delimit the value 
specified in an attribute to a widget between triple quotes. This turns out 
to be extremely useful, in particular when creating a new tiddler from 
scratch -- as in the 'Stacked Widgets' example.

It is now possible, not only to retain the formatting of the wikitext to 
which the text field will be set, but also to include code (such as an 
enclosed widget button), within this value. 

Take a look at the example at the bottom of the 'Stacked Widgets' tiddler 
at: http://gwiz.tiddlyspot.com

regards

On Tuesday, May 27, 2014 10:01:10 AM UTC+2, Matabele wrote:
>
> Hi 
>
> I have been working on a couple of widget plugins which address problems I 
> was having when developing TW5 applications -- they may be found here: 
> http://gwiz.tiddlyspot.com
>
> The <$setfield> widget was my response to the need to initiate more than 
> one function with one button. Starting out with a mechanism borrowed from 
> the linkcatcher widget, I developed a pair of complementary widgets that 
> could be assembled in a stack around a button widget -- the title of the 
> target widget being passed through the stack with an event parameter.
>
> The <$maketid> widget was my response to the spurious javascript errors I 
> was experiencing with the <$newtiddler> widget. My efforts to address the 
> error by modifying the <$newtiddler> widget failed, and I resorted to 
> rewriting the widget by adopting the mechanism borrowed from the 
> linkcatcher widget. This appears to have cured the bad behaviour of the 
> <$newtiddler> widget, at least in the context in which I was experiencing 
> problems.
>
> I have constructed the widgets in such a way that they may be used 
> together in the same stack. Other widgets could be developed using the same 
> mechanism which could then be added to the widget stack (the 
> <$fieldmangler> and <$linkcatcher> widgets are partially compatible.)
>
> I would welcome any feedback with respect the concept of the widgets, and 
> any ideas with respect modifying the code to broaden the context of their 
> application.
>
> regards
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to