basecamp / basecamp/trix

Inserting HTML Email into trix editor

Open
#1,034 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

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](https://user-images.githubusercontent.com/56822450/211043651-345441d0-aa0a-4bda-a111-b6edafa0ed73.png)
appears as this:
![temp_image_20230105_142053_9c720d23-4967-47a9-b9cc-8a5dce718c10](https://user-images.githubusercontent.com/56822450/211043777-167dd66b-1697-43fb-a89b-a543b8b3eea2.jpg)

when loading into a trix editor

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported HTML-email import in the Trix editor and compare the source email with the two attached screenshots. Determine which styling and structure are lost during loading, then define the supported result and a way to verify it; the issue does not name source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.