diff --git a/src/views/markdown/EditElement.vue b/src/views/markdown/EditElement.vue index 6447c97..5d400a8 100644 --- a/src/views/markdown/EditElement.vue +++ b/src/views/markdown/EditElement.vue @@ -28,7 +28,7 @@ export default{ }, watch: { value(value){ - if (!this.isLocked || !this.innerText) { + if (!this.isLocked) { this.innerText = value document.getElementById('edit-div').innerHTML = value } diff --git a/src/views/markdown/index.vue b/src/views/markdown/index.vue index 466a076..fc70bae 100644 --- a/src/views/markdown/index.vue +++ b/src/views/markdown/index.vue @@ -14,6 +14,7 @@