-<$edit-text field="color" tag="input" type="color"/> / <$edit-text field="color" tag="input" type="text" size="9"/>
+<$edit-text field="color" tag="input" type="color"/>
+ /
+<$edit-text field="color" tag="input" type="text" size="9"/>
diff --git a/core/ui/Manager/ItemSidebarTools.tid b/core/ui/Manager/ItemSidebarTools.tid
index 45876e989..8c46e1d90 100644
--- a/core/ui/Manager/ItemSidebarTools.tid
+++ b/core/ui/Manager/ItemSidebarTools.tid
@@ -2,9 +2,14 @@ title: $:/Manager/ItemSidebar/Tools
tags: $:/tags/Manager/ItemSidebar
caption: {{$:/language/Manager/Item/Tools}}
+\whitespace trim
<$macrocall $name="colour-picker-recent" actions="""$actions$"""/>
@@ -39,12 +44,14 @@ $actions$
---
<$list filter="LightPink Pink Crimson LavenderBlush PaleVioletRed HotPink DeepPink MediumVioletRed Orchid Thistle Plum Violet Magenta Fuchsia DarkMagenta Purple MediumOrchid DarkViolet DarkOrchid Indigo BlueViolet MediumPurple MediumSlateBlue SlateBlue DarkSlateBlue Lavender GhostWhite Blue MediumBlue MidnightBlue DarkBlue Navy RoyalBlue CornflowerBlue LightSteelBlue LightSlateGrey SlateGrey DodgerBlue AliceBlue SteelBlue LightSkyBlue SkyBlue DeepSkyBlue LightBlue PowderBlue CadetBlue Azure LightCyan PaleTurquoise Cyan Aqua DarkTurquoise DarkSlateGrey DarkCyan Teal MediumTurquoise LightSeaGreen Turquoise Aquamarine MediumAquamarine MediumSpringGreen MintCream SpringGreen MediumSeaGreen SeaGreen Honeydew LightGreen PaleGreen DarkSeaGreen LimeGreen Lime ForestGreen Green DarkGreen Chartreuse LawnGreen GreenYellow DarkOliveGreen YellowGreen OliveDrab Beige LightGoldenrodYellow Ivory LightYellow Yellow Olive DarkKhaki LemonChiffon PaleGoldenrod Khaki Gold Cornsilk Goldenrod DarkGoldenrod FloralWhite OldLace Wheat Moccasin Orange PapayaWhip BlanchedAlmond NavajoWhite AntiqueWhite Tan BurlyWood Bisque DarkOrange Linen Peru PeachPuff SandyBrown Chocolate SaddleBrown Seashell Sienna LightSalmon Coral OrangeRed DarkSalmon Tomato MistyRose Salmon Snow LightCoral RosyBrown IndianRed Red Brown FireBrick DarkRed Maroon White WhiteSmoke Gainsboro LightGrey Silver DarkGrey Grey DimGrey Black" variable="colour-picker-value">
+
<$macrocall $name="colour-picker-inner" actions="""$actions$"""/>
$list>
---
<$edit-text tiddler="$:/config/ColourPicker/New" tag="input" default="" placeholder=""/>
+
<$edit-text tiddler="$:/config/ColourPicker/New" type="color" tag="input"/>
<$set name="colour-picker-value" value={{$:/config/ColourPicker/New}}>
<$macrocall $name="colour-picker-inner" actions="""$actions$"""/>
diff --git a/core/wiki/macros/copy-to-clipboard.tid b/core/wiki/macros/copy-to-clipboard.tid
index 8d1408255..910e955a9 100644
--- a/core/wiki/macros/copy-to-clipboard.tid
+++ b/core/wiki/macros/copy-to-clipboard.tid
@@ -2,16 +2,19 @@ title: $:/core/macros/copy-to-clipboard
tags: $:/tags/Macro
\define copy-to-clipboard(src,class:"tc-btn-invisible",style)
+\whitespace trim
<$button class=<<__class__>> style=<<__style__>> message="tm-copy-to-clipboard" param=<<__src__>> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>
-{{$:/core/images/copy-clipboard}} <$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>
+{{$:/core/images/copy-clipboard}}
+
+<$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>
$button>
\end
\define copy-to-clipboard-above-right(src,class:"tc-btn-invisible",style)
+\whitespace trim
<$macrocall $name="copy-to-clipboard" src=<<__src__>> class=<<__class__>> style=<<__style__>>/>
\end
-
diff --git a/core/wiki/macros/dumpvariables.tid b/core/wiki/macros/dumpvariables.tid
index d713fd073..0ab9e2001 100644
--- a/core/wiki/macros/dumpvariables.tid
+++ b/core/wiki/macros/dumpvariables.tid
@@ -2,6 +2,7 @@ title: $:/core/macros/dumpvariables
tags: $:/tags/Macro
\define dumpvariables()
+\whitespace trim
<$list filter="[variables[]]" variable="varname">
-
diff --git a/core/wiki/macros/tag.tid b/core/wiki/macros/tag.tid
index 6fc649bac..c5a6b4c5d 100644
--- a/core/wiki/macros/tag.tid
+++ b/core/wiki/macros/tag.tid
@@ -7,12 +7,16 @@ fill:$(foregroundColor)$;
color:$(foregroundColor)$;
\end
+
\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)
-<$vars foregroundColor=<> backgroundColor="""$colour$""">
-<$element-tag$ $element-attributes$ class="tc-tag-label tc-btn-invisible" style=<>>
-$actions$<$transclude tiddler="""$icon$"""/><$view tiddler=<<__tag__>> field="title" format="text" />
-$element-tag$>
-$vars>
+<$vars
+ foregroundColor=<>
+ backgroundColor="""$colour$"""
+><$element-tag$
+ $element-attributes$
+ class="tc-tag-label tc-btn-invisible"
+ style=<>
+>$actions$<$transclude tiddler="""$icon$"""/><$view tiddler=<<__tag__>> field="title" format="text" />
\end
\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)
@@ -20,6 +24,7 @@ $actions$<$transclude tiddler="""$icon$"""/><$view tiddler=<<__tag__>> field="ti
\end
\define tag-pill(tag,element-tag:"span",element-attributes:"",actions:"")
+\whitespace trim
>>
<$let currentTiddler=<<__tag__>>>
<$macrocall $name="tag-pill-body" tag=<<__tag__>> icon={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}} colour={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}} palette={{$:/palette}} element-tag="""$element-tag$""" element-attributes="""$element-attributes$""" actions="""$actions$"""/>
diff --git a/core/wiki/macros/thumbnails.tid b/core/wiki/macros/thumbnails.tid
index 5b3691ae8..213b6520c 100644
--- a/core/wiki/macros/thumbnails.tid
+++ b/core/wiki/macros/thumbnails.tid
@@ -1,16 +1,28 @@
title: $:/core/macros/thumbnails
tags: $:/tags/Macro
+
\define thumbnail(link,icon,color,background-color,image,caption,width:"280",height:"157")
-<$link to="""$link$""">
-
<$reveal type="nomatch" text="" default="""$image$""" tag="div" style="width:$width$px;height:$height$px;">
-[img[$image$]]
-$reveal><$reveal type="match" text="" default="""$image$""" tag="div" class="tc-thumbnail-background" style="width:$width$px;height:$height$px;background-color:$background-color$;">$reveal>
-$icon$
-
-$caption$
-
-
$link>
+<$link to="""$link$"""><$reveal
+ type="nomatch"
+ text=""
+ default="""$image$"""
+ tag="div"
+ style="width:$width$px;height:$height$px;"
+>[img[$image$]]$reveal><$reveal
+ type="match"
+ text=""
+ default="""$image$"""
+ tag="div"
+ class="tc-thumbnail-background"
+ style="width:$width$px;height:$height$px;background-color:$background-color$;"
+>$reveal>
$icon$
$caption$
$link>
\end
\define thumbnail-right(link,icon,color,background-color,image,caption,width:"280",height:"157")
diff --git a/core/wiki/macros/translink.tid b/core/wiki/macros/translink.tid
index 4c5018673..1a1f54c99 100644
--- a/core/wiki/macros/translink.tid
+++ b/core/wiki/macros/translink.tid
@@ -2,6 +2,7 @@ title: $:/core/macros/translink
tags: $:/tags/Macro
\define translink(title,mode:"block")
+\whitespace trim
<$link to="""$title$""">
<$text text="""$title$"""/>