mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
e59f606566
* Add cancelPopups attribute to edit widget * Add cancelPopups attribute to factory.js * Cancel popups in editor/simple.js * Cancel popups on focus in engines/framed.js * Cancel popups on focus in CodeMirror engine * Add cancelPopups="yes" to tag-picker * Add cancelPopups="yes" to sidebar search * Add cancelPopups="yes" to editor * Add cancelPopups="yes" to fields EditTemplate * Update body.tid * Add cancelPopups="yes" to title EditTemplate * Add cancelPopups="yes" to type EditTemplate * Update EditTextWidget.tid * Update EditWidget.tid * Add cancelPopups="yes" to menubar plugin search * Update tag-picker.tid * Update tags.tid
34 lines
705 B
Plaintext
34 lines
705 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"
|
|
|
|
><$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>
|