@udecode/slate-utils
Advanced tools
Comparing version 36.0.6 to 36.3.4
@@ -273,3 +273,3 @@ import * as _udecode_slate from '@udecode/slate'; | ||
declare const replaceNode: <N extends EElementOrText<V>, V extends Value = Value>(editor: TEditor<V>, { at, insertOptions, nodes }: ReplaceNodeChildrenOptions<N, V>) => void; | ||
declare const replaceNode: <N extends EElementOrText<V>, V extends Value = Value>(editor: TEditor<V>, { at, insertOptions, nodes, removeOptions }: ReplaceNodeChildrenOptions<N, V>) => void; | ||
@@ -276,0 +276,0 @@ /** Select the end point of the block above the selection. */ |
@@ -835,5 +835,5 @@ "use strict"; | ||
var import_slate46 = require("@udecode/slate"); | ||
var replaceNode = (editor, { at, insertOptions, nodes }) => { | ||
var replaceNode = (editor, { at, insertOptions, nodes, removeOptions }) => { | ||
(0, import_slate46.withoutNormalizing)(editor, () => { | ||
(0, import_slate46.removeNodes)(editor, __spreadProps(__spreadValues({}, insertOptions), { at })); | ||
(0, import_slate46.removeNodes)(editor, __spreadProps(__spreadValues({}, removeOptions), { at })); | ||
(0, import_slate46.insertNodes)(editor, nodes, __spreadProps(__spreadValues({}, insertOptions), { | ||
@@ -840,0 +840,0 @@ at |
{ | ||
"name": "@udecode/slate-utils", | ||
"version": "36.0.6", | ||
"version": "36.3.4", | ||
"description": "Slate utils", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215479