diff --git a/src/components/editor/CommandLanguageBar.vue b/src/components/editor/CommandLanguageBar.vue index d51585c..cab6f90 100644 --- a/src/components/editor/CommandLanguageBar.vue +++ b/src/components/editor/CommandLanguageBar.vue @@ -169,16 +169,12 @@ - - - - - + @@ -298,19 +294,19 @@ export default { window.showUb.docs(); }, handleComposerRun(code) { - this.$emit('add-action', code); + this.$emit("add-action", code); }, handleComposerApply(code) { - this.$emit('add-action', code); + this.$emit("add-action", code); this.showComposer = false; }, applyComposerCommands() { if (this.$refs.composer) { const code = this.$refs.composer.generateCode(); - this.$emit('add-action', code); + this.$emit("add-action", code); } this.showComposer = false; - } + }, }, }; diff --git a/src/components/editor/composer/CommandComposer.vue b/src/components/editor/composer/CommandComposer.vue index 0bed54d..6369621 100644 --- a/src/components/editor/composer/CommandComposer.vue +++ b/src/components/editor/composer/CommandComposer.vue @@ -1,18 +1,11 @@ @@ -81,87 +90,167 @@ diff --git a/src/components/editor/composer/ComposerList.vue b/src/components/editor/composer/ComposerList.vue index 93300a8..cf68133 100644 --- a/src/components/editor/composer/ComposerList.vue +++ b/src/components/editor/composer/ComposerList.vue @@ -2,9 +2,14 @@