pentacent / keila

Open Source Newsletter Tool.

Home Page:https://keila.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using custom data in button urls doesn't work in the new editor

vinnpinn opened this issue · comments

With the old editor using markdown, it's possible to use custom data for filling out a URL on a button.

Using the new editor.js editor, it requires a correct URL syntax, which isn't an issue if the base url is the same.
However it also doesn't replace the tags with the custom data. So using https://example.com/{{ contact.data.custom_url}} as the url for the button works in the old editor, but not in the new one.
When using this in the new editor, it'll use https://example.com/%7B%7B%20contact.data.custom_url%20%7D%7D as the domain on the button.