fix(tab): editor not focused after switching tabs

This commit is contained in:
Elian Doran 2025-07-08 16:22:11 +03:00
parent 1ecce11113
commit 0f1c505823
No known key found for this signature in database

View File

@ -71,6 +71,15 @@ export default abstract class TypeWidget extends NoteContextAwareWidget {
} }
} }
activeNoteChangedEvent() {
if (!this.isActiveNoteContext()) {
return;
}
// Restore focus to the editor when switching tabs.
this.focus();
}
/** /**
* {@inheritdoc} * {@inheritdoc}
* *