34 lines
780 B
Plaintext
34 lines
780 B
Plaintext
title: Message/tm-import-tiddlers/default
|
|
description: tm-import-tiddlers message by default should import to $:/Import and open the tiddler
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
text: <$text text={{$:/Import}}/>
|
|
plugin-type: <$text text={{$:/Import!!plugin-type}}/>
|
|
~$:/StoryList: <$text text={{$:/StoryList!!list}}/>
|
|
+
|
|
title: Actions
|
|
|
|
<$navigator story="$:/StoryList">
|
|
<$action-sendmessage
|
|
$message="tm-import-tiddlers"
|
|
$param='[{"title": "Elephants"}, {"title": "Eagles"}]'/>
|
|
</$navigator>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>text: {
|
|
"tiddlers": {
|
|
"Elephants": {
|
|
"title": "Elephants"
|
|
},
|
|
"Eagles": {
|
|
"title": "Eagles"
|
|
}
|
|
}
|
|
}
|
|
plugin-type: import
|
|
$:/StoryList: $:/Import</p> |