Fix text element with background color and text color at the same time
Highlighted (background colored) text is done with mark elements which don't have a color and make the contained text lose the styling of the parent span, which has the text-color property. To solve it we simply inherit the color of the parent span.
Showing
- projects/common/element-components/text.component.ts 2 additions, 1 deletionprojects/common/element-components/text.component.ts
- projects/editor/src/app/components/unit-view/page-view/properties-panel/element-model-properties.component.css 4 additions, 0 deletions...w/properties-panel/element-model-properties.component.css
- projects/editor/src/app/text-editor/rich-text-editor.component.css 4 additions, 0 deletions...editor/src/app/text-editor/rich-text-editor.component.css
Please register or sign in to comment