Skip to content

Commit 39f457f

Browse files
authored
Merge pull request #10 from gin66/main
disable autocorrection/spellcheck and smartQuotes
2 parents 0224c8e + 0291b13 commit 39f457f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Sources/CodeEditor/UXCodeTextViewRepresentable.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ struct UXCodeTextViewRepresentable : UXViewRepresentable {
272272
#if os(iOS)
273273
textView.autocapitalizationType = .none
274274
textView.smartDashesType = .no
275+
textView.autocorrectionType = .no
276+
textView.spellCheckingType = .no
277+
textView.smartQuotesType = .no
275278
#endif
276279
updateTextView(textView)
277280
return textView

0 commit comments

Comments
 (0)