cryptpad icon indicating copy to clipboard operation
cryptpad copied to clipboard

missing background colors in rich text editor

Open MMesch opened this issue 3 years ago • 4 comments

Describe the bug

I painfully miss light highlight colors in the "Background Colors" window. This makes highlighting text unpleasant for the eye because the contrast against the standard black text is too low. Here are some screenshots:

Screenshot from 2021-03-15 09-23-42 Screenshot from 2021-03-15 09-16-23

It seems, surprisingly, that the color selection doesn't have the whole Gamut available offering only very few light ones such as light yellow and turquoise but no light blue or red.

Where did it happen?

Did the issue occur on CryptPad.fr? - Yes!

To Reproduce Steps to reproduce the behavior:

Open a new text document, write some text and the click on the "Background Color" button in the tool bar. Try to highlight something in light blue.

Expected behavior

I would expect to have a full Gamut, e.g. as HSL color palette, available that allows to select colors of every hue, lightness and saturation (maybe as discretized table but covering the whole range).

System

  • Device: Dell XPS laptop
  • OS: NixOS (20.09)
  • Browser: chromium
  • Version 88.0.4324.150 (Official Build) (64-bit)

MMesch avatar Mar 15 '21 08:03 MMesch

I tested this and found that the text area displayed above the Clear button visible in your screenshot allows for manual entry of color codes in a variety of formats (#f00, #ff0000, #ff000077, hsl(0, 100%, 50%)). I'll leave this open, but it's unlikely to end up very high on our list of priorities. I'll happily accept a PR that implements your desired behaviour without breaking anything.

ansuz avatar May 06 '21 06:05 ansuz

Some feedback provided by a paid customer about this same topic:

I rarely use the default colors of the highlight color picker. Some pastel colors would be nice. Thank you very much for your product!

mathilde-cryptpad avatar Apr 02 '24 08:04 mathilde-cryptpad

We are unlikely to invest time in feature requests for Rich Text given that CKEditor is now unsupported as far as the open-source version goes. We will direct any available time for this app to finding a replacement and implementing the integration and migration.

davidbenque avatar Apr 05 '24 12:04 davidbenque