prosemirror-transform
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -0,1 +1,7 @@ | ||
## 1.3.3 (2021-09-29) | ||
### Bug fixes | ||
Fix an inconsistency in `deleteRange` where it would delete the parent node for ranges covering all textblocks in a given parent. | ||
## 1.3.2 (2021-04-06) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-transform", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "ProseMirror document transformations", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -486,5 +486,8 @@ import {Fragment, Slice} from "prosemirror-model" | ||
$to.node(d).type.spec.isolating) break | ||
if (start == $to.start(d)) result.push(d) | ||
if (start == $to.start(d) || | ||
(d == $from.depth && d == $to.depth && $from.parent.inlineContent && $to.parent.inlineContent && | ||
d && $to.start(d - 1) == start - 1)) | ||
result.push(d) | ||
} | ||
return result | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
495453
4493