fix: escape unescaped quote in RichTextEditor blockquote button (build error)
This commit is contained in:
parent
fc1222d5e8
commit
6fbbbdfdae
@ -109,7 +109,7 @@ export default function RichTextEditor({ value, onChange, placeholder = 'Notes..
|
|||||||
</button>
|
</button>
|
||||||
<div style={{ width: 1, background: 'var(--weekly-border, #ddd)', margin: '0 2px' }} />
|
<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">
|
<button type="button" style={btn(editor.isActive('blockquote'))} onMouseDown={e => { e.preventDefault(); editor.chain().focus().toggleBlockquote().run(); }} title="Blockquote">
|
||||||
"
|
“
|
||||||
</button>
|
</button>
|
||||||
<button type="button" style={btn(editor.isActive('link'))} onMouseDown={e => { e.preventDefault(); handleLink(); }} title="Link">
|
<button type="button" style={btn(editor.isActive('link'))} onMouseDown={e => { e.preventDefault(); handleLink(); }} title="Link">
|
||||||
🔗
|
🔗
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user