Hi again Mat
What i meant was: if you insert my field in your plugin’s .../main tiddler (and
remove the focus from your own field) then my field actually works! (Tested on
my iPhone in Safari.)
Put this in your main tiddler and you will see:
\define searchpath() $(currentTiddler)$!!searchwords
\define def() $(sw)$
<$list filter="[<currentTiddler>!has[searchwords]]">
<$button class="searchwords-toggle tc-btn-invisible"
set=<<searchpath>>
setTo=" " tooltip="Add searchwords">
{{$:/core/images/advanced-search-button}}
</$button>
</$list>
<$list filter="[<currentTiddler>has[searchwords]get[searchwords]]"
variable="sw">
<div class="searchwords-area tc-edit-tags ">
<span class="searchwords-info">?</span>
<$edit-text class="searchwords-fld" tag=input
field=searchwords
/>
<$button class="tc-btn-invisible searchwords-btn"
tooltip={{$:/language/EditTemplate/Field/Remove/Hint}}
aria-label={{$:/language/EditTemplate/Field/Remove/Caption}} >
<$action-deletefield $field="searchwords"/>
{{$:/core/images/delete-button}}
</$button>
</div>
<$edit-text field="searchwords" class="tc-titlebar tc-edit-texteditor"
focus="true"/>
<style>.tc-edit-tags {padding-top: 1px; padding-bottom:1px;}</style>
</$list>
---
Cheers, Thomas
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0a1d8bc8-9850-48e3-addf-968c4ed1a00d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.