Hi Danielo, Andrew and Matabele

Than you very much for your assistance. @Danielo I followed your advice by 
making a clone of the $:/core/ui/EditTemplate/type, removed the 
$:/tag/EditTemplate tag - and started experimenting.

I came very close to what I had in mind: 

http://kinabog.tiddlyspot.com/#%24%3A%2Fplugins%2Fm%C3%A5ns%2Fwikinote%2Fselectnote

$:/plugins/måns/wikinote/selectnote 
<http://kinabog.tiddlyspot.com/#%24%3A%2Fplugins%2Fm%C3%A5ns%2Fwikinote%2Fselectnote>

There are however still some "hickups" with my down scaled code taken from 
the $:/core/ui/EditTemplate/type 
<http://kinabog.tiddlyspot.com/#%24%3A%2Fcore%2Fui%2FEditTemplate%2Ftype>
 tiddler...

Don't know why it shows the title of the current tiddler at the end of the 
listed note titles and breaks the end of the list filter widget? - It's 
probably just a trival fault I made... - I can't make the tm-remove-field 
widget delete the "newtitle" field value from the $:/temp/Stealth tiddler 
either...

If you can see what I should change - please give me a hint :-)


<div class="tc-type-selector"><$fieldmangler>
<$edit-text tiddler="$:/temp/Stealth" field="newtitle" tag="input" 
default="" focusPopup=<<qualify "$:/state/wikinote/note-dropdown">> 
class="tc-edit-typeeditor tc-popup-handle"/> <$button popup=<<qualify 
"$:/state/wikinote/note-dropdown">> class="tc-btn-invisible 
tc-btn-dropdown" tooltip="">{{$:/core/images/down-arrow}}</$button> 
<$button message="tm-remove-field" tiddler="$:/temp/Stealth" 
field="newtitle" class="tc-btn-invisible tc-btn-icon" 
tooltip="">{{$:/core/images/delete-button}}</$button>
</$fieldmangler></div>

<div class="tc-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/wikinote/note-dropdown">> type="nomatch" 
text="" default="">
<div class="tc-block-dropdown tc-edit-type-dropdown">
<$linkcatcher to="$:/temp/Stealth!!newtitle">
<$list filter="[tag[note]]"><$link to={{!!title}}><$view 
field="title"/></$link>
</$list>
<div class="tc-dropdown-item">
<$text text={{!!title}}/>
</div>
</$list>
</$linkcatcher>
</div>
</$reveal>
</div>


Cheers Måns Mårtensson

Den fredag den 8. maj 2015 kl. 15.06.55 UTC+2 skrev Danielo Rodríguez:
>
> Hello Mans, what you would probably need is a popup for a edit field. 
> One example of this is the type field on the edit template. Let me know if 
> that is what you want or not.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/127206e2-26b6-42cd-be95-939fc3f6e61d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to