Hi Josiah,

If you like Richard's version, then I think this will run safer. First 
create a tiddler (open, close, open) called "R" (for Richard). Then paste 
in the code and tag for the toolbar. You can change the tiddler name if you 
also change it in the list filter (the list filter prevents the recursion).

But some things will still not capture nicely. If you try it on "A Gentle 
Guide to TiddlyWiki 
<http://tiddlywiki.com/#A%20Gentle%20Guide%20to%20TiddlyWiki>" you'll see 
that that tiddler gets broken just like it did in my report-based version.

Good luck,
Mark

\define getsnaptitle()
$(currentTiddler)$ Snapshot
\end 

<$list filter="[all[current]!has[draft.of]] -[[R]]">
<$wikify name="outputter" text={{!!text}} output="html">

<$button>
<$set name=snaptitle value=<<getsnaptitle>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<snaptitle>> tags=
"Snapshot" text=<<outputter>>/>
SNAP
</$set>
</$button>

</$wikify>
</$list>



On Friday, May 26, 2017 at 7:38:10 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao RichardWS
>
> UPDATE: It works well capturing Rendered HTML. But I'm hitting walls to 
> full testing. Errors like ...
>
> When trying to delete one Tiddler I got this: TypeError: 
> this.wikifyWidgetNode is undefined. I can no longer delete it or close 
> it, and trying to locks the wiki.
>
> On Refresh ... too much recursion ... I assume that is the gizmo loading. 
> Its not always fatal.
>
> On a much larger TW copy I tested it on I got Error: Stack overflow and 
> couldn't get further.
>
> Best wishes
> Josiah
>
> RichardWilliamSmith wrote:
>>
>> I think this is quite an interesting problem. I don't have it worked out 
>> yet, but I think it's possible.
>>
>> If you want to play around with this I suggest you be VERY CAREFUL! 
>>
>

-- 
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/b82faf2f-6a59-4b36-bd76-920aae927d53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to