@udecode/plate-reset-node
Advanced tools
Comparing version 36.0.0 to 36.5.2
@@ -117,3 +117,4 @@ "use strict"; | ||
(0, import_server2.withoutNormalizing)(editor, () => { | ||
(0, import_server2.unsetNodes)(editor, Object.keys((0, import_server2.getNodeProps)(node)), { at: [0] }); | ||
const _a2 = (0, import_server2.getNodeProps)(node), { id } = _a2, nodeProps = __objRest(_a2, ["id"]); | ||
(0, import_server2.unsetNodes)(editor, Object.keys(nodeProps), { at: [0] }); | ||
(0, import_server2.setNodes)(editor, props, { at: [0] }); | ||
@@ -120,0 +121,0 @@ }); |
{ | ||
"name": "@udecode/plate-reset-node", | ||
"version": "36.0.0", | ||
"version": "36.5.2", | ||
"description": "Reset node plugin for Plate", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@udecode/plate-common": ">=36.0.0", | ||
"@udecode/plate-common": ">=36.3.9", | ||
"react": ">=16.8.0", | ||
@@ -48,0 +48,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
26378
278