diff --git a/src/nodes/Heading/index.js b/src/nodes/Heading/index.js index 4bb5c31b810..bb5adac9ac2 100644 --- a/src/nodes/Heading/index.js +++ b/src/nodes/Heading/index.js @@ -9,7 +9,7 @@ const onUpdate = debounce(({ editor }) => { // Only run if editor still exists (prevent dangling debounced extractHeadings function) extractHeadings(editor) } -}, 900) +}, 900, { immediate: true }) const Heading = TipTapHeading.extend({ addAttributes() {