kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Refactor out the help text in the editor template
rodzic
0edfc855b4
commit
2ae818dae8
|
@ -12,7 +12,7 @@ modifier: JeremyRuston
|
|||
<$transclude template="$:/core/ui/TagsEditor"/>
|
||||
|
||||
<$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>
|
||||
<$transclude template="$:/core/ui/EditorHint"/> <$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"/>
|
||||
|
@ -23,7 +23,7 @@ modifier: JeremyRuston
|
|||
</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>
|
||||
<$transclude template="$:/core/ui/EditorHint"/> <$button type="set" set="$:/ShowEditPreview" setTo="yes">show preview</$button>
|
||||
<$edit field="text"/>
|
||||
</$reveal>
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
title: $:/core/ui/EditorHint
|
||||
|
||||
<span class="tw-tiddler-help">Use WikiText to add formatting, images, and dynamic features</span>
|
Ładowanie…
Reference in New Issue