Skip to content

Commit 637e5b0

Browse files
committed
Disable writingsuggestions for the editable element
FIX: Disable `writingsuggestions` for the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor). Closes codemirror/dev#1486
1 parent c946a84 commit 637e5b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/editorview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ export class EditorView {
517517
spellcheck: "false",
518518
autocorrect: "off",
519519
autocapitalize: "off",
520+
writingsuggestions: "false",
520521
translate: "no",
521522
contenteditable: !this.state.facet(editable) ? "false" : "true",
522523
class: "cm-content",

0 commit comments

Comments
 (0)