Trim Saga: Another batch of medium-sized files (#6270)

* adding trim: Last of the macros I think

* adding trim: EditTemplate and ItemSidebarIcon

* adding trim: control panel basics

* Another hidden space to guide the uglifier

* More consistent nested quoting

* Reconciling tests for \whitespace trim
This commit is contained in:
Cameron Fischer
2022-03-26 11:19:04 -04:00
committed by GitHub
parent 5d69fe7bef
commit 98a509dbf3
9 changed files with 49 additions and 122 deletions

View File

@@ -2,6 +2,7 @@ title: $:/Manager/ItemSidebar/Icon
tags: $:/tags/Manager/ItemSidebar
caption: {{$:/language/Manager/Item/Icon}}
\whitespace trim
<p>
<div class="tc-manager-icon-editor">
<$button popup=<<qualify "$:/state/popup/image-picker">> class="tc-btn-invisible">
@@ -12,10 +13,9 @@ caption: {{$:/language/Manager/Item/Icon}}
<div class="tc-block-dropdown-wrapper" style="position: static;">
<$reveal state=<<qualify "$:/state/popup/image-picker">> type="nomatch" text="" default="" tag="div" class="tc-popup">
<div class="tc-block-dropdown tc-popup-keep" style="width: 80%; left: 10%; right: 10%; padding: 0.5em;">
<$macrocall $name="image-picker-include-tagged-images" actions="""
<$action-setfield $field="icon" $value=<<imageTitle>>/>
<$action-deletetiddler $tiddler=<<qualify "$:/state/popup/image-picker">>/>
"""/>
<$macrocall
$name="image-picker-include-tagged-images"
actions="<$action-setfield $field='icon' $value=<<imageTitle>>/><$action-deletetiddler $tiddler=<<qualify '$:/state/popup/image-picker'>>/>"/>
</div>
</$reveal>
</div>