Skip to content

Preserve HTML/inline CSS when pasting or editing email signatures (or add a raw source mode) #13401

Description

@hunodia

Is your feature request related to a problem? Please describe.

When pasting a pre-built HTML signature (table-based layout, inline CSS: logo, contact details, social links) into the signature editor, the structure and styling get stripped on paste: text alignment, font-family, and colors are lost, and the layout breaks completely.

The exact same HTML signature, pasted into other mail clients' signature fields, is preserved correctly and renders as designed. Nextcloud Mail is the outlier here.

Describe the solution you'd like

When pasting HTML content into the signature editor, preserve the existing tags, inline styles, and table structure instead of stripping or rewriting them.

Describe alternatives you've considered

The rich-text editor doesn't support tables or reliable inline CSS, so it can't be used to rebuild a designed signature from scratch.

Additional context

This has been requested multiple times over the years (#2263, #1051, #11783, #12225) without a working solution being shipped.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions