peterbe / premailer

Turns CSS blocks into style attributes
https://premailer.io
BSD 3-Clause "New" or "Revised" License
1.06k stars 188 forks source link

Prefill advanced options of hosted Premailer? #251

Open brakai295 opened 3 years ago

brakai295 commented 3 years ago

Hi Peter,

Thanks so much for this amazing tool. I use the hosted version of premailer.io every week.

Is there a way to pre-fill the advanced options through the URL somehow? Something like https://premailer.io/?keep_style_tags=true would be super handy.

Thanks again!

peterbe commented 3 years ago

It does not exist. Would you be interested in contributing a feature like that? I think the front-end code is done in Angular 1.

brakai295 commented 3 years ago

Sadly, I'm not a developer. I would love to contribute if I knew how to do it.

The prefilling of options (or saving my choices in a cookie) are on my wish list and another very simple change would be great too: the code output should occur inside a text field, so that I can easily click into it 'select all' and copy it to my clipboard. (Or offer a 'copy to clipboard' button.)

Anyway, sorry for not being able to help. I'm grateful for your work as is!

peterbe commented 3 years ago

The front-end for Premailer.io is just a web site. You could perhaps make whatever the front-end does but from an API.