Open simison opened 2 months ago
A couple more examples of wanting better email rendering.
The WordPress Embed block for internal/external site links is a nice card:
In email, the WordPress embed just looks like a Quote
block:
Designing creative patterns look great in the block editor and the frontend of posts:
In emails, while it is fine that a lot of the styles are absent (background gradient, border, etc.), the sizing and spacing of headings and text all feel off.
I've been doing research on different options across automated screenshots, looking into some that code we already have in Jetpack social for social previews, and some solutions already implemented for Matt's site to improve performance as CSS/HTML facades of real embeds.
Currently, I'm leaning towards "almost real-looking" facades (so just CSS and HTML) that we could use on the blog's front page to improve the site's performance.
Embeds from Twitter, TikTok, etc are currently rendered as text-only:
We'd like to be able to render something more visual in emails;
Exploration using images with our mShots API, which already has good dedicated support for Twitter embeds:
Slack convo p1726144959645139-slack-C052XEUUBL4
Came up with Team 51 customer p9MPsk-5nT-p2
Exploration in D162345-code