Skip to content

Commit baab9d7

Browse files
committed
Fix: attempt to enable spellchecking.
1 parent fc699f5 commit baab9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/CodeChatEditor.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ const _open_lp = async (
267267
// in`source.doc`. We don't need the CodeMirror editor at all;
268268
// instead, treat it like a single doc block contents div.
269269
doc_content = source.Plain.doc;
270-
codechat_body.innerHTML = `<div class="CodeChat-doc-contents">${doc_content}</div>`;
270+
codechat_body.innerHTML = `<div class="CodeChat-doc-contents" spellcheck="true">${doc_content}</div>`;
271271
await init({
272272
selector: ".CodeChat-doc-contents",
273273
// In the doc-only mode, add autosave functionality. While there

0 commit comments

Comments
 (0)