mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
c5ea6628f5
Shout out to the TiddlySpot tiddler macro for being completely broken, but also being completely unused, so no one noticed.
17 lines
887 B
Plaintext
17 lines
887 B
Plaintext
title: $:/core/ui/EditorToolbar/editor-height
|
|
tags: $:/tags/EditorToolbar
|
|
icon: $:/core/images/fixed-height
|
|
custom-icon: yes
|
|
caption: {{$:/language/Buttons/EditorHeight/Caption}}
|
|
description: {{$:/language/Buttons/EditorHeight/Hint}}
|
|
condition: [<targetTiddler>type[]] [<targetTiddler>get[type]prefix[text/]] [<targetTiddler>get[type]match[application/javascript]] [<targetTiddler>get[type]match[application/json]] [<targetTiddler>get[type]match[application/x-tiddler-dictionary]] [<targetTiddler>get[type]match[image/svg+xml]] +[first[]]
|
|
dropdown: $:/core/ui/EditorToolbar/editor-height-dropdown
|
|
|
|
\whitespace trim
|
|
<$reveal tag="span" state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed">
|
|
{{$:/core/images/fixed-height}}
|
|
</$reveal>
|
|
<$reveal tag="span" state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="auto">
|
|
{{$:/core/images/auto-height}}
|
|
</$reveal>
|