-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Issues with color picker #1199
Comments
Go to https://snappymail.eu/demo/ |
See a video of the issue using your demo. 2023-07-04_19-44-55.-.jeanmichel.mp4 |
I can't reproduce your problem with When I tested with |
This issue can be reproduced in Signature editor (but not in the message composer) on the demo server and also applies to "Font Selector" and "Font Size Selector"
My best guess, this is happening because of the way The "Message Composer" editor is constructed here: snappymail/dev/View/Popup/Compose.js Lines 688 to 693 in 99d68bc
null passed as the second parameter(onBlur)
The signature editor is constructed here: snappymail/dev/External/User/ko.js Line 92 in 99d68bc
onBlur param. The function resolves to here: Lines 842 to 844 in 99d68bc
this.getData() call somehow cause the selection loss.
In any case if the second param is set to editor = new HtmlEditor(element, null, fOnReady, fUpdateKoValue); |
I got the same issue on standalone (non-nextcloud) version of snappymail. Both with Opera and Edge Browser on Windows 11. I also tried rainloop. There coloring text or the backgroud of text afterwards works fine. Maybe the developer can copy this function from there. |
I got the latest Chrome and Opera browser on Windows, but it doesn´t work. |
I got tired of fighting this issue but this is not going away for me. Firefox version on windows 11 current: On your demo : From my point of view, this basic feature is unusable, regardless of browser. BTW as you can see on my screenshot there is also a scrollbar on the toolbar. Not a functional issue but still unsightly. If the toolbar is too large for the window, perhaps the toolbar should be split? Again, please the plugin Summernote at https://summernote.org/, the colour picker works on every browsers, so it's possible? |
I've changed the color picker to use default options. The colors are from color blind palette "Tableau 10", developed by Maureen Stone. |
Describe the bug
using Snappy Mail with Nextcloud, I cannot change the font color or the background color. I cannot work out this feature. I am surprised I am the first one to report this as it has been an issue for me for a while.
To Reproduce
Steps to reproduce the behaviour:
Errors
How to reproduce bug 3)
Expected behavior
Well a normal editor colour picker behaviour is expected. When text is selected selecting the colour picker does not remove selection and colour is applied. Colour picker should have a list of usual colours to pick from without having use the wheel.
For an example of behaviour see Summer Note for instance. https://summernote.org/
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Debug/logging information
Place them here (few lines) or as attachments (many lines)
Additional context

Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: