mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Enable undo in MacEditorTextView
This commit is contained in:
parent
f880b48021
commit
022792e7f4
@ -157,6 +157,7 @@ final class CustomTextView: NSView {
|
|||||||
)
|
)
|
||||||
textView.minSize = NSSize(width: 0, height: contentSize.height)
|
textView.minSize = NSSize(width: 0, height: contentSize.height)
|
||||||
textView.textColor = NSColor.labelColor
|
textView.textColor = NSColor.labelColor
|
||||||
|
textView.allowsUndo = true
|
||||||
|
|
||||||
return textView
|
return textView
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user