Opened 3 years ago
Closed 3 years ago
#55519 closed defect (bug) (reported-upstream)
In Block editor: Copying and inserting color codes makes them invalid
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9.2 |
Component: | Editor | Keywords: | |
Focuses: | ui | Cc: |
Description (last modified by )
When you copy a color code from a block by clicking the color code via the color selection menu, it is automatically copied in this format: #000000
However, when inserting a color code in the textfield of the color selection menu, the string of text is automatically truncated at 6 characters, which leaves the user with #00000
, an invalid color code which always results in the color black.
The best solution would be for the text field to be able to accept both color codes with and without the #.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi and welcome to Trac!
Block editor reports belong on the Gutenberg GitHub Repository.
This bug was already reported and should be fixed in the next release:
https://github.com/WordPress/gutenberg/issues/37018