2024-05-06 15:37:03 +01:00
|
|
|
title: TestCases/DataWidget/ImportCompound
|
2023-10-26 16:56:15 +01:00
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
description: Importing a compound payload tiddler and adding custom fields
|
|
|
|
|
|
|
|
title: Output
|
|
|
|
|
2024-05-06 15:37:03 +01:00
|
|
|
<pre>
|
2023-10-26 16:56:15 +01:00
|
|
|
<$data $compound-tiddler="Compound" custom="Alpha"/>
|
2024-05-06 15:37:03 +01:00
|
|
|
</pre>
|
2023-10-26 16:56:15 +01: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
|
|
|
|
|
2024-05-06 15:37:03 +01:00
|
|
|
<p><pre>
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"title": "Payload Tiddler",
|
|
|
|
"tags": "Alpha Beta Gamma",
|
|
|
|
"text": "This is a payload tiddler from a compound tiddler",
|
|
|
|
"custom": "Alpha"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
</pre></p>
|