1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/core/ui/EditTemplate.tid

33 lines
1.3 KiB
Plaintext
Raw Normal View History

title: $:/core/ui/EditTemplate
modifier: JeremyRuston
<span class="tw-tiddler-controls title"> <$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
<$view field="title"/>
2013-01-17 11:30:35 +00:00
@@.title
<$edit field="draft.title"/>
@@
<div class="tw-tiddler-help">Type tags separated with spaces, &#91;&#91;using double square brackets&#93;&#93; if necessary</div>
2013-03-02 16:08:52 +00:00
2013-01-17 11:30:35 +00:00
<$edit field="tags"/>
2013-05-29 21:43:09 +00:00
<$reveal state="$:/ShowEditPreview" type="match" text="yes">
<span class="tw-tiddler-help">Use WikiText to add formatting, images, and dynamic features</span> <$button type="set" set="$:/ShowEditPreview" setTo="no" >Hide preview</$button>
<div class="tw-tiddler-preview">
<div class="tw-tiddler-preview-preview">
<$view field="text" format="wikified"/>
</div>
<div class="tw-tiddler-preview-edit">
2013-01-17 11:30:35 +00:00
<$edit field="text"/>
2013-05-29 21:43:09 +00:00
</div>
</div>
</$reveal>
<$reveal state="$:/ShowEditPreview" type="nomatch" text="yes">
<span class="tw-tiddler-help">Use WikiText to add formatting, images, and dynamic features</span> <$button type="set" set="$:/ShowEditPreview" setTo="yes" >Show preview</$button>
<$edit field="text"/>
</$reveal>
{{$:/core/ui/FieldEditor}}