You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discovered in #1525, {{ or }} (shortcode used to reference react components) throw errors when being parsed from markdown into the AST tree with the Tina parser.
We want to keep existing rules content so this should be possible in some way.
Suggested Solution
Confirm errors are thrown when the above markdown syntax is used with Tina.
Investigate if this is a known Tina issue or this is intended behaviour, if not, create a discussion or create a PBI in the TinaCMS repo.
Investigate what templates other than emails are being used in Rules markdown.
If necessary, add a Tina Template for email templates and other shortcode templates into the schema.
Add a react component to replace the email (and other) templates already in rules, with the same name as the template above.
Add the component into TinaMarkdown.
Convert all {{ }} instances in Rules into the Template syntax – or other solution to convert it from raw markdown prior to being parsed.
The text was updated successfully, but these errors were encountered:
Pain
As discovered in #1525,
{{
or}}
(shortcode used to reference react components) throw errors when being parsed from markdown into the AST tree with the Tina parser.We want to keep existing rules content so this should be possible in some way.
Suggested Solution
The text was updated successfully, but these errors were encountered: