mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Disable editing fallthrough text field
This commit is contained in:
parent
3a1d8d4470
commit
fa1487df16
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ final class TouchFallthroughTextView: UITextView {
|
||||||
|
|
||||||
clipsToBounds = false
|
clipsToBounds = false
|
||||||
textDragInteraction?.isEnabled = false
|
textDragInteraction?.isEnabled = false
|
||||||
|
isEditable = false
|
||||||
textContainerInset = .zero
|
textContainerInset = .zero
|
||||||
self.textContainer.lineFragmentPadding = 0
|
self.textContainer.lineFragmentPadding = 0
|
||||||
linkTextAttributes = [.foregroundColor: tintColor as Any, .underlineColor: UIColor.clear]
|
linkTextAttributes = [.foregroundColor: tintColor as Any, .underlineColor: UIColor.clear]
|
||||||
|
|
Loading…
Reference in a new issue