datocms / product-roadmap

This project is now discontinued. For feature requests, please use our community forum.
https://community.datocms.com/
19 stars 1 forks source link

Option to sanitize HTML inputs #146

Open mzampetti opened 5 years ago

mzampetti commented 5 years ago

Copy/paste html text from Dropbox Paper, Google Docs (not talking about MS Word) could be painful. Style works but content is not clean, a lot of spans and horribe invisible useless tags are also pasted.

In text input presentation, after choosing the HTML editor, i would like to enable sanitiziation. Optionally i may choose the stuff i want to be saved: like: tables, spans, iframes, script, css.

My workflow now, from Dropbox Paper: export in markdown, convert markdown in html, copy/paste the clean html.

flippidippi commented 5 years ago

Would also be nice to turn off the ability to resize things like tables and pictures that add properties that aren't responsive friendly.

matjack1 commented 5 years ago

This feature request has been moved to https://community.datocms.com/t/264