Dark Mode - Text is blended in with black background
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 09:39 AM
I am having users who are unable to view the text in the body of the email when using Dark Mode. The text blends in with the black background. It seems to be occurring when an inbound email comes in from an external email. Also the header (to and from and cc) is blending in.
- 1,622 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2023 05:11 AM
unable to view
where?
I bet you wrote on your CV that you are a great communicator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 07:54 AM
The body of the text as you can see is not visible (exception of words I highlighted).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 03:12 PM
So it's the Activities formatter in Core UI Form.
I don't think there is an easy fix for that.
My hunch is that the e-mail contains in-line styling - which only sets the color and not the background color.
If that is the case, the only thing one might do about it is to create a HTML sanitizer that kicked in on insert into sys_email.
There is a utility/library I have used before which could be used to help fix this: HTMLParser.
It parses HTML and feeds the nodes, attributes to a callback function you define, which can re-build the original HTML from it, but essentially striping style and font nodes and bgcolor and color attributes.
So that then the global color and background-color styles would be applied to the e-mail body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 09:24 AM
I have code pasted the text from google. when I did I got the option to keep the format I clicked yes as I wanted to keep the format and text was in white background with black font. I copy pasted in my servicenow RTE which is in the dark mode. Now format is working but it remain the whitebackground which I dont want. please help