Skip to content

Commit

Permalink
fix: autocorrect in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Jan 4, 2025
1 parent 5a7a72e commit af458d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/minimal-tiptap/hooks/use-minimal-tiptap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af458d6

Please sign in to comment.