OOps
Also add a tiddler tagged $:/tags/ViewTemplate containing
<$list filter="[all[current]inline-edit[yes]]">
{{||$:/core/ui/EditTemplate/body}}
</$list>
Regards
Tones
On Friday, 28 May 2021 at 17:48:02 UTC+10 TW Tones wrote:
> Folks,
>
> Having worked with TiddlyWiki for some time, I have managed to get a way
> to edit the text field without going into edit mode. I just went to revisit
> this with a minimal case, and was surprised it worked, in part because its
> easy to share.
>
> Place the following in a tiddler tagged $:/tags/ViewToolbar
> \whitespace trim
> <$list filter="[all[current]has:field[inline-edit]]">
> <$checkbox field="inline-edit" checked="yes" unchecked="no"
> default="no"></$checkbox>
> </$list>
>
> Now any tiddler to which you add the field inline-edit will gain a
> checkbox in the toolbar, allowing you to toggle editing the text in view
> mode, without loosing focus in edit mode.
>
> Question
> This button need a little more work, to comply with the tiddlywiki
> standard, I will do that shortly. However my Question is since this is easy
> to achieve does anyone know how to restyle the checkbox better for use in
> the toolbar?
>
> - Make it larger and similar in size to existing buttons
> - Provide a tooltip
> - Perhaps alter the color
>
> I will then refine and republish here.
>
> Tones
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/19612ae1-c72d-43ac-9169-3e8bee22b2bbn%40googlegroups.com.