Can't change text color when highlighting text
See original GitHub issueDescription
Setting the --on-highlight
variable is supposed to set the color of the text when it’s highlighted. Currently this doesn’t work.
Steps to Reproduce
- open the basic example
- modify the css to set the
--on-highlight
variable to a color of your choice - run the example and highlight some text in the math-field
- the text will stay the color it was and not change color when highlighted
Actual Behavior
Expected Behavior
text color should change on highlight to the set color
[Is this a regression: did it use to work in a previous version?]
Environment
MathLive version I’m on latest at the moment, or commit 9d769e03c59dd98ae07ca72de6f358eb9b31411b
Operating System [macOS, Windows, iOS. Include the version] I am using a Mac, v12.4
Browser [Safari, Chrome, IE, Firefox, etc… Try several browsers and note if there are differences between browsers. Include the version number of the browsers.] This happens in Chrome and Firefox
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Word. will Not change colour of the font, or highlight text
3. Open a new document. Type and change the color. If it still does not work, the problem is most likely due to...
Read more >How to Change the Color of Highlighted and Non-Highlighted ...
Go back to the Colors key, double-click HilightText, and input the default 255 255 255 RGB value. Click OK to save the entered...
Read more >Can't change colour to highlighted text - 11733327
Some text needs a different colour (links). However the the focus of the text needs a double click to then be able to...
Read more >Unable to change the colour of text - WordPress.org
For some reason, I am unable to change the colour of the text on my website. ... While some coloured text remains unaffected,...
Read more >How to change the color and set default color of Text Markup ...
Right click on the highlighted text, select Properties, and pick a color in the Appearance tab. blob.png. To set the new selected color...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve checked in a fix to the main branch. Open a new issue if you find some other problems.
Should I make a new issue for the above comment?