@udecode/plate-node-id
Advanced tools
Comparing version 36.0.0 to 36.3.6
@@ -101,3 +101,5 @@ "use strict"; | ||
editor.insertNodes = (_nodes, options) => { | ||
const nodes = (0, import_castArray.default)(_nodes); | ||
const nodes = (0, import_castArray.default)(_nodes).filter((node) => !!node); | ||
if (nodes.length === 0) | ||
return; | ||
insertNodes( | ||
@@ -104,0 +106,0 @@ nodes.map((node) => { |
{ | ||
"name": "@udecode/plate-node-id", | ||
"version": "36.0.0", | ||
"version": "36.3.6", | ||
"description": "Node ID plugin for Plate", | ||
@@ -48,3 +48,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@udecode/plate-common": ">=36.0.0", | ||
"@udecode/plate-common": ">=36.3.4", | ||
"react": ">=16.8.0", | ||
@@ -51,0 +51,0 @@ "react-dom": ">=16.8.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32657
386