-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background color of text: highlighting or shading? #79
Comments
I've created an implementation of this idea in my fork: feature/text-highlighting@ebce9dd |
This is a good compromise between the original implementation and the change brought by Wude. |
What would you suggest? Just casting the color name to the enum? And if it's a hex/rgb/hsl color just use the shading option?
Good idea. I should've time in the upcoming days to change this. |
I like your idea to capitalize on the parsing of HtmlColor. You could create an extension method on HtmlColor to convert to If this is correctly described in the Wiki, I see no problem. I will handle that part myself. I will just requires you to create a test case to validate your feature. This help me greatly to move forward to v3 and validate my refactoring. |
Hi DynaSpan, did you find some times to implement this ? I'm very interested in your proposal... |
Hi Onizet, I did some work a time ago, but since then I bought a house and it's been incredibly busy at work. I hope to find some time the upcoming weeks to look at the PR. |
Thank you for your swift reply. Your situation sounds very familiar to me :) |
It's been one year. Do we have any update on this? |
Currently, the implementation of background color on text is by using shading:
This makes sense if you're talking about table cell backgrounds etc. However, if your goal is to highlight text, users can become confused because in normal Word operations text is highlighted and not shaded.
My proposal is to implement a feature that checks if the color is applied on a span (meaning text; highlight) or on a different item, which would then shade it. I would like to know your opinions. If you agree, I will create a PR.
The text was updated successfully, but these errors were encountered: