fix: Use regular debouncing for tab indentations (#2959) [skip e2e]

This commit is contained in:
Antonella Sgarlatta
2025-11-20 21:32:46 -03:00
committed by GitHub
parent 3fe500bd95
commit 3190a27831

View File

@@ -253,11 +253,16 @@ export const PlainEditor = forwardRef<PlainEditorInterface, Props>(
setEditorText(editor.value) setEditorText(editor.value)
void controller.saveAndAwaitLocalPropagation({ setIsPendingLocalPropagation(true)
text: editor.value,
bypassDebouncer: true, void controller
isUserModified: true, .saveAndAwaitLocalPropagation({
}) text: editor.value,
isUserModified: true,
})
.then(() => {
setIsPendingLocalPropagation(false)
})
}, },
}) })