mirror of
https://github.com/heyman/heynote.git
synced 2025-08-14 16:58:36 +02:00
Give back focus to editor when toggling themes
This commit is contained in:
@ -49,6 +49,7 @@
|
|||||||
}
|
}
|
||||||
window.darkMode.set(newTheme)
|
window.darkMode.set(newTheme)
|
||||||
this.systemTheme = newTheme
|
this.systemTheme = newTheme
|
||||||
|
this.$refs.editor.focus()
|
||||||
},
|
},
|
||||||
|
|
||||||
onCursorChange(e) {
|
onCursorChange(e) {
|
||||||
|
Reference in New Issue
Block a user