Skip to content

Commit

Permalink
Use destroy instead of remove for vuejs (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-netlor authored Jun 18, 2021
1 parent 16e0b88 commit 999b9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/vue-editor/src/mixin/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ export const optionsMixin = {
editorEvents.forEach((event) => {
this.editor.off(event);
});
this.editor.remove();
this.editor.destroy();
},
};

0 comments on commit 999b9e2

Please sign in to comment.