2023-04-17 10:13:35 +00:00
|
|
|
title: Data/ImportCompound
|
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
description: Importing a compound payload tiddler and adding custom fields
|
|
|
|
|
|
|
|
title: Description
|
|
|
|
text: Importing a compound payload tiddler and adding custom fields
|
|
|
|
+
|
|
|
|
title: Output
|
|
|
|
|
|
|
|
\whitespace trim
|
2023-05-04 07:57:43 +00:00
|
|
|
<$testcase template="$:/core/ui/testcases/RawJSONTemplate">
|
2023-04-17 10:13:35 +00:00
|
|
|
<$data $compound-tiddler="Compound" custom="Alpha"/>
|
2023-05-04 07:57:43 +00:00
|
|
|
</$testcase>
|
2023-04-17 10:13:35 +00:00
|
|
|
+
|
|
|
|
title: Compound
|
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
|
|
|
|
title: Payload Tiddler
|
|
|
|
tags: Alpha Beta Gamma
|
|
|
|
|
|
|
|
This is a payload tiddler from a compound tiddler
|
|
|
|
+
|
|
|
|
title: ExpectedResult
|
|
|
|
|
2023-05-04 07:57:43 +00:00
|
|
|
<p><div>[{"title":"Payload Tiddler","tags":"Alpha Beta Gamma","text":"This is a payload tiddler from a compound tiddler","custom":"Alpha"}]</div></p>
|