From d835ee741a1218c4dc91d330fda4958c26906a7b Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Wed, 20 Mar 2024 00:05:12 -0500 Subject: [PATCH] Focus editor after pasting image --- resources/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/common.js b/resources/common.js index ed663f1..c82d0ad 100644 --- a/resources/common.js +++ b/resources/common.js @@ -347,7 +347,7 @@ function register_copy_clipboard($elements, callback) { }, complete: () => { // Re-enable the editor - $(this).prop('disabled', false); + $(this).prop('disabled', false).focus(); } });