mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 06:14:53 +00:00
ea6113b255
* from AutoFocus to ~AutoFocus * Update minifocusswitcher.tid * Update Basics.tid * Update body-editor.tid
33 lines
684 B
Plaintext
33 lines
684 B
Plaintext
title: $:/core/ui/EditTemplate/body/editor
|
|
|
|
<$edit
|
|
|
|
field="text"
|
|
class="tc-edit-texteditor tc-edit-texteditor-body"
|
|
placeholder={{$:/language/EditTemplate/Body/Placeholder}}
|
|
tabindex={{$:/config/EditTabIndex}}
|
|
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
|
|
|
|
><$set
|
|
|
|
name="targetTiddler"
|
|
value=<<currentTiddler>>
|
|
|
|
><$list
|
|
|
|
filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]"
|
|
|
|
><$reveal
|
|
|
|
type="nomatch"
|
|
state=<<config-visibility-title>>
|
|
text="hide"
|
|
class="tc-text-editor-toolbar-item-wrapper"
|
|
|
|
><$transclude
|
|
|
|
tiddler="$:/core/ui/EditTemplate/body/toolbar/button"
|
|
mode="inline"
|
|
|
|
/></$reveal></$list></$set></$edit>
|