          'wordWrap',
            ].forEach((property) => {
                mirroredEle.style[property] = textareaStyles[property];
            });
            mirroredEle.style.borderColor = 'transparent';
            mirroredEle.style.padding = textareaStyles.padding;
        
            const parseValue = (v) => v.endsWith('px') ? parseInt(v.slice(0, -2), 10) : 0;
            const borderWidth = parseValue(textareaStyles.borderWidth);
        
            const ro = new ResizeObserver(() => {
          