Turn off smart dashes for easy insertion of shortcodes

This commit is contained in:
Angelo Stavrow 2021-02-01 11:37:46 -05:00
parent 26ea1d97d2
commit e6599408eb
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -69,6 +69,7 @@ struct PostBodyTextView: UIViewRepresentable {
textView.isUserInteractionEnabled = true textView.isUserInteractionEnabled = true
textView.isScrollEnabled = true textView.isScrollEnabled = true
textView.alwaysBounceVertical = false textView.alwaysBounceVertical = false
textView.smartDashesType = .no
context.coordinator.textView = textView context.coordinator.textView = textView
textView.delegate = context.coordinator textView.delegate = context.coordinator