Force re-parse after setText

48 views
Skip to first unread message

Tony Grosinger

unread,
Oct 20, 2015, 10:24:01 AM10/20/15
to TiddlyWiki

I am writing a javascript widget which updates the text field of the current tiddler. After updating I would like to force the tiddler to reparse, not just redraw the existing parsetree. Is that possible, refreshSelf doesn't seem sufficient?

    $tw.wiki.setText(this.tiddlerTitle, "text", null, newTiddlerBody);
    this.refreshSelf();
(xpost from tiddlywikidev due to lack of responses)

Jeremy Ruston

unread,
Oct 20, 2015, 1:07:18 PM10/20/15
to tiddl...@googlegroups.com
Hi Tony
(xpost from tiddlywikidev due to lack of responses)

Apologies for the delay, I’ll post a response over there.

Best wishes

Jeremy


--
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.
To post to this group, send email to tiddl...@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/a84b23ec-a4e5-4b53-8e6b-cd9e847129f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tony Grosinger

unread,
Oct 20, 2015, 5:49:41 PM10/20/15
to TiddlyWiki
No need at all for the apology, just thought I'd send to a wider audience. Thank you!
Reply all
Reply to author
Forward
0 new messages