Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draftail converts merge tags to italic #39

Open
mgax opened this issue Jun 19, 2024 · 1 comment
Open

Draftail converts merge tags to italic #39

mgax opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@mgax
Copy link
Member

mgax commented Jun 19, 2024

When inserting merge tags, like *|FNAME|*, Draftail will treat the * characters as Markdown, and convert the text to <i>|FNAME|</i>.

A couple of possible workarounds:

  • Disable the i tag in the rich text editor.
  • Use a RawHTMLBlock instead of RichTextBlock (though that allows editors to inject malicious markup).
@mgax mgax mentioned this issue Jun 19, 2024
@thibaudcolas
Copy link
Member

We’ve discussed adding a rich text feature for this. There’s a lot of merge tags so this could also be helpful for people who aren’t well versed in Mailchimp to help them decide which tag they want to insert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants