mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
enter on note tree can also give focus to the editor
This commit is contained in:
parent
69cbfaae17
commit
2d2d76a715
@ -442,6 +442,9 @@ const noteTree = (function() {
|
|||||||
"ctrl+return": node => {
|
"ctrl+return": node => {
|
||||||
noteDetailEl.focus();
|
noteDetailEl.focus();
|
||||||
},
|
},
|
||||||
|
"return": node => {
|
||||||
|
noteDetailEl.focus();
|
||||||
|
},
|
||||||
// code below shouldn't be necessary normally, however there's some problem with interaction with context menu plugin
|
// code below shouldn't be necessary normally, however there's some problem with interaction with context menu plugin
|
||||||
// after opening context menu, standard shortcuts don't work, but they are detected here
|
// after opening context menu, standard shortcuts don't work, but they are detected here
|
||||||
// so we essentially takeover the standard handling with our implementation.
|
// so we essentially takeover the standard handling with our implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user