[GH-ISSUE #113] Remove variable content feature #268

Closed
opened 2026-03-15 01:59:47 +03:00 by kerem · 7 comments
Owner

Originally created by @woodhull on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/113

We'd like to remove the current variable content feature. Is there a straightforward way to hide it without forking the library?

In the future, we're likely to implement a different strategy for inserting variables, but currently it doesn't seem like you can turn off the "Show Conditionally" feature on blocks easily.

If this does not exist, is this something you'd be interested in?

Nathan

Originally created by @woodhull on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/arikchakma/maily.to/issues/113 We'd like to remove the current variable content feature. Is there a straightforward way to hide it without forking the library? In the future, we're likely to implement a different strategy for inserting variables, but currently it doesn't seem like you can turn off the "Show Conditionally" feature on blocks easily. If this does not exist, is this something you'd be interested in? Nathan
kerem closed this issue 2026-03-15 01:59:52 +03:00
Author
Owner

@arikchakma commented on GitHub (Jan 22, 2025):

Sorry? Which variable content are you taking about?

<!-- gh-comment-id:2608389792 --> @arikchakma commented on GitHub (Jan 22, 2025): Sorry? Which variable content are you taking about?
Author
Owner

@woodhull commented on GitHub (Jan 23, 2025):

This feature:

Image

I'm not sure how to turn it off.

<!-- gh-comment-id:2608723842 --> @woodhull commented on GitHub (Jan 23, 2025): This feature: <img width="363" alt="Image" src="https://github.com/user-attachments/assets/1fe384ed-bd9c-4e5e-b879-d242f740b8fb" /> I'm not sure how to turn it off.
Author
Owner

@arikchakma commented on GitHub (Jan 23, 2025):

We can do it in a config, but currently there is no way to turn it off.

<!-- gh-comment-id:2610141213 --> @arikchakma commented on GitHub (Jan 23, 2025): We can do it in a config, but currently there is no way to turn it off.
Author
Owner

@woodhull commented on GitHub (Jan 25, 2025):

I've removed this feature in my fork, if there is a future extensions API that will support this sort of modification, I can write a PR against that.

Our motivation here so you're across the context of what we're up to:

We have an existing personalization engine that runs server-side using liquid templates. We're likely to extend the editor to support tiptap marks for liquid tags and add some way to insert liquid variables from the bubble menu.

We're also not using the render functionality of maily.to, but instead translating the tiptap document into mjml for rendering. I may extract the ruby code that does the tiptap nodes => mjml transformation into a ruby gem in case anyone else needs to do something similar.

Not looking for y'all to support our divergent use-case for a nice editor UI but if we can re-use code in core that seems like a win for everyone.

<!-- gh-comment-id:2614020309 --> @woodhull commented on GitHub (Jan 25, 2025): I've removed this feature in my fork, if there is a future extensions API that will support this sort of modification, I can write a PR against that. Our motivation here so you're across the context of what we're up to: We have an existing personalization engine that runs server-side using liquid templates. We're likely to extend the editor to support tiptap marks for liquid tags and add some way to insert liquid variables from the bubble menu. We're also not using the render functionality of maily.to, but instead translating the tiptap document into mjml for rendering. I may extract the ruby code that does the tiptap nodes => mjml transformation into a ruby gem in case anyone else needs to do something similar. Not looking for y'all to support our divergent use-case for a nice editor UI but if we can re-use code in core that seems like a win for everyone.
Author
Owner

@arikchakma commented on GitHub (Jan 25, 2025):

I will add the modification in the extension API, simplifying the process. Please let me know what you think. You can schedule a meeting to talk about it more.

<!-- gh-comment-id:2614030879 --> @arikchakma commented on GitHub (Jan 25, 2025): I will add the modification in the extension API, simplifying the process. Please let me know what you think. You can [schedule a meeting](https://cal.com/arikchakma/30min) to talk about it more.
Author
Owner

@woodhull commented on GitHub (Apr 29, 2025):

If we wrote the code to turn this off as a setting would it be accepted?

<!-- gh-comment-id:2839901118 --> @woodhull commented on GitHub (Apr 29, 2025): If we wrote the code to turn this off as a setting would it be accepted?
Author
Owner

@arikchakma commented on GitHub (Apr 29, 2025):

I would love to see your solution. It should be a config option. It would be helpful if you guys could do it.

<!-- gh-comment-id:2839912372 --> @arikchakma commented on GitHub (Apr 29, 2025): I would love to see your solution. It should be a config option. It would be helpful if you guys could do it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#268
No description provided.