temporarily change to using sync way to fire 'update:content' in FreeleapsEditor to avoid null content
This commit is contained in:
parent
0d54878258
commit
86f5f558e6
@ -307,9 +307,11 @@ export default {
|
||||
|
||||
updateAction($event) {
|
||||
let html = $event.target.innerHTML || ''
|
||||
setTimeout(() => {
|
||||
//TODO: need to revise afte confirming the timeout approach is working
|
||||
this.$emit('update:content', html)
|
||||
})
|
||||
// setTimeout(() => {
|
||||
// this.$emit('update:content', html)
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user