diff --git a/src/editor.js b/src/editor.js index 1c01bf4..113b37c 100644 --- a/src/editor.js +++ b/src/editor.js @@ -44,6 +44,7 @@ export default { if (val !== content) { this.$refs.content.innerHTML = val } + this.$emit('update:content', val) }, fullScreen(val){ const component = this