OK, complex stuff. Status for http://editormagic2.tiddlyspot.com/ is described here:
All noteworthy changes is in /body/editor - in effect I've transferred everything from /_Popup , effectively integrating the $action-popupcaret call with the other popup stuff. This may be a mistake and you suggest another route which I will attempt tomorrow. I intentionally put a green border on the popup to get the artefact to indicate that the popup is active and where it is. Other: > >> - User types in *edit* widget >> >> >> - for *every keystroke* edit widget invokes *actions* >> >> (check, check) > >> - in these actions in *$:/core/ui/EditTemplate/body/editor* we have >> our wikitext code from EditorMagic/_Popup which checks IF there is a >> trigger-start that should prompt the showing of a popup. >> >> check > >> - Only *if* there is a match, do we invoke action-popup-caret. >> >> check > >> - We can also save extra information to the state tiddler, like what >> text triggered the match, what kind of popup to show (link, widget etc) >> >> check for which popup content to show > >> - If there is no match, we cancel any already shown popups. >> >> failed attempt - I made a "deletePopState" macro but calling it gives RSOE Uncaught TypeError: Cannot read property 'left' of undefined (to locate the call: it's in editorMagicActions in the inner ListWidgets emptyMessage ) >> - When the popup is shown, it reads info from the state tiddler to >> determine what content to show. All the wikitext related to WHAT to show >> stays here. >> >> not done yet Either you need to extend trigger definitions with a "type", eg widget, > links etc. Or, be able to use the <<trigger>> (<< or <$ etc) for the > purpose of knowing what display logic to use. > I just save the popup tool name (ref to as "template" in the code) in the statetiddler. git saver >>> >> I would hope its as simple as, set up a github repo to use github pages, > upload file via web interface. Then load it via web URL and save as you > would on tiddlyspot. > Well it certainly isn't simple for me... the TW docs <https://tiddlywiki.com/#Saving%20to%20a%20Git%20service> say "password of which *one *type is a personal token", but the TW ctrlpanel seems to require, specifically, a token... and getting a token on gh is filling out a long form where I'm supposed to select which scope it is to have, but I have no clue. And even if I did, the next step in the TW Ctrlpanel is specifying a repository... but when creating one in gh, I'm supposed to do it via the command line and ...gaaah. And even if I would magically succeed, based on my experience from contributing to the TW5 repo, I fail to do it even when things are set up. I can make doc contribs but that's it, and even doing that is totally magical in the negative sense. I've had it shown to me, explained to me, etc etc so I get that I'm at fault since everyone else thinks it's so self evident. Sorry for the rant. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/09371123-7a24-4fce-a573-f13032381083o%40googlegroups.com.
