1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-27 01:14:44 +00:00

convert indentation to tabs in body-editor EditTemplate

This commit is contained in:
BurningTreeC 2024-11-10 18:01:26 +01:00
parent 6682c460af
commit 848215044d

View File

@ -4,38 +4,38 @@ title: $:/core/ui/EditTemplate/body/editor
<$edit <$edit
field="text" field="text"
class=<<get.tc-edit-texteditor.class>> class=<<get.tc-edit-texteditor.class>>
placeholder={{$:/language/EditTemplate/Body/Placeholder}} placeholder={{$:/language/EditTemplate/Body/Placeholder}}
tabindex={{$:/config/EditTabIndex}} tabindex={{$:/config/EditTabIndex}}
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}} focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
cancelPopups="yes" cancelPopups="yes"
fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}} fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}
><$set ><$set
name="targetTiddler" name="targetTiddler"
value=<<currentTiddler>> value=<<currentTiddler>>
><$list ><$list
filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]" filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]"
><$reveal ><$reveal
type="nomatch" type="nomatch"
state=<<config-visibility-title>> state=<<config-visibility-title>>
text="hide" text="hide"
class="tc-text-editor-toolbar-item-wrapper" class="tc-text-editor-toolbar-item-wrapper"
><$transclude ><$transclude
tiddler="$:/core/ui/EditTemplate/body/toolbar/button" tiddler="$:/core/ui/EditTemplate/body/toolbar/button"
mode="inline" mode="inline"
/></$reveal></$list><$list /></$reveal></$list><$list
filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]" filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]"
><$list ><$list
filter={{!!condition}} filter={{!!condition}}