2016-04-22 07:36:29 +00:00
|
|
|
title: $:/core/ui/EditTemplate/body/editor
|
|
|
|
|
2022-03-26 14:16:01 +00:00
|
|
|
\whitespace trim
|
|
|
|
|
2016-05-11 17:09:54 +00:00
|
|
|
<$edit
|
|
|
|
|
|
|
|
field="text"
|
2019-10-06 13:58:45 +00:00
|
|
|
class="tc-edit-texteditor tc-edit-texteditor-body"
|
2016-05-11 17:09:54 +00:00
|
|
|
placeholder={{$:/language/EditTemplate/Body/Placeholder}}
|
2019-03-02 18:04:27 +00:00
|
|
|
tabindex={{$:/config/EditTabIndex}}
|
2019-10-12 14:10:24 +00:00
|
|
|
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
|
2020-06-11 10:41:35 +00:00
|
|
|
cancelPopups="yes"
|
2021-05-19 20:52:43 +00:00
|
|
|
fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}
|
2016-05-11 17:09:54 +00:00
|
|
|
|
|
|
|
><$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"
|
|
|
|
|
2021-05-19 20:52:43 +00:00
|
|
|
/></$reveal></$list><$list
|
|
|
|
|
|
|
|
filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]"
|
|
|
|
|
|
|
|
><$list
|
|
|
|
filter={{!!condition}}
|
|
|
|
variable="list-condition"
|
|
|
|
><$transclude/>
|
|
|
|
</$list></$list></$set></$edit>
|