diff --git a/src/components/editor.vue b/src/components/editor.vue index bdadf0d7..1405742a 100644 --- a/src/components/editor.vue +++ b/src/components/editor.vue @@ -245,9 +245,9 @@ export default class EditorV extends Vue { */ updateCustomSlide(slideConfig: Slide, save?: boolean): void { this.currentSlide = slideConfig; + this.slides[this.slideIndex] = slideConfig; // save changes emitted from advanced editor if (save) { - this.slides[this.slideIndex] = slideConfig; this.$emit('save-changes'); } } diff --git a/src/components/helpers/custom-editor.vue b/src/components/helpers/custom-editor.vue index 8c3166a1..83a1d9f3 100644 --- a/src/components/helpers/custom-editor.vue +++ b/src/components/helpers/custom-editor.vue @@ -4,7 +4,7 @@ v-model="updatedConfig" lang="en" :mode="'text'" - :show-btns="true" + :show-btns="false" :expandedOnStart="true" @json-change=" (json: any) => {