Very helpful of both you and it! The $edit-text widget doc is a bit tiny, lacking in example. This one would clarify it in a definitive manner for a useful feature.
Thanks again. But what were the numbers (42,142,225,24) meaning in my example? (even though I don't have to know it to use it, it's just that I'm curious.) Le vendredi 20 novembre 2020 à 12:28:54 UTC+1, Eric Shulman a écrit : > On Friday, November 20, 2020 at 3:08:36 AM UTC-8 [email protected] > wrote: > >> I was about to write I forgot to mention that the $edit-text widget have >> a focusPopup property, which I have not found out how to use. I saw it >> apparently required the widget having css class tc-popup-handle. I put my >> help in focusPopup, but not directly: I use a tiddler name "grid" where I >> specify the help text (as focusPopup needs to be a tiddler title or perhaps >> more broadly a tw reference (?)). In my case, the reference was "grid##a3" >> for instance and in grid (a simple dictionary) I had "a3: A3" (just to show >> what cell you are editing). But when I clicked on the cell, it has the >> hidden effect to switch "a3: A3" to something like "a3: (42,142,225,24)". >> > > The focusPopup parameter doesn't specify the *contents* of the desired > popup. Rather, it specifies a "state tiddler" used to control the > appearance of a separately-specified popup shown via a $reveal widget. > Thus: > > <$edit-text tiddler="foo" class="tc-popup-handle" > focusPopup="$:/state/popup/something" /> > <$reveal type="popup" state="$:/state/popup/something" > class="tc-drop-down"> > this content appears when the edit field has focus > </$reveal> > > -e > -- 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/e1cf0c01-fd8e-4b72-b2bc-b8e2c147816bn%40googlegroups.com.

