fix: Use regular debouncing for tab indentations (#2959) [skip e2e]
This commit is contained in:
committed by
GitHub
parent
3fe500bd95
commit
3190a27831
@@ -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)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user