diff --git a/src/Editor.vue b/src/Editor.vue index 84f6a08..3b1cf49 100644 --- a/src/Editor.vue +++ b/src/Editor.vue @@ -30,6 +30,9 @@ export default { visible: { type: Boolean, default: true + }, + exts: { + type: Array } }, data() { @@ -44,6 +47,7 @@ export default { options.initialEditType = this.mode; options.height = this.height; options.previewStyle = this.previewStyle; + options.exts = this.exts; return options; }