Hi,

I'm trying to generate new tiddlers using the action-createtiddler widget 
and fold them immediately with "tm-fold-tiddler". However, the folding 
doesn't seem to work. This is my code, which I want to use to import 
individual posts ("toots") from the social network Mastodon:

<$edit-text tiddler="$:/temp/mytoot" tag="input" field="titel" 
default="Toot Title" size=30/>


<br />
<$edit-text tiddler="$:/temp/mytoot" tag="textarea" class="editorArea" 
default="json toot"/>


<$button>
<$action-createtiddler $basetitle={{$:/temp/mytoot!!titel}} tags="Toots" 
type="application/json" $savetitle="!!toot-titel" text={{$:/temp/mytoot}}/>
Save json toot
<$action-sendmessage $message="tm-fold-tiddler" 
$param={{$:/temp/mytoot!!titel}} $foldedStatePrefix="$:/state/folded/">
<$action-deletetiddler $tiddler="$:/temp/mytoot"/>
</$button>

What am I doing wrong?

Many thanks,

Stef

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59359b78-44fb-4dd2-93ab-94705d4c1ca3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to