1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-28 00:03:16 +00:00
TiddlyWiki5/core/ui/EditorToolbar/editor-height.tid
Simon Huber bb6fee4e1c
Remove image-buttons from type image/svg+xml and add editor-height and stamp button (#5042)
* Add stamp button to image/svg+xml

* Add editor-height Button to image/svg+xml

* Remove rotate-left button from image/svg+xml

* Remove size Button from image/svg+xml

* Remove paint Button from image/svg+xml

* Remove line-width Button from image/svg+xml

* Remove clear Button from image/svg+xml

* Remove opacity Button from image/svg+xml
2020-11-15 11:37:30 +00:00

16 lines
870 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
<$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>