prosemirror-transform 1.3.1 → 1.3.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/structure.js +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -909,7 +909,7 @@ function dropPoint(doc, pos, slice) {
|
|
|
909
909
|
fits = parent.canReplace(insertPos, insertPos, content);
|
|
910
910
|
} else {
|
|
911
911
|
var wrapping = parent.contentMatchAt(insertPos).findWrapping(content.firstChild.type);
|
|
912
|
-
fits = wrapping && parent.canReplaceWith(insertPos, insertPos, wrapping[0]
|
|
912
|
+
fits = wrapping && parent.canReplaceWith(insertPos, insertPos, wrapping[0]);
|
|
913
913
|
}
|
|
914
914
|
if (fits)
|
|
915
915
|
{ return bias == 0 ? $pos.pos : bias < 0 ? $pos.before(d + 1) : $pos.after(d + 1) }
|