diff --git a/plugins/tiddlywiki/innerwiki/doc/examples.tid b/plugins/tiddlywiki/innerwiki/doc/examples.tid index f1dab0213..f0a39b381 100644 --- a/plugins/tiddlywiki/innerwiki/doc/examples.tid +++ b/plugins/tiddlywiki/innerwiki/doc/examples.tid @@ -77,9 +77,10 @@ This example shows how the `<$data>` widget can be transcluded from other tiddle By injecting the right payload tiddlers, the innerwiki can be initialised to any desired state. In this example we inject a configuration tiddler to make the "more" page control button visible, and a state tiddler to cause the dropdown to appear: -<$macrocall $name="example" text="""<$innerwiki template="$:/plugins/tiddlywiki/innerwiki/template" filename="screenshot-5.png" width="1200" height="400" clipLeft="500" clipTop="100" clipWidth="600" clipHeight="300" style="width:100%;"> +<$macrocall $name="example" text="""<$innerwiki template="$:/plugins/tiddlywiki/innerwiki/template" filename="screenshot-5.png" width="1200" height="400" style="width:100%;"> <$data title="HelloThere" text="! This tiddler is inside a wiki that is inside a wiki"/> - <$data title="$:/DefaultTiddlers" text="HelloThere"/> + <$data title="Draft of 'HelloThere'" text="This tiddler is inside a wiki that is inside a wiki" draft.of="HelloThere" draft.title="HelloThere"/> + <$data title="$:/DefaultTiddlers" text="[[Draft of 'HelloThere']]"/> <$data title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions" text="show"/> <$data title="$:/state/popup/more--1600698846" text="(151,144,21,25)"/> """/> @@ -91,6 +92,8 @@ An innerwiki can itself contain an inner-innerwiki: <$macrocall $name="example" text="""<$innerwiki width="1200" height="600" style="width:100%;" filename="screenshot-6.png"> <$data title="HelloThere" text="! This tiddler is inside a wiki that is inside a wiki"/> <$data title="$:/DefaultTiddlers" text="HelloThere $:/plugins/tiddlywiki/innerwiki/inner-example"/> + <$data title="$:/state/sidebar" text="no"/> + <$data title="$:/state/showeditpreview" text="yes"/> <$data $tiddler="$:/plugins/tiddlywiki/innerwiki"/> <> """/>