mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-07-03 18:53:28 +00:00
![Simon Huber](/assets/img/avatar_default.png)
* Add editor-height button also to application/javascript ... ... application/json and application/x-tiddler-dictionary * Add stamp button also to application/javascript ... ... application/json and application/x-tiddler-dictionary
16 lines
823 B
Plaintext
16 lines
823 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]] +[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>
|