From 87405ffa06347a710e034d2f2207542adcdd3208 Mon Sep 17 00:00:00 2001 From: "julia.kirschenheuter" Date: Wed, 6 Nov 2024 17:51:52 +0100 Subject: [PATCH] fix(files): set focus on image description right after inserting Signed-off-by: julia.kirschenheuter --- src/nodes/ImageView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index cbc2b8996a1..d902bacd3de 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -262,6 +262,9 @@ export default { }, onLoaded() { this.loaded = true + this.$nextTick(() => { + this.$refs.altInput?.focus() + }) }, async updateEmbeddedImageList() { this.embeddedImageList = []