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/893d2af4-3a7b-41f8-b1e1-129aaf59bd89n%40googlegroups.com.

