Skip to content

Commit

Permalink
fixed dom change
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Mar 17, 2024
1 parent 1647699 commit 4800acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/vanilla/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function Editor({ standaloneServer = false }) {
}

const onDomChange = () => {
const config = { attributes: true, childList: true, subtree: true }
const config = { attributes: true, childList: true, subtree: true, characterData: true }
const observer = new MutationObserver(
debounce(() => {
console.log('dom changed')
Expand Down

0 comments on commit 4800acb

Please sign in to comment.