Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Disable spellcheck

Tomas Valentaa6d2c5b895c6
diff --git a/hooks/useDocEditor.ts b/hooks/useDocEditor.ts
index f89934086..5fc790e87 100644
--- a/hooks/useDocEditor.ts
+++ b/hooks/useDocEditor.ts
@@ -67,7 +67,7 @@ function useDocEditor({
editorProps: {
attributes: {
'data-gramm': 'false',
- // 'spellcheck': 'false',
+ 'spellcheck': 'false',
},
},
extensions,
@@ -80,7 +80,6 @@ function useDocEditor({
},
}))
- console.log('reinit')
instance.on('transaction', t => {
if (t.transaction.docChanged) {
onContentChange(t.transaction.doc.toJSON())