angular-editor
angular-editor copied to clipboard
Download HTML Template After Edit
If I put Ready made Inline Styled into this HTML editor, and download it it works fine. If I am gonna edited this HTML template and then try to download. All InLine Styling CSS gone from the all elements of HTML. Please suggest.
I too get the same issue. Any solution you found?
CSS stripping is due to sanitization (sanitize: true removes inline styles for security). To preserve styles: set sanitize: false in config (⚠️ only for trusted content). Related to #580 (XSS security). For download feature with styles preserved, you need to handle this in your own download logic.