mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-06 21:08:01 +00:00
Add spacers to formatting toolbar
This commit is contained in:
@@ -4,6 +4,7 @@ icon: $:/core/images/heading-1
|
|||||||
caption: {{$:/language/Buttons/Heading1/Caption}}
|
caption: {{$:/language/Buttons/Heading1/Caption}}
|
||||||
description: {{$:/language/Buttons/Heading1/Hint}}
|
description: {{$:/language/Buttons/Heading1/Hint}}
|
||||||
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
||||||
|
button-classes: tc-text-editor-toolbar-item-start-group
|
||||||
shortcuts: ((heading-1))
|
shortcuts: ((heading-1))
|
||||||
|
|
||||||
<$action-sendmessage
|
<$action-sendmessage
|
||||||
|
@@ -4,6 +4,7 @@ icon: $:/core/images/mono-block
|
|||||||
caption: {{$:/language/Buttons/MonoBlock/Caption}}
|
caption: {{$:/language/Buttons/MonoBlock/Caption}}
|
||||||
description: {{$:/language/Buttons/MonoBlock/Hint}}
|
description: {{$:/language/Buttons/MonoBlock/Hint}}
|
||||||
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
||||||
|
button-classes: tc-text-editor-toolbar-item-start-group
|
||||||
shortcuts: ((mono-block))
|
shortcuts: ((mono-block))
|
||||||
|
|
||||||
<$action-sendmessage
|
<$action-sendmessage
|
||||||
|
@@ -5,6 +5,7 @@ custom-icon: yes
|
|||||||
caption: {{$:/language/Buttons/Preview/Caption}}
|
caption: {{$:/language/Buttons/Preview/Caption}}
|
||||||
description: {{$:/language/Buttons/Preview/Hint}}
|
description: {{$:/language/Buttons/Preview/Hint}}
|
||||||
condition: [<targetTiddler>]
|
condition: [<targetTiddler>]
|
||||||
|
button-classes: tc-text-editor-toolbar-item-start-group
|
||||||
shortcuts: ((preview))
|
shortcuts: ((preview))
|
||||||
|
|
||||||
<$reveal state="$:/state/showeditpreview" type="match" text="yes" tag="span">
|
<$reveal state="$:/state/showeditpreview" type="match" text="yes" tag="span">
|
||||||
|
@@ -4,6 +4,7 @@ icon: $:/core/images/undo
|
|||||||
caption: {{$:/language/Buttons/Undo/Caption}}
|
caption: {{$:/language/Buttons/Undo/Caption}}
|
||||||
description: {{$:/language/Buttons/Undo/Hint}}
|
description: {{$:/language/Buttons/Undo/Hint}}
|
||||||
condition: [<targetTiddler>!is[image]]
|
condition: [<targetTiddler>!is[image]]
|
||||||
|
button-classes: tc-text-editor-toolbar-item-start-group
|
||||||
|
|
||||||
<$action-sendmessage
|
<$action-sendmessage
|
||||||
$message="tm-edit-text-operation"
|
$message="tm-edit-text-operation"
|
||||||
|
@@ -987,6 +987,10 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-editor-toolbar button.tc-text-editor-toolbar-item-start-group {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.tc-editor-toolbar button.tc-selected {
|
.tc-editor-toolbar button.tc-selected {
|
||||||
background-color: <<colour primary>>;
|
background-color: <<colour primary>>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user