mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 14:54:51 +00:00
34 lines
725 B
Plaintext
34 lines
725 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]] }}}
|
|
dir={{$:/config/DefaultTextDirection}}
|
|
|
|
><$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>
|