temporarily change to using sync way to fire 'update:content' in FreeleapsEditor to avoid null content

This commit is contained in:
Zhigang Wang 2024-06-26 16:07:40 -07:00
parent 0d54878258
commit 86f5f558e6

View File

@ -307,9 +307,11 @@ export default {
updateAction($event) { updateAction($event) {
let html = $event.target.innerHTML || '' let html = $event.target.innerHTML || ''
setTimeout(() => { //TODO: need to revise afte confirming the timeout approach is working
this.$emit('update:content', html) this.$emit('update:content', html)
}) // setTimeout(() => {
// this.$emit('update:content', html)
// })
} }
} }
} }