stable

Clone or download

Read-only

Add support for text colors set via inlined styles in HTML content

For example HTML content like `<p style="color: red;">A</p>` will now be displayed in red in the generated document. Part of story #22569: export `text` fields Change-Id: Ic202cbc489e010c6079daf6bc834c74907dd6f9e

Modified Files

Name
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/extract-style-html-element.test.ts +59 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/extract-style-html-element.ts +40 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.test.ts +36 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.ts +8 −3 Go to diff View file