From 022792e7f4c0e133c61bf91fce8f330ae5014efb Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Fri, 18 Dec 2020 14:58:09 -0500 Subject: [PATCH] Enable undo in MacEditorTextView --- macOS/PostEditor/MacEditorTextView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/macOS/PostEditor/MacEditorTextView.swift b/macOS/PostEditor/MacEditorTextView.swift index 38281bb..96bacc9 100644 --- a/macOS/PostEditor/MacEditorTextView.swift +++ b/macOS/PostEditor/MacEditorTextView.swift @@ -157,6 +157,7 @@ final class CustomTextView: NSView { ) textView.minSize = NSSize(width: 0, height: contentSize.height) textView.textColor = NSColor.labelColor + textView.allowsUndo = true return textView }()