2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/body
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2014-02-16 09:46:43 +00:00
|
|
|
\define lingo-base() $:/language/EditTemplate/
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="match" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<em class="tw-edit"><<lingo Body/Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="no"><<lingo Body/Preview/Button/Hide>></$button>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<div class="tw-tiddler-preview">
|
|
|
|
<div class="tw-tiddler-preview-preview">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<$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 class="tw-tiddler-preview-edit">
|
2014-02-16 09:46:43 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
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>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="nomatch" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<em class="tw-edit"><<lingo Body/Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><<lingo Body/Preview/Button/Show>></$button>
|
2014-02-16 09:46:43 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|