That works too and should be easy enough. The only reason I wanted to put 
it in the same tiddler was to make the notes a little more hand-editable.
Thank you for the fast responses.

On Sunday, September 27, 2015 at 1:30:01 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Tony
>
>>
>> Is it possible to have my widget alter the contents? I know it is 
>> possible to edit the text of the whole twiddler, but was hoping for 
>> something a little more straight-forward that didn't require finding the 
>> particular instance of my widget.
>>
>
> There's no support at the moment for widgets to modify the wikitext from 
> which they were parsed. Part of the reason is that the possibility of 
> assembling wikitext within a macro means that there is not necessarily a 
> simple correspondence between an instance of a widget and the original 
> source wikitext.
>
> The TiddlyWiki approach would be instead for <$mywidget> to reference its 
> content in another tiddler, and to modify the content of that tiddler as 
> required.
>
> Best wishes
>
> Jeremy.
>  
>
>>
>> I tried updating this.parseTreeNode.children but that didn't seem to 
>> have any effect on the actual twiddler contents.
>> Thank you.
>>
>> -- 
>> 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+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/f1a8e2ea-b921-4c2d-af8d-25feaa021aff%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/f1a8e2ea-b921-4c2d-af8d-25feaa021aff%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com <javascript:>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ffb0551-d694-4533-bb39-7ac84a7e9086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to