title: $:/core/ui/EditTemplate
modifier: JeremyRuston
\define frame-classes()
tw-tiddler-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$
\end
>>
<$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>
<$view field="title"/>
<$edit-text field="draft.title" class="title tw-edit-texteditor"/>
<$transclude tiddler="$:/core/ui/TagsEditor"/>
<$reveal state="$:/ShowEditPreview" type="match" text="yes">
<$transclude tiddler="$:/core/ui/EditorHint"/> <$button type="set" set="$:/ShowEditPreview" setTo="no">hide preview$button>
<$transclude />
<$edit field="text" class="tw-edit-texteditor"/>
$reveal>
<$reveal state="$:/ShowEditPreview" type="nomatch" text="yes">
<$transclude tiddler="$:/core/ui/EditorHint"/> <$button type="set" set="$:/ShowEditPreview" setTo="yes">show preview$button>
<$edit field="text" class="tw-edit-texteditor"/>
$reveal>
<$transclude tiddler="$:/core/ui/FieldEditor"/>