ios: disallow editing text attributes
This commit is contained in:
@@ -21,7 +21,6 @@ struct NativeTextEditor: UIViewRepresentable {
|
||||
|
||||
func makeUIView(context: Context) -> UITextView {
|
||||
let field = CustomUITextField()
|
||||
field.allowsEditingTextAttributes = true
|
||||
field.text = text
|
||||
field.font = font
|
||||
field.textAlignment = alignment == .leading ? .left : .right
|
||||
|
||||
Reference in New Issue
Block a user