From d18a20cc06f7e0a5055281c0fc1d06a893523b7f Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 2 Jul 2019 20:28:57 +0200 Subject: [PATCH] fix focus issue from title to the text content with tab/enter --- package-lock.json | 2 +- src/public/javascripts/services/note_detail_text.js | 2 +- src/views/tabs.ejs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3fd371fc6..d5470719e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "trilium", - "version": "0.33.4", + "version": "0.33.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/public/javascripts/services/note_detail_text.js b/src/public/javascripts/services/note_detail_text.js index de75a1763..9c8f1204c 100644 --- a/src/public/javascripts/services/note_detail_text.js +++ b/src/public/javascripts/services/note_detail_text.js @@ -74,7 +74,7 @@ class NoteDetailText { } focus() { - this.$component.focus(); + this.$editorEl.focus(); } getEditor() { diff --git a/src/views/tabs.ejs b/src/views/tabs.ejs index 6e68f3b7b..5f0c5560e 100644 --- a/src/views/tabs.ejs +++ b/src/views/tabs.ejs @@ -11,8 +11,8 @@
-
-
+
+