2013-05-31 14:38:27 +00:00
|
|
|
title: $:/core/ui/EditTemplate
|
2012-04-30 11:23:03 +00:00
|
|
|
modifier: JeremyRuston
|
|
|
|
|
2013-10-15 13:32:45 +00:00
|
|
|
\define frame-classes()
|
|
|
|
tw-tiddler-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$
|
|
|
|
\end
|
2013-11-07 22:55:05 +00:00
|
|
|
<div class=<<frame-classes>>><span class="tw-tiddler-controls titlebar"> <$button message="tw-delete-tiddler" class="btn-invisible">{{$:/core/images/delete-button}}</$button> <$button message="tw-cancel-tiddler" class="btn-invisible">{{$:/core/images/cancel-button}}</$button> <$button message="tw-save-tiddler" class="btn-invisible">{{$:/core/images/done-button}}</$button> </span>
|
2013-03-20 17:20:46 +00:00
|
|
|
|
2013-03-22 10:17:31 +00:00
|
|
|
<$view field="title"/>
|
2013-01-17 11:30:35 +00:00
|
|
|
|
2013-11-07 22:55:05 +00:00
|
|
|
<$edit-text field="draft.title" class="titlebar tw-edit-texteditor"/>
|
2013-01-17 11:30:35 +00:00
|
|
|
|
2013-10-30 13:36:44 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/TagsEditor"/>
|
2013-01-17 11:30:35 +00:00
|
|
|
|
2013-05-29 21:43:09 +00:00
|
|
|
<$reveal state="$:/ShowEditPreview" type="match" text="yes">
|
2013-10-30 13:36:44 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/EditorHint"/> <$button type="set" set="$:/ShowEditPreview" setTo="no">hide preview</$button>
|
2013-05-29 21:43:09 +00:00
|
|
|
<div class="tw-tiddler-preview">
|
|
|
|
<div class="tw-tiddler-preview-preview">
|
2013-10-12 16:05:13 +00:00
|
|
|
<$transclude />
|
2013-05-29 21:43:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="tw-tiddler-preview-edit">
|
2013-10-15 13:32:45 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor"/>
|
2013-05-29 21:43:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/ShowEditPreview" type="nomatch" text="yes">
|
2013-10-30 13:36:44 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/EditorHint"/> <$button type="set" set="$:/ShowEditPreview" setTo="yes">show preview</$button>
|
2013-10-15 13:32:45 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor"/>
|
2013-05-29 21:43:09 +00:00
|
|
|
</$reveal>
|
2013-06-02 22:22:16 +00:00
|
|
|
|
2013-10-30 13:36:44 +00:00
|
|
|
<$transclude tiddler="$:/core/ui/FieldEditor"/></div>
|