mail page fix

This commit is contained in:
alma 2025-04-21 18:29:46 +02:00
parent 7d2503b1e8
commit cce282adf3

View File

@ -216,7 +216,8 @@ export default function ComposeEmail({
<div
ref={composeBodyRef}
contentEditable
className="h-full p-4 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 prose max-w-none"
className="h-full p-4 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 prose max-w-none bg-white"
style={{ cursor: 'text', whiteSpace: 'pre-wrap', wordBreak: 'break-word' }}
onInput={handleInput}
dangerouslySetInnerHTML={{ __html: composeBody }}
/>