mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 13:50:42 +08:00
fix(insert time): restore editor focus after inserting time
This commit is contained in:
parent
cef362c123
commit
8e56faf9f0
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ export default class InsertDateTimePlugin extends Plugin {
|
|||
const component = glob.getComponentByEl(editorEl);
|
||||
|
||||
component.triggerCommand('insertDateTimeToText');
|
||||
editor.editing.view.focus();
|
||||
} );
|
||||
|
||||
return view;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue