mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 01:33:58 +02:00
fix: Editable not calling decorate as it should (#5346)
This commit is contained in:
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
|
insertPositionHint = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pathChanged || !hasPendingDiffs()) {
|
if (pathChanged || hasPendingDiffs()) {
|
||||||
flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
|
flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user