[Web] and [Desktop] Color picker now includes alpha channel in color values
My issue is about [Web] and [Desktop] (have not tested Mobile) flutter_quill 7.2.1
The default color pickers in QuillToolbar.basic now include the alpha channel in the selected color - ARGB format, instead of just RGB. For example delta now looks like this insert⟨ hello ⟩ + {color: #FF5E35B1} instead of insert⟨ hello ⟩ + {color: #5E35B1}
I have realized this when I tried to convert the document delta to html format using vsc_quill_delta_to_html as it rejected the argb color values. I have created an issue for that there https://github.com/VisualSystemsCorp/vsc_quill_delta_to_html/issues/3 but according to them this must be a bug introduced in flutter_quill 7.2.x because in "Quill doc/code, hex colors should always be 3 or 6 digits".
So now html conversion looses all colors because it expects them to be in the format RGB but now the quill delta does not conform to the expected format.
@singerdmx It's disappointing that this is closed. Based on what I see in the official Quill doc/code, hex colors should always be 3 or 6 digits.
I had the same problem。 flutter_quill: ^7.3.2
@singerdmx It's disappointing that this is closed. Based on what I see in the official Quill doc/code, hex colors should always be 3 or 6 digits.
Don't worry, it's reopened now
I agree that it should be 6 digits so it matches quill_js. When my web app saves quill changes to JSON it is 6 digits but when it is saved to JSON on mobile it has 8 digits because of including the transparency.