mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 10:51:44 +02:00
fix: the 'select' parameter of the insertNodes function has been overridden (#5562)
This commit is contained in:
@@ -30,7 +30,9 @@ export const insertNodes: NodeTransforms['insertNodes'] = (
|
||||
|
||||
if (!at) {
|
||||
at = getDefaultInsertLocation(editor)
|
||||
select = true
|
||||
if (select !== false) {
|
||||
select = true
|
||||
}
|
||||
}
|
||||
|
||||
if (select == null) {
|
||||
|
Reference in New Issue
Block a user