diff --git a/editions/tw5.com/tiddlers/widgets/GridWidget.tid b/editions/tw5.com/tiddlers/widgets/GridWidget.tid index 956947584..bdd15f822 100644 --- a/editions/tw5.com/tiddlers/widgets/GridWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/GridWidget.tid @@ -1,11 +1,12 @@ title: GridWidget tags: widget -The grid widget assembles tiddlers into a tabular grid based on their titles. For example: +The video widget is not yet (re)implemented. ``` +The grid widget assembles tiddlers into a tabular grid based on their titles. For example: + <$grid prefix="GridDemo" rows=3 cols=3/> -``` In this case, the following tiddlers will be rendered: @@ -16,3 +17,4 @@ In this case, the following tiddlers will be rendered: The result is: <$grid prefix="GridDemo" rows=3 cols=3/> +``` diff --git a/editions/tw5.com/tiddlers/widgets/LinkWidget.tid b/editions/tw5.com/tiddlers/widgets/LinkWidget.tid index 3640a71ce..9f167e493 100644 --- a/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/LinkWidget.tid @@ -1,47 +1,14 @@ title: LinkWidget tags: widget -The `link` widget generates links to tiddlers and external URIs. Optionally, hovering over a link can trigger the display of another tiddler as a popup. +The `link` widget generates links to tiddlers. -! Attributes +! Content and Attributes -* `to` - link target can be a URL -* `hover` - the title of a tiddler containing the popup state to set when hovering over the link -* `qualifyHoverTitles` - if this attribute is present then the title of the hover state tiddler is qualified as described in the PopupMechanism +|!Attribute |!Description | +|to |The title of the target tiddler for the link | -The `to` attribute is interpreted as an external link if it matches this regular expression: - -``` -/(?:file|http|https|mailto|ftp|irc|news|data):[^\s'"]+(?:\/|\b)/i -``` - -! Examples - -The `hover` attribute is part of the PopupMechanism. - -For example: - -``` -`$:/MyHover` is {{$:/MyHover}} - -<$link to="HelloThere" hover="$:/MyHover">Hover me to see ~HelloThere!$link> -<$reveal state="$:/MyHover" type="popup"> -