diff --git a/FSNotes/EditorViewController.swift b/FSNotes/EditorViewController.swift index 934e79ba2..a4e55766f 100644 --- a/FSNotes/EditorViewController.swift +++ b/FSNotes/EditorViewController.swift @@ -513,8 +513,8 @@ class EditorViewController: NSViewController, NSTextViewDelegate, WebFrameLoadDe //Preview mode doesn't support text search cancelTextSearch() - refillEditArea() - + refillEditArea(force: true) + if let mdView = vcEditor?.editorViewController?.vcEditor?.markdownView { view.window?.makeFirstResponder(mdView) }