diff --git a/src/components/rgb/Input.tsx b/src/components/rgb/Input.tsx index 63ecd8ce..1c59255d 100644 --- a/src/components/rgb/Input.tsx +++ b/src/components/rgb/Input.tsx @@ -136,7 +136,10 @@ export default component$(({ readOnly }: { 'font-mc-bold-italic': rgbStore.bold && rgbStore.italic, [`${rgbStore.format.class}`]: rgbStore.format.class, }}> -

+

{ + rgbStore.text = el.textContent || ''; + }}>