I’ve connected to Google’s translation API and am translating pages via a button in the panel. The only problem is, kirbytext also gets translated, like
(tel...). When these words are translated, the kirbytext tags don’t work anymore, obviously.
I’ve created custom tags that work in all of my languages, so now I client can write
(r:... t:...) for link/text,
(m:...) for mail and
(t:...) for tel, and therefore fail. Everything works fine when writing kirbytags by hand, but when I use the link button, of course, it goes back to inserting
(link:... text...), etc.
Is there a way to extend or customize the link button in the textarea toolbar to add my custom kirbytags like
(r:... t:...) instead of the default
(link:... text:...)? Then my translations will correctly add links.
I’ve looked at the existing Enhanced Toolbar Link plugin, but thought there should be a simpler way for this case.