From 4800acb39564796ce7b4150028fab45a5ff6f7a2 Mon Sep 17 00:00:00 2001 From: Andreas Tzionis Date: Sun, 17 Mar 2024 04:46:24 +0200 Subject: [PATCH] fixed dom change --- lib/client/vanilla/editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/vanilla/editor.tsx b/lib/client/vanilla/editor.tsx index 7fe3a244..d36ccb19 100644 --- a/lib/client/vanilla/editor.tsx +++ b/lib/client/vanilla/editor.tsx @@ -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')