From 8d758377d394b6b58c46fe9fb240915ca7a4a940 Mon Sep 17 00:00:00 2001 From: glushchenko Date: Sat, 10 Feb 2024 20:15:35 +0200 Subject: [PATCH] #1694 --- FSNotes/EditorViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }