Skip to content

Commit

Permalink
fix: listen for content-update
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Feb 13, 2024
1 parent fb901ef commit be4a13d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/editor-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ async function handleEditorUpdate(event) {
}

document.querySelector('main')?.addEventListener('aue:content-patch', handleEditorUpdate);
document.querySelector('main')?.addEventListener('aue:content-update', handleEditorUpdate);

0 comments on commit be4a13d

Please sign in to comment.