From 63cb0eb3db34d6a7ec3d0ce8a20bfb1035d092b4 Mon Sep 17 00:00:00 2001 From: Xavier Cazin Date: Thu, 27 Feb 2014 19:21:04 +0100 Subject: [PATCH] In the examples, missing blank lines prevented the revealed text to display as a block when clicking on buttons. --- editions/tw5.com/tiddlers/widgets/RevealWidget.tid | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editions/tw5.com/tiddlers/widgets/RevealWidget.tid b/editions/tw5.com/tiddlers/widgets/RevealWidget.tid index 454bf132c..4742dc4e0 100644 --- a/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/RevealWidget.tid @@ -38,8 +38,10 @@ Here's a simple example of showing and hiding content with buttons: <$button set="$:/SampleRevealState" setTo="hide">Hide me <$reveal type="match" state="$:/SampleRevealState" text="show"> + ! This is the revealed content And this is some text + ``` @@ -49,8 +51,10 @@ It renders as: <$button set="$:/SampleRevealState" setTo="hide">Hide me <$reveal type="match" state="$:/SampleRevealState" text="show"> + ! This is the revealed content And this is some text + !! Popup @@ -62,8 +66,10 @@ Here is a simple example of a popup built with the RevealWidget: <$reveal type="popup" state="$:/SamplePopupState">
+ ! This is the popup And this is some text +
``` @@ -74,7 +80,9 @@ It renders as: <$reveal type="popup" state="$:/SamplePopupState">
+ ! This is the popup And this is some text +