mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 03:58:53 +08:00
fix focus issue from title to the text content with tab/enter
This commit is contained in:
parent
9c91b0459e
commit
d18a20cc06
3 changed files with 4 additions and 4 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "trilium",
|
||||
"version": "0.33.4",
|
||||
"version": "0.33.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -74,7 +74,7 @@ class NoteDetailText {
|
|||
}
|
||||
|
||||
focus() {
|
||||
this.$component.focus();
|
||||
this.$editorEl.focus();
|
||||
}
|
||||
|
||||
getEditor() {
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
<table class="note-detail-promoted-attributes"></table>
|
||||
|
||||
<div class="note-detail-component-wrapper">
|
||||
<div class="note-detail-text note-detail-component" tabindex="10000">
|
||||
<div class="note-detail-text-editor"></div>
|
||||
<div class="note-detail-text note-detail-component">
|
||||
<div class="note-detail-text-editor" tabindex="10000"></div>
|
||||
</div>
|
||||
|
||||
<div class="note-detail-code note-detail-component"></div>
|
||||
|
|
Loading…
Reference in a new issue