mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
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
This commit is contained in:
parent
f087a62c99
commit
bb6fee4e1c
@ -3,6 +3,6 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/erase
|
icon: $:/core/images/erase
|
||||||
caption: {{$:/language/Buttons/Clear/Caption}}
|
caption: {{$:/language/Buttons/Clear/Caption}}
|
||||||
description: {{$:/language/Buttons/Clear/Hint}}
|
description: {{$:/language/Buttons/Clear/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
dropdown: $:/core/ui/EditorToolbar/clear-dropdown
|
dropdown: $:/core/ui/EditorToolbar/clear-dropdown
|
||||||
|
|
||||||
|
@ -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/]] [<targetTiddler>get[type]match[application/javascript]] [<targetTiddler>get[type]match[application/json]] [<targetTiddler>get[type]match[application/x-tiddler-dictionary]] +[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]] [<targetTiddler>get[type]match[image/svg+xml]] +[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/line-width
|
icon: $:/core/images/line-width
|
||||||
caption: {{$:/language/Buttons/LineWidth/Caption}}
|
caption: {{$:/language/Buttons/LineWidth/Caption}}
|
||||||
description: {{$:/language/Buttons/LineWidth/Hint}}
|
description: {{$:/language/Buttons/LineWidth/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
dropdown: $:/core/ui/EditorToolbar/line-width-dropdown
|
dropdown: $:/core/ui/EditorToolbar/line-width-dropdown
|
||||||
|
|
||||||
<$text text={{$:/config/BitmapEditor/LineWidth}}/>
|
<$text text={{$:/config/BitmapEditor/LineWidth}}/>
|
@ -3,7 +3,7 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/opacity
|
icon: $:/core/images/opacity
|
||||||
caption: {{$:/language/Buttons/Opacity/Caption}}
|
caption: {{$:/language/Buttons/Opacity/Caption}}
|
||||||
description: {{$:/language/Buttons/Opacity/Hint}}
|
description: {{$:/language/Buttons/Opacity/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
dropdown: $:/core/ui/EditorToolbar/opacity-dropdown
|
dropdown: $:/core/ui/EditorToolbar/opacity-dropdown
|
||||||
|
|
||||||
<$text text={{$:/config/BitmapEditor/Opacity}}/>
|
<$text text={{$:/config/BitmapEditor/Opacity}}/>
|
||||||
|
@ -3,7 +3,7 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/paint
|
icon: $:/core/images/paint
|
||||||
caption: {{$:/language/Buttons/Paint/Caption}}
|
caption: {{$:/language/Buttons/Paint/Caption}}
|
||||||
description: {{$:/language/Buttons/Paint/Hint}}
|
description: {{$:/language/Buttons/Paint/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
dropdown: $:/core/ui/EditorToolbar/paint-dropdown
|
dropdown: $:/core/ui/EditorToolbar/paint-dropdown
|
||||||
|
|
||||||
\define toolbar-paint()
|
\define toolbar-paint()
|
||||||
|
@ -3,7 +3,7 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/rotate-left
|
icon: $:/core/images/rotate-left
|
||||||
caption: {{$:/language/Buttons/RotateLeft/Caption}}
|
caption: {{$:/language/Buttons/RotateLeft/Caption}}
|
||||||
description: {{$:/language/Buttons/RotateLeft/Hint}}
|
description: {{$:/language/Buttons/RotateLeft/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
|
|
||||||
<$action-sendmessage
|
<$action-sendmessage
|
||||||
$message="tm-edit-bitmap-operation"
|
$message="tm-edit-bitmap-operation"
|
||||||
|
@ -3,6 +3,6 @@ tags: $:/tags/EditorToolbar
|
|||||||
icon: $:/core/images/size
|
icon: $:/core/images/size
|
||||||
caption: {{$:/language/Buttons/Size/Caption}}
|
caption: {{$:/language/Buttons/Size/Caption}}
|
||||||
description: {{$:/language/Buttons/Size/Hint}}
|
description: {{$:/language/Buttons/Size/Hint}}
|
||||||
condition: [<targetTiddler>is[image]]
|
condition: [<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]
|
||||||
dropdown: $:/core/ui/EditorToolbar/size-dropdown
|
dropdown: $:/core/ui/EditorToolbar/size-dropdown
|
||||||
|
|
||||||
|
@ -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/]] [<targetTiddler>get[type]match[application/javascript]] [<targetTiddler>get[type]match[application/json]] [<targetTiddler>get[type]match[application/x-tiddler-dictionary]] +[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]] [<targetTiddler>get[type]match[image/svg+xml]] +[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