mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
05d38054c8
* Merge * Clean up * More clean up * Ensure image import works when type is not set, clean up post import actions * Removed spurious new line * For non image files insert a tiddler link * Added documentation for new settings and features
43 lines
1010 B
Plaintext
43 lines
1010 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]] }}}
|
|
cancelPopups="yes"
|
|
fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}
|
|
|
|
><$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><$list
|
|
|
|
filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]"
|
|
|
|
><$list
|
|
filter={{!!condition}}
|
|
variable="list-condition"
|
|
><$transclude/>
|
|
</$list></$list></$set></$edit>
|