@@ -34,9 +34,10 @@ export default {
},
watch: {
rawText(val) {
- this.$refs.editor.innerHTML = val;
+ if(val != this.$refs.editor.innerHTML) this.$refs.editor.innerHTML = val;
+ onmounted() {},
beforeMount() {},
methods: {
input(e) {