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