From af458d658d177abb9d820a10e5f4b157e2c33c35 Mon Sep 17 00:00:00 2001 From: luna Date: Sat, 4 Jan 2025 23:28:13 +1030 Subject: [PATCH] fix: autocorrect in editor --- src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts b/src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts index 86b6e7f..ccc5cb7 100644 --- a/src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts +++ b/src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts @@ -42,7 +42,7 @@ const createExtensions = (placeholder: string) => [ blockquote: { HTMLAttributes: { class: 'block-node' } }, bulletList: { HTMLAttributes: { class: 'list-node' } }, orderedList: { HTMLAttributes: { class: 'list-node' } }, - code: { HTMLAttributes: { class: 'inline', spellcheck: 'false' } }, + code: { HTMLAttributes: { class: 'inline', spellcheck: 'true' } }, dropcursor: { width: 2, class: 'ProseMirror-dropcursor border' }, }), Link,