1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 21:49:20 +01:00

fix: Editable not calling decorate as it should (#5346)

This commit is contained in:
Ed Hager 2023-03-07 20:34:39 -06:00 committed by GitHub
parent f7f02a8b23
commit a5e833f655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fix a problem with Editable not calling the decorate function passed as a prop when it should.

View File

@ -704,7 +704,7 @@ export function createAndroidInputManager({
insertPositionHint = false
}
if (pathChanged || !hasPendingDiffs()) {
if (pathChanged || hasPendingDiffs()) {
flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
}
}