Skip to content

Commit

Permalink
修复再次赋值至content时无法更新到编辑器 #27
Browse files Browse the repository at this point in the history
  • Loading branch information
lpreterite committed Apr 2, 2021
1 parent 096ba94 commit 68080f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vue-tinymce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export default {
this.status = INPUT //编辑器录入文字时标记为`INPUT`状态
})
editor.on('SetContent', e=>{ //编辑器在插入图片和撤销/重做时触发,组件content更新数据也会导致触发
this.status = INPUT //编辑器在响应`setContent`方法后标记为`INPUT`状态
this.changedLog(e, this.status, editor.getContent(), "--")
})
editor.on('Blur', e=>{
Expand Down

0 comments on commit 68080f6

Please sign in to comment.