Color input with no hash does not update color picker
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome
Reproducible demo link
Describe the bug
When using the color input with hash (hex color) everything works fine. However if I adding a hex value without hash (just digits) to the input and press enter the color preview does not update but the color is applied to the element on the page (but after reload element has default color).
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Hi @TanyaKulikovskaya please provide a reproducible demo as from a quick check the color picker seems to work without hash
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4094
BUG: When drag and drop block into editor in Chrome, not able to drag and drop block
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 97.0.4692.71 (Official Build) (64-...
Issue #5141
BUG: component resets attribute values on updating traits ( first time only )
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 113.0.5672.63 Reproducible...
Issue #6012
BUG: Input number value does not persist when using up/down arrows
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v126 Reproducible demo link https:/...
Issue #6485
BUG: showSelectionPalette doesnt work with custom color picker
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://code...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.