Try this:
"pattern": "///",
"filter": "[all[tiddlers]!is[system]]",
"start": "<$macrocall $name=det tid=\"",
"end": "\" />"
On Sunday, July 11, 2021 at 1:50:17 PM UTC+2 David Gifford wrote:
> Hi everyone
>
> My edit to the edit-comptext plugin config tiddler (
> http://snowgoon88.github.io/TW5-extendedit/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fconfig
> )
>
> Has this:
>
> "pattern": "///",
> "filter": "[all[tiddlers]!is[system]]",
> "start": "<$macrocall $name=det tid=",
> "end": " />"
>
> I would like to have a " after tid= and another " before /> so that when I
> hit enter, the tiddler that is autocompleted will be wrapped with the full
> macrocall. Single quotes aren't an option, because tiddler titles could
> contain single quotes.
>
> What is the secret hack you guys use to sneak those in? Based on the
> editor toolbar wrap buttons I tried turning " from the code into """, but I
> destroyed my file. Don't worry, it was a copy, so I didn't lose anything.
>
> Thanks for any help you can give!
>
> Dave
>
--
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/0ab2eaad-4a1b-4dc7-ab33-31bb17ff9bden%40googlegroups.com.