prosemirror-transform 1.4.1 → 1.4.2
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/CHANGELOG.md +6 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/replace.js +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1437,7 +1437,7 @@ Fitter.prototype.placeNodes = function placeNodes (ref) {
|
|
|
1437
1437
|
};
|
|
1438
1438
|
|
|
1439
1439
|
Fitter.prototype.mustMoveInline = function mustMoveInline () {
|
|
1440
|
-
if (!this.$to.parent.isTextblock
|
|
1440
|
+
if (!this.$to.parent.isTextblock) { return -1 }
|
|
1441
1441
|
var top = this.frontier[this.depth], level;
|
|
1442
1442
|
if (!top.type.isTextblock || !contentAfterFits(this.$to, this.$to.depth, top.type, top.match, false) ||
|
|
1443
1443
|
(this.$to.depth == this.depth && (level = this.findCloseLevel(this.$to)) && level.depth == this.depth)) { return -1 }
|