2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/body
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2014-06-12 07:36:30 +00:00
|
|
|
\define lingo-base() $:/language/EditTemplate/Body/
|
2016-04-22 07:36:29 +00:00
|
|
|
\define config-visibility-title()
|
|
|
|
$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
|
|
|
|
\end
|
2021-05-19 20:52:43 +00:00
|
|
|
|
|
|
|
\define importFileActions()
|
|
|
|
<$action-popup $state=<<importState>> $coords="(0,0,0,0)" $floating="yes"/>
|
|
|
|
\end
|
|
|
|
|
2018-08-18 13:47:35 +00:00
|
|
|
<$list filter="[all[current]has[_canonical_uri]]">
|
2014-06-12 07:36:30 +00:00
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
<div class="tc-message-box">
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
<<lingo External/Hint>>
|
|
|
|
|
|
|
|
<a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a>
|
|
|
|
|
2020-06-11 10:41:35 +00:00
|
|
|
<$edit-text field="_canonical_uri" class="tc-edit-fields" tabindex={{$:/config/EditTabIndex}} cancelPopups="yes"></$edit-text>
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
2021-10-28 18:17:15 +00:00
|
|
|
<$set name="edit-preview-state" value={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualify "$:/state/showeditpreview">] }}}>
|
2018-08-18 13:47:35 +00:00
|
|
|
<$list filter="[all[current]!has[_canonical_uri]]">
|
2021-05-19 20:52:43 +00:00
|
|
|
<$vars importTitle=<<qualify $:/ImportImage>> importState=<<qualify $:/state/ImportImage>> >
|
2021-10-28 18:17:15 +00:00
|
|
|
<$dropzone importTitle=<<importTitle>> autoOpenOnImport="no" contentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}} class="tc-dropzone-editor" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}} filesOnly="yes" actions=<<importFileActions>> ><$reveal stateTitle=<<edit-preview-state>> type="match" text="yes">
|
2016-04-22 07:36:29 +00:00
|
|
|
<div class="tc-tiddler-preview">
|
2016-02-15 11:38:21 +00:00
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor" mode="inline"/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
<div class="tc-tiddler-preview-preview">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2016-02-15 11:38:21 +00:00
|
|
|
<$transclude tiddler={{$:/state/editpreviewtype}} mode="inline">
|
|
|
|
|
|
|
|
<$transclude tiddler="$:/core/ui/EditTemplate/body/preview/output" mode="inline"/>
|
|
|
|
|
|
|
|
</$transclude>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
|
|
|
</$reveal>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2021-10-28 18:17:15 +00:00
|
|
|
<$reveal stateTitle=<<edit-preview-state>> type="nomatch" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor" mode="inline"/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2021-05-19 20:52:43 +00:00
|
|
|
</$dropzone>
|
|
|
|
</$vars>
|
2021-10-28 18:17:15 +00:00
|
|
|
</$list>
|
|
|
|
</$set>
|