fix: escape unescaped quote in RichTextEditor blockquote button (build error)

This commit is contained in:
mARTin 2026-03-06 12:31:06 +01:00
parent fc1222d5e8
commit 6fbbbdfdae

View File

@ -109,7 +109,7 @@ export default function RichTextEditor({ value, onChange, placeholder = 'Notes..
</button>
<div style={{ width: 1, background: 'var(--weekly-border, #ddd)', margin: '0 2px' }} />
<button type="button" style={btn(editor.isActive('blockquote'))} onMouseDown={e => { e.preventDefault(); editor.chain().focus().toggleBlockquote().run(); }} title="Blockquote">
"
&ldquo;
</button>
<button type="button" style={btn(editor.isActive('link'))} onMouseDown={e => { e.preventDefault(); handleLink(); }} title="Link">
🔗