mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05:00
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)
|
||||
|
||||
void controller.saveAndAwaitLocalPropagation({
|
||||
text: editor.value,
|
||||
bypassDebouncer: true,
|
||||
isUserModified: true,
|
||||
})
|
||||
setIsPendingLocalPropagation(true)
|
||||
|
||||
void controller
|
||||
.saveAndAwaitLocalPropagation({
|
||||
text: editor.value,
|
||||
isUserModified: true,
|
||||
})
|
||||
.then(() => {
|
||||
setIsPendingLocalPropagation(false)
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user