prosemirror-transform
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -0,1 +1,7 @@ | ||
## 1.4.2 (2022-04-05) | ||
### Bug fixes | ||
Make replacements that span to the end of a textblock more consistent with those ending in the middle of the block. | ||
## 1.4.1 (2022-03-31) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-transform", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "ProseMirror document transformations", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -244,3 +244,3 @@ import {Fragment, Slice} from "prosemirror-model" | ||
mustMoveInline() { | ||
if (!this.$to.parent.isTextblock || this.$to.end() == this.$to.pos) return -1 | ||
if (!this.$to.parent.isTextblock) return -1 | ||
let top = this.frontier[this.depth], level | ||
@@ -247,0 +247,0 @@ if (!top.type.isTextblock || !contentAfterFits(this.$to, this.$to.depth, top.type, top.match, false) || |
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
498197