mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(insert time): restore editor focus after inserting time
This commit is contained in:
@@ -22,6 +22,7 @@ export default class InsertDateTimePlugin extends Plugin {
|
||||
const component = glob.getComponentByEl(editorEl);
|
||||
|
||||
component.triggerCommand('insertDateTimeToText');
|
||||
editor.editing.view.focus();
|
||||
} );
|
||||
|
||||
return view;
|
||||
|
||||
Reference in New Issue
Block a user