From e6599408eb80e56606172b2ffc306df7f3c5b1d4 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 1 Feb 2021 11:37:46 -0500 Subject: [PATCH] Turn off smart dashes for easy insertion of shortcodes --- iOS/PostEditor/PostBodyTextView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/PostEditor/PostBodyTextView.swift b/iOS/PostEditor/PostBodyTextView.swift index 609533e..e9b071d 100644 --- a/iOS/PostEditor/PostBodyTextView.swift +++ b/iOS/PostEditor/PostBodyTextView.swift @@ -69,6 +69,7 @@ struct PostBodyTextView: UIViewRepresentable { textView.isUserInteractionEnabled = true textView.isScrollEnabled = true textView.alwaysBounceVertical = false + textView.smartDashesType = .no context.coordinator.textView = textView textView.delegate = context.coordinator