From be4a13d575ca7387de05f17866d968ecd26969e6 Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 13 Feb 2024 14:06:31 +0100 Subject: [PATCH] fix: listen for content-update --- scripts/editor-support.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/editor-support.js b/scripts/editor-support.js index 055ea74073..a89bd709c8 100644 --- a/scripts/editor-support.js +++ b/scripts/editor-support.js @@ -59,3 +59,4 @@ async function handleEditorUpdate(event) { } document.querySelector('main')?.addEventListener('aue:content-patch', handleEditorUpdate); +document.querySelector('main')?.addEventListener('aue:content-update', handleEditorUpdate);