1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 17:53:59 +02: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
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 insertPositionHint = false
} }
if (pathChanged || !hasPendingDiffs()) { if (pathChanged || hasPendingDiffs()) {
flushTimeoutId = setTimeout(flush, FLUSH_DELAY) flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
} }
} }