Hi
Further to Eric's answer -- this may be illustrated with this popup:
<$button tag="input" default="" popup="$:/state/demo" tooltip="Testing"/>
<$reveal state="$:/state/demo" type="popup" text="" position="right"
default="" class="tc-popup-keep tc-block-dropdown">
<$button class="tc-btn-invisible">
<$action-deletetiddler $tiddler="$:/state/demo"/>
close</$button>
<$edit-text tiddler="Target" class="tw-edit-texteditor" tag="textarea" />
</$reveal>
{{Target}}
The $edit-text widget targets the 'text' field (by default) of the tiddler
'Target' -- changes are reflected within the transclusion.
regards
On Tuesday, 3 November 2015 08:29:05 UTC+2, Eric Shulman wrote:
>
> On Monday, November 2, 2015 at 8:56:42 PM UTC-8, Dave wrote:
>>
>> I was reading in another thread that there's no solution to the fact that
>> each keystroke in an edit-text widget in view mode causes a refresh.
>>
>> Is there any other (easy) way to be able to record typing like that in
>> view mode and have it stick (I know I could try to change the editable
>> table macro...)
>>
>
> Hi Dave,
>
> Try using a separate tiddler (e.g., "Tiddlername/Data") to store the
> input, and then transclude that tiddler's content back into the first
> tiddler, like this:
>
> <$edit-text tiddler="TiddlerA/Data" field="fieldname">
> {{TiddlerA/Data}}
>
> This works because the tiddler being modified is no longer the one
> containing the $edit-text widget, and the transclusion of the input from
> the other tiddler limits the refresh dependency to just the transcluded
> content, so the state of the input field is undisturbed and you can
> continue to type without interruption.
>
> -e
>
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/721dc760-bf28-4f58-a904-436ea2a14776%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.