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:
parent
f7f02a8b23
commit
a5e833f655
5
.changeset/dry-bugs-protect.md
Normal file
5
.changeset/dry-bugs-protect.md
Normal 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.
|
@ -704,7 +704,7 @@ export function createAndroidInputManager({
|
||||
insertPositionHint = false
|
||||
}
|
||||
|
||||
if (pathChanged || !hasPendingDiffs()) {
|
||||
if (pathChanged || hasPendingDiffs()) {
|
||||
flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user