Continued from Caret position - take 2 <https://groups.google.com/forum/#!topic/tiddlywikidev/hOlWpnejqvI%5B1-25%5D> (direct link to last page here: link <https://groups.google.com/forum/#!topic/tiddlywikidev/hOlWpnejqvI%5B101-125%5D> )
@Saq: http://editormagic2.tiddlyspot.com/ This works. I did still have to modify body/editor to make its vars pick up the correct fields from the template: \define em-checkTrigger() <$vars template={{!!title}} trigger={{!!em-trigger}} trigger-end={{!!em-triggerend}} triggexp={{{ [{!!em-trigger}escaperegexp[]] }}} triggendexp={{{ [enlist{!!em-triggerend}escaperegexp[]join[|] addprefix[(]addsuffix[)+]split[\/]join[/]trim[]] }}} before={{{ [<text>splitbefore{!!em-trigger}] }}} before-length={{{ [<text>splitbefore{!!em-trigger}length[]] }}} trigger-length={{{[{!!em-trigger}length[]]}}} > ... also note that $:/plugins/EditorMagic/styles is modified so the class assignment of "editormagic-popup" at bottom of body/editor is superfluous. Please tell me if anything is not as expected. <:-) -- 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/1a573ead-cb5a-4bf5-a087-e28583801ff0o%40googlegroups.com.
