mail page fix

This commit is contained in:
alma 2025-04-21 18:30:41 +02:00
parent cce282adf3
commit 22d472c8fa

View File

@ -216,7 +216,7 @@ 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 bg-white"
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 text-gray-900"
style={{ cursor: 'text', whiteSpace: 'pre-wrap', wordBreak: 'break-word' }}
onInput={handleInput}
dangerouslySetInnerHTML={{ __html: composeBody }}