1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

fixed issue#232

This commit is contained in:
Stephan Hradek 2013-12-28 17:46:53 +01:00
parent cfad04a5d0
commit 46892371cb
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ tags: $:/tags/EditTemplate
Type the text for this tiddler Type the text for this tiddler
\end \end
<$reveal state="$:/ShowEditPreview" type="match" text="yes"> <$reveal state="$:/ShowEditPreview" type="match" text="yes">
//<$transclude tiddler="$:/core/ui/EditorHint"/>// <$button type="set" set="$:/ShowEditPreview" setTo="no">hide preview</$button> <em class="tw-edit"><$transclude tiddler="$:/core/ui/EditorHint"/></em> <$button type="set" set="$:/ShowEditPreview" setTo="no">hide preview</$button>
<div class="tw-tiddler-preview"> <div class="tw-tiddler-preview">
<div class="tw-tiddler-preview-preview"> <div class="tw-tiddler-preview-preview">
<$transclude /> <$transclude />
@ -16,6 +16,6 @@ Type the text for this tiddler
</div> </div>
</$reveal> </$reveal>
<$reveal state="$:/ShowEditPreview" type="nomatch" text="yes"> <$reveal state="$:/ShowEditPreview" type="nomatch" text="yes">
//<$transclude tiddler="$:/core/ui/EditorHint"/>// <$button type="set" set="$:/ShowEditPreview" setTo="yes">show preview</$button> <em class="tw-edit"><$transclude tiddler="$:/core/ui/EditorHint"/></em> <$button type="set" set="$:/ShowEditPreview" setTo="yes">show preview</$button>
<$edit field="text" class="tw-edit-texteditor" placeholder=<<prompt>>/> <$edit field="text" class="tw-edit-texteditor" placeholder=<<prompt>>/>
</$reveal> </$reveal>

View File

@ -9,6 +9,6 @@ tags: $:/tags/EditTemplate
</table> </table>
</div> </div>
<div class="tw-edit-field-add">//Add a new field:// <span class="tw-edit-field-add-name"><$edit-text tiddler="$:/NewFieldName" tag="input" default="" placeholder="field name" class="tw-edit-texteditor"/></span> <span class="tw-edit-field-add-button"><$button message="tw-add-field" param={{$:/NewFieldName}} set="$:/NewFieldName" setTo="" class="">add</$button></span></div> <div class="tw-edit-field-add"><em class="tw-edit">Add a new field:</em> <span class="tw-edit-field-add-name"><$edit-text tiddler="$:/NewFieldName" tag="input" default="" placeholder="field name" class="tw-edit-texteditor"/></span> <span class="tw-edit-field-add-button"><$button message="tw-add-field" param={{$:/NewFieldName}} set="$:/NewFieldName" setTo="" class="">add</$button></span></div>
</$fieldmangler> </$fieldmangler>

View File

@ -1,7 +1,7 @@
title: $:/core/ui/EditTemplate/type title: $:/core/ui/EditTemplate/type
tags: $:/tags/EditTemplate tags: $:/tags/EditTemplate
<p>//Type:// <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button></p> <p><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button></p>
<div class="tw-block-dropdown-wrapper"> <div class="tw-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/typeDropdown">> type="nomatch" text="" default=""> <$reveal state=<<qualify "$:/state/typeDropdown">> type="nomatch" text="" default="">

View File

@ -547,7 +547,7 @@ canvas.tw-edit-bitmapeditor {
** Tiddler edit mode ** Tiddler edit mode
*/ */
.tw-tiddler-edit-frame em { .tw-tiddler-edit-frame em.tw-edit {
color: #999; color: #999;
font-style: normal; font-style: normal;
} }