Skip to content

Cannot paste hex color code into color picker input #310

@filiptill

Description

@filiptill

Hi,
I noticed that it's not possible to paste a color value (for example, a hex code like #FF0000) into the color picker input.
When I try to copy and paste a color code, nothing happens, or the value is not accepted.

Steps to reproduce:

Open the color picker in the editor.

Copy a hex color code, e.g., #FF0000.

Try to paste it into the input field for the color.

Expected behavior:
The pasted hex code should be accepted by the color picker and the color should be updated accordingly.

Actual behavior:
Pasting does not work, and the input field stays unchanged.

Additional info:

jodit-react version: 5.2.19

Browser: Chrome

OS: MacOS

Would it be possible to add support for pasting color values directly into the color picker?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions