Custom color formating lost after feeding data from database using React
- Dominant language
- JavaScript
- Stars
- 20k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 13
Description
```
```
The above code works just fine when using html. However, in a react component, css styles get stripped.
##### Details
* Trix version: 1.3.1
* Browser name and version: Google Chrome, Firefox and Explorer
* Operating system: Mac Os
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the example using the hidden input with id "trix-input" and the element inside a React component, comparing it with the plain HTML version. Check where the React-rendered value is handed to Trix and determine why the inline color style is stripped. Done means the red formatting remains in Chrome, Firefox, and Internet Explorer with Trix 1.3.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100