Skip to content

Commit

Permalink
fix(TextEditor): don't autofocus editor when loading in edit mode
Browse files Browse the repository at this point in the history
Fixes: #596

This might also help with flakyness of some Cypress tests.

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Oct 5, 2023
1 parent 44d104c commit 682735f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Page/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ export default {
if (this.doc()) {
this.previousSaveTimestamp = this.doc().lastSavedVersionTime
}
this.$nextTick(this.focusEditor())
}
},
Expand Down

0 comments on commit 682735f

Please sign in to comment.