danielo515 / TW5-2click2edit

Plugin that adds the ability to edit tiddlers by double clicking on its body.
MIT License
9 stars 8 forks source link

idea: select-text only when mouse is on text/selectable content #4

Open nemothorx opened 6 months ago

nemothorx commented 6 months ago

I dont know if this is possible, but as a feature idea (since afaict tiddlywiki5 has no plans to officially support this classic TW2 feature), could we have our cake and eat it too by having the function change action depending on what the mouse is over?

That is, I figure that if the mouse cursor is the text "I-bar" that doubleclick should act as the browser default - and select text, but if it's an arrow (but still within the tiddler area obviously) then doubleclick triggers the edit mode TW style.

danielo515 commented 6 months ago

I think it could be doable. However, I don't have time to implement, but I'm open to take any PR

On Wed, Feb 21, 2024 at 12:50 AM Nemo Thorx @.***> wrote:

I dont know if this is possible, but as a feature idea (since afaict tiddlywiki5 has no plans to officially support this classic TW2 feature), could we have our cake and eat it too by having the function change action depending on what the mouse is over?

That is, I figure that if the mouse cursor is the text "I-bar" that doubleclick should act as the browser default - and select text, but if it's an arrow (but still within the tiddler area obviously) then doubleclick triggers the edit mode TW style.

— Reply to this email directly, view it on GitHub https://github.com/danielo515/TW5-2click2edit/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWPQYUPHZ2ML5P7V5ODYUUZFFAVCNFSM6AAAAABDSBSC5WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DKNBYGIZDONI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

https://danielorodriguez.com