mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-27 06:38:19 +00:00
Add editor-height button and stamp-button to tiddler types that miss them (#4975)
* 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
This commit is contained in:
parent
d51975b183
commit
b3d0303139
@ -4,7 +4,7 @@ icon: $:/core/images/fixed-height
|
|||||||
custom-icon: yes
|
custom-icon: yes
|
||||||
caption: {{$:/language/Buttons/EditorHeight/Caption}}
|
caption: {{$:/language/Buttons/EditorHeight/Caption}}
|
||||||
description: {{$:/language/Buttons/EditorHeight/Hint}}
|
description: {{$:/language/Buttons/EditorHeight/Hint}}
|
||||||
condition: [<targetTiddler>type[]] [<targetTiddler>get[type]prefix[text/]] +[first[]]
|
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
|
dropdown: $:/core/ui/EditorToolbar/editor-height-dropdown
|
||||||
|
|
||||||
<$reveal tag="span" state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed">
|
<$reveal tag="span" state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed">
|
||||||
|
@ -3,7 +3,7 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/stamp
|
icon: $:/core/images/stamp
|
||||||
caption: {{$:/language/Buttons/Stamp/Caption}}
|
caption: {{$:/language/Buttons/Stamp/Caption}}
|
||||||
description: {{$:/language/Buttons/Stamp/Hint}}
|
description: {{$:/language/Buttons/Stamp/Hint}}
|
||||||
condition: [<targetTiddler>type[]] [<targetTiddler>get[type]prefix[text/]] +[first[]]
|
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[]]
|
||||||
shortcuts: ((stamp))
|
shortcuts: ((stamp))
|
||||||
dropdown: $:/core/ui/EditorToolbar/stamp-dropdown
|
dropdown: $:/core/ui/EditorToolbar/stamp-dropdown
|
||||||
text:
|
text:
|
||||||
|
Loading…
Reference in New Issue
Block a user