Hi Jeremy,

I've had a crack at this.... the route I was exploring has come to a dead
end.

I started by putting code into fields then using a radio buttons to swap
between tm-edit and link (see attached)


Then I started to look for the place in the edit template where the links
are generated. I couldn't find this place!

In the tiddler generating the preview,
$:/core/ui/EditTemplate/body/preview/output
doesn't contain any link widget. Instead it uses a trasncluded variable and
I can't find that anywhere else than in the
$:/core/ui/EditTemplate/body/preview/output tiddler...




<$set name="tv-tiddler-preview" value="yes">

<$transclude />

</$set>


I've created a pull request [1], my first!

The overall aim is to have a simple radio button when makes all wikilinks
open in edit mode.

I managed to do this a while ago with the Open tab in the sidebar [2] and I
expected the preview pane to work in a similar way.

Solving this seems quite complex.... even more so than I though after some
additional learning....


Alex

[1] https://github.com/Jermolene/TiddlyWiki5/issues/3119
[2] https://alexhough.github.io/Click-Open-to-Edit.html

On 12 May 2016 at 17:59, Jeremy Ruston <jeremy.rus...@gmail.com> wrote:

> Hi Alex
>
> It’s a good idea, but I’m afraid I don’t have time to work on it now.
> Perhaps create a GitHub ticket to keep track of the idea?
>
> Many thanks,
>
> Jeremy
>
> On 9 May 2016, at 13:51, Alex Hough <r.a.ho...@gmail.com> wrote:
>
> Hello TW,
>
> I am finding myself working in edit mode and clicking on links on the
> preview pane. I am inspired by the discussion of live coding in Hangout 100
>
> it would be quicker for me if clicking on a missing tiddler crated a new
> draft with the title of that tiddler....
>
>
> or put another way, a missing link is parsed as a button which when
> pressed creates a new tiddler with the title of the link.
>
> * it would be nice if the curser ended up in the body rather than in the
> title.
>
>
> This idea kind of breaks through a convention. WikiText could create a
> button
>
> *Edit Mode?*
>
> There could be an edit mode where a link clicked on in preview always
> opens a draft
>
> With tiddlers opening above the present, a pleasing zig zag workflow could
> develop, see below
>
> <Screen Shot 2016-05-09 at 20.50.22.png>
>
>
> Alex
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/92EE7B6E-AC8A-46BA-A5C2-7AA45A4B3A15%40gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/92EE7B6E-AC8A-46BA-A5C2-7AA45A4B3A15%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/CALc1hYesVKnLUfL1qufS9k7DsDgdVg%3DPWzFhiQMbZ0F0aNKcMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: toggle mode_ edit_link.tid
Description: Binary data

Reply via email to