basecamp / trix

A rich text editor for everyday writing
https://trix-editor.org/
MIT License
19.07k stars 1.11k forks source link

Inserting HTML Email into trix editor #1034

Open dayang4321 opened 1 year ago

dayang4321 commented 1 year ago

How can I display the contents of an HTML email correctly in a trix editor and retain most the styling and structure. Viewing this html email: Screenshot 2023-01-06 at 15 14 51 appears as this: temp_image_20230105_142053_9c720d23-4967-47a9-b9cc-8a5dce718c10

when loading into a trix editor

chrisgrande commented 1 year ago

If you don't need it editable, you can insert it as a Content Attachment