Authored by 陈峰

Merge branch 'feature/hole' into release/3.1

<template>
<editor :content="value" @change="change"></editor>
<editor v-bind="$attrs" v-on="$listeners"></editor>
</template>
<script>
... ... @@ -7,11 +7,8 @@ import xss from 'util/xss';
export default {
name: 'editor-safe',
props: ['content'],
data() {
return {
value: this.content
};
created() {
this.$listeners.change = this.change;
},
methods: {
change(val) {
... ...