1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00

Two missing whitespace trims for PageControls (#4296)

* add whitespace trim to help button

* add whitespace trim to new markdown button

* Update help.tid
This commit is contained in:
Simon Huber 2019-10-07 19:50:30 +02:00 committed by Jeremy Ruston
parent 8efd0ace34
commit d8fd2f75d6
2 changed files with 3 additions and 0 deletions

View File

@ -3,7 +3,9 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/help}} {{$:/language/Buttons/Help/Caption}}
description: {{$:/language/Buttons/Help/Hint}}
\whitespace trim
\define help-inner()
\whitespace trim
<$reveal type="match" state="$:/config/ShowHelp" text="yes">
<$button set="$:/config/ShowHelp" setTo="no" tooltip={{$:/language/Buttons/Help/Hint}} aria-label={{$:/language/Buttons/Help/Caption}} class="""$(tv-config-toolbar-class)$ tc-selected""">
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">

View File

@ -4,6 +4,7 @@ caption: {{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}} {{$:/lang
description: {{$:/language/Buttons/NewMarkdown/Hint}}
list-after: $:/core/ui/Buttons/new-tiddler
\whitespace trim
<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}} aria-label={{$:/language/Buttons/NewMarkdown/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" type="text/x-markdown"/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">