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
@Poison thanks for sharing the issue
I can reproduce the bug.
@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
@Gali Baum Yes, it is similar issue
assuming this is not in progress created an issue here, willing to contribute:
https://github.com/novuhq/novu/issues/5310
Thanks @Poison
I just assigned this issue to you.
Feel free to reach out if you face any issue 🙂
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...