Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/MenuBar.vue')
-rw-r--r--src/components/MenuBar.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue
index 0b9fcb069..764c24971 100644
--- a/src/components/MenuBar.vue
+++ b/src/components/MenuBar.vue
@@ -60,6 +60,7 @@
<ActionButton v-if="icon.class && isHiddenInMenu($index) && !(icon.class === 'icon-emoji')"
:key="icon.class"
:icon="icon.class"
+ :close-after-click="true"
@click="clickIcon(commands, icon)">
{{ icon.label }}
</ActionButton>
@@ -249,6 +250,7 @@ export default {
})
},
clickIcon(commands, icon) {
+ this.editor.focus()
return icon.action(commands)
},
getWindowWidth(event) {