quill icon indicating copy to clipboard operation
quill copied to clipboard

fix: the not hex color doesn't change in toolbar

Open zzxming opened this issue 1 year ago • 0 comments

I found that when actively transmitting color values, only the hex color value will change along with the cursor movement on the toolbar, while other color values will remain in the default state. I found that when getting element attributes, color values are automatically converted to RGB color values. So I did the change below

Added a function to convert existing color values in base.ts. Added color conversion in toolbar.ts to handle user arguments color. Delete color and background internal processing.

After processing, all reasonable values that can be placed on the element can be processed

zzxming avatar Apr 25 '24 04:04 zzxming