Skip to content

Commit

Permalink
fix: Enable undo/redo in NewPostViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
rinsuki committed May 7, 2021
1 parent 2155f7e commit bc310e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Mac/App/NewPost/NewPostViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class NewPostViewController: NSViewController {
$0.isRichText = false
$0.autoresizingMask = .width
$0.font = NSFont.systemFont(ofSize: NSFont.systemFontSize)
$0.allowsUndo = true
}
lazy var scrollView = NSScrollView() {
$0.documentView = textView
Expand Down

0 comments on commit bc310e2

Please sign in to comment.