On Sat, May 29, 2021 at 3:47 AM TW Tones <[email protected]> wrote:

> Folks,
>
> Thanks for the feedback. I would like to emphasise a desire to provide a
> "very simple" solution for this commonly asked question.
>
> I concur with your comments and understand buttons vs checkbox, state
> tiddlers vs a flag inside the current tiddler. In this case however the
> tool is for editing the tiddler so I felt it can be kept simple by saving
> in the tiddler.
>
> The cancel button (delete the field) or do you mean "undo" mario? is that
> essential? I can see in a fuller solution it may be simple to store the
> text field before edit in a variable, and if undo is pressed restore it.
>
> I can see your various points captured in a plugin rather than this code
> solution, and I have done this for myself already. I want to refine the
> simple solution if possible.
>
> Mohammad,
>
> In other versions of this I have also had internal and external multiline
> text fields with notes working the same way. Some arising from discussions
> with you (perhaps if I have the right Mohammad perhaps you could sign off
> Mohammad Shiraz?)
>

Why not distribute this as your first plugin? Put it on GitHub!
I think this can be used for live nores, sticky notes, ...


> All,
> The fact is if a simple css or html can help me add a tooltip to the
> checkbox and make it look more like a button, while in the toolbar this
> simple solution would be more complete.
>
> Tones
> On Saturday, 29 May 2021 at 02:10:18 UTC+10 Mohammad wrote:
>
>> Interesting!
>>
>> This can be used to add comments at the end of tiddler!
>>
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Fri, May 28, 2021 at 12:21 PM TW Tones <[email protected]> wrote:
>>
>>> 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
>>> <https://groups.google.com/d/msgid/tiddlywiki/19612ae1-c72d-43ac-9169-3e8bee22b2bbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/6952ed06-6e5c-4d56-a919-d21e7130b7dcn%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/6952ed06-6e5c-4d56-a919-d21e7130b7dcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAV1gMB_1ty7b7crw5N4cwqKDCqENR8YcyXBFi7tdRv3Toqg8g%40mail.gmail.com.

Reply via email to