N
Novu•12mo ago
Poison

cannot add images in in-app messages

Cannot add images to in app messages, maybe it's not allowed? To reproduce: - Add and <img /> tag as shown in the video - Update the workflow - Refresh the page and the <img /> tag is gone
7 Replies
Pawan Jain
Pawan Jain•12mo ago
@Poison thanks for sharing the issue I can reproduce the bug.
Linear
Linear•12mo ago
Gali Baum
Gali Baum•11mo ago
@Pawan Jain I think it might be same issue we had in this one https://linear.app/novu/issue/NV-3026/on-update-button-click-css-styles-are-removed-in-in-app-template and was fixed here https://github.com/novuhq/novu/pull/4841/files but for image tags
Pawan Jain
Pawan Jain•11mo ago
@Gali Baum Yes, it is similar issue
Poison
PoisonOP•11mo ago
assuming this is not in progress created an issue here, willing to contribute: https://github.com/novuhq/novu/issues/5310
Pawan Jain
Pawan Jain•11mo ago
Thanks @Poison I just assigned this issue to you. Feel free to reach out if you face any issue 🙂
Poison
PoisonOP•11mo ago
https://github.com/novuhq/novu/pull/5312 pull request up here @Pawan Jain
GitHub
feat(api): Allow img tags in the In-App & Email Editor by efaraz27...
What change does this PR introduce? Novu used an npm packaged called sanitize-html, the default allowed tags, doesnt include img tags, this PR aims to include it as it was done for the style tag in...

Did you find this page helpful?