mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 10:37:20 +00:00
19 lines
718 B
Plaintext
19 lines
718 B
Plaintext
title: $:/core/ui/EditTemplate/body
|
|
tags: $:/tags/EditTemplate
|
|
|
|
<$reveal state="$:/ShowEditPreview" type="match" text="yes">
|
|
//<$transclude tiddler="$:/core/ui/EditorHint"/>// <$button type="set" set="$:/ShowEditPreview" setTo="no">hide preview</$button>
|
|
<div class="tw-tiddler-preview">
|
|
<div class="tw-tiddler-preview-preview">
|
|
<$transclude />
|
|
</div>
|
|
<div class="tw-tiddler-preview-edit">
|
|
<$edit field="text" class="tw-edit-texteditor"/>
|
|
</div>
|
|
</div>
|
|
</$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>
|