mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
fix: Use regular debouncing for tab indentations (#2959) [skip e2e]
This commit is contained in:
parent
3fe500bd95
commit
3190a27831
1 changed files with 10 additions and 5 deletions
|
|
@ -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)
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue