Re: [tw] [TW5] Inline Editing of fields

2013-11-08 Thread Vincent Yeh
I just watched your video about custome fields and now I have a better idea of what they are and what they do. Thanks a lot, Eric. -- 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, s

Re: [tw] [TW5] Inline Editing of fields

2013-11-07 Thread Eric Shulman
On Wednesday, November 6, 2013 8:07:54 PM UTC-8, Vincent Yeh wrote: > I am not familiar with the field things in TiddlyWiki > ... I don't know about the template things > TWCore custom tiddler fields and templates (ViewTemplate/EditTemplate) are very effective for creating tiddlers with use

Re: [tw] [TW5] Inline Editing of fields

2013-11-07 Thread Jeremy Ruston
If I understand correctly, you're trying to switch fragments of a tiddler into edit mode? That's not going to be easy. Because raw wikitext can be generated by macro parameter expansion there isn't a straightforward relationship between the tiddler source text and the text that the parser sees. Be

Re: [tw] [TW5] Inline Editing of fields

2013-11-07 Thread Jeremy Ruston
Hi Stephan > > As you already told me before Hangout #20, you know about this loose of > focus. Memorizing the field and refocussing after tiddler refresh won't > help, I fear. When a test input receives focus, usually the content gets > selected, if I'm not mistaken. So when you type a character,

Re: [tw] [TW5] Inline Editing of fields

2013-11-07 Thread Stephan Hradek
Thanks for the hint, Vincent. I'd still like to have the fields be editable. But additionally, being able to edit parts of a tiddler inline would also help. But my focus is more to TW5. In order not to learn (too much) Klingon and not to have too much overhead, I also thought about how this co

Re: [tw] [TW5] Inline Editing of fields

2013-11-06 Thread Vincent Yeh
Hi Stephan, I am not familiar with the field things in TiddlyWiki, but I have some idea about what you mentioned. The 'focus and select' behavior, as far as my experiences are concerned, can be a choice of the programmer's. For example, in my plugin combination TWtid+TWted (available at http:/

Re: [tw] [TW5] Inline Editing of fields

2013-11-06 Thread Stephan Hradek
Hi Jeremy! As you already told me before Hangout #20, you know about this loose of focus. Memorizing the field and refocussing after tiddler refresh won't help, I fear. When a test input receives focus, usually the content gets selected, if I'm not mistaken. So when you type a character, before

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
Am Dienstag, 5. November 2013 15:47:01 UTC+1 schrieb Jeremy Ruston: > > That's correct. TW5 reconstructs the DOM dynamically from the underlying > render tree; it can happen at any time. It means that you can't maintain > state in DOM nodes. > > This causes a problem. Try this tiddler: |!Name

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Jeremy Ruston
> Except for replacing a class, there is no other change in the DOM at all >> in my current example. Still a no-go? >> >> To answer myself: YES! And this seems to be the cause for my problem. > After typing one character, it seems the tiddler is refreshed and so the > "view" class reappears in my f

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
Am Dienstag, 5. November 2013 15:41:47 UTC+1 schrieb Stephan Hradek: > > > Except for replacing a class, there is no other change in the DOM at all > in my current example. Still a no-go? > > To answer myself: YES! And this seems to be the cause for my problem. After typing one character, it se

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
Am Dienstag, 5. November 2013 15:19:00 UTC+1 schrieb Jeremy Ruston: > > What you are trying to do can be accomplished readily using the edit > widget. > Sounds great. Will test. > > Both this and your "home tiddlers" hack make use of inline event handlers. > Yes. As a proof of concept and b

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Jeremy Ruston
Hi Stephan That's very helpful, thank you. What you are trying to do can be accomplished readily using the edit widget. Within a tiddler you can have a widget like this that will display a particular field of the current tiddler as an edit box: <$edit field="myAddress"/> Any changes to the text

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
At first it didn't work, saving from five to tiddlyspot using FF14. But Safari could do it. And then I could also upload from FF14. So now you can see the example at http://skeeve.tiddlyspot.com/ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Jeremy Ruston
TiddlyWiki5 supports saving to TiddlySpot. Search for "tiddlyspot" on five.tiddlywiki.com, or see the instructions here: http://five.tiddlywiki.com/static/TiddlySpot.html Best wishes Jeremy On Tue, Nov 5, 2013 at 1:40 PM, Stephan Hradek wrote: > > > Am Dienstag, 5. November 2013 13:54:43 UTC

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
Am Dienstag, 5. November 2013 13:54:43 UTC+1 schrieb Jeremy Ruston: > > Hi Stephan > > Could you perhaps post the example to TiddlySpot? > > I'd love to - but I don't see how I could do that :( -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

Re: [tw] [TW5] Inline Editing of fields

2013-11-05 Thread Jeremy Ruston
Hi Stephan I can't negotiate the steps needed to download the file. Could you perhaps post the example to TiddlySpot? Many thanks, Jeremy On Tue, Nov 5, 2013 at 12:51 PM, Stephan Hradek wrote: > I felt that it might be a good idea to be able to edit fields in a tiddler > while viewing that ti

[tw] [TW5] Inline Editing of fields

2013-11-05 Thread Stephan Hradek
I felt that it might be a good idea to be able to edit fields in a tiddler while viewing that tiddler. This way one could, for example, create contacts tiddlers, suiting one's needs and still be able to edit the contact details without having to edit the tiddler itself. Here you can download m