mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix pasting colors in color picker input
This commit is contained in:
parent
f4940bfaef
commit
dc93a8ccfd
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ export function ColorPicker({
|
|||
type="text"
|
||||
className="swatch-input"
|
||||
value={color || ""}
|
||||
onPaste={e => onChange(e.clipboardData.getData("text"))}
|
||||
onChange={e => onChange(e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue