arikchakma / maily.to

Craft beautiful emails effortlessly with Maily, the powerful email editor that ensures impeccable communication across all major clients.
https://maily.to
MIT License
1.44k stars 74 forks source link

How tailwindcss is gets converted to inline CSS for email HTML #17

Closed chavda-bhavik closed 11 months ago

chavda-bhavik commented 11 months ago

Hey Arik, I'm building an email editor in my project and taking inspiration from maily.to editor.

Can you help me understand, when we click on Copy Email HTML, how elements like button styled with tailwindcss gets converted to HTML with inline CSS?

I can find here, that Tiptap provides function to convert content to HTML, but how tailwindcss classes gets converted to inline CSS?

Thanks

arikchakma commented 11 months ago

Hello Chavda,

Please check this one. You can find everything there.

Thanks