PEUI // Patch textView.isRichText.
This commit is contained in:
parent
e3a775dfa5
commit
c0e1eb449d
|
@ -144,6 +144,7 @@ public struct TextEditorEX: NSViewRepresentable {
|
||||||
textView.isVerticallyResizable = true
|
textView.isVerticallyResizable = true
|
||||||
textView.frame = CGRect(x: 0, y: 0, width: contentSize.width, height: contentSize.height)
|
textView.frame = CGRect(x: 0, y: 0, width: contentSize.width, height: contentSize.height)
|
||||||
textView.autoresizingMask = [.width]
|
textView.autoresizingMask = [.width]
|
||||||
|
textView.isRichText = false
|
||||||
textView.delegate = self
|
textView.delegate = self
|
||||||
|
|
||||||
scrollview.borderType = .noBorder
|
scrollview.borderType = .noBorder
|
||||||
|
|
Loading…
Reference in New Issue