@portabletext/editor 7.10.5 → 7.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -18775,7 +18775,7 @@ function updateBlock({
|
|
|
18775
18775
|
_key: oldChild._key
|
|
18776
18776
|
}]
|
|
18777
18777
|
});
|
|
18778
|
-
const prevSibling = currentBlockChildIndex > 0 ?
|
|
18778
|
+
const prevSibling = currentBlockChildIndex > 0 ? engineBlock.children[currentBlockChildIndex - 1] : void 0;
|
|
18779
18779
|
prevSibling ? editorEngine.apply({
|
|
18780
18780
|
type: "insert",
|
|
18781
18781
|
path: [{
|