mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-18 13:11:17 +02:00
Fix normalize to join text nodes
This commit is contained in:
@@ -113,7 +113,7 @@ const NO_ADJACENT_TEXT_RULE = {
|
|||||||
return pairs.reduce((t, pair) => {
|
return pairs.reduce((t, pair) => {
|
||||||
const [ first, second ] = pair
|
const [ first, second ] = pair
|
||||||
return t.joinNodeByKey(first.key, second.key)
|
return t.joinNodeByKey(first.key, second.key)
|
||||||
})
|
}, transform)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user