prosemirror-view
Advanced tools
Comparing version 0.14.1 to 0.14.2
@@ -280,3 +280,3 @@ var ref = require("prosemirror-model"); | ||
if (from > offset && to < end) | ||
{ return child.setSelection(from - offset - child.border, to - offset - child.border, root) } | ||
{ return child.setSelection(anchor - offset - child.border, head - offset - child.border, root) } | ||
offset = end | ||
@@ -283,0 +283,0 @@ } |
{ | ||
"name": "prosemirror-view", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -257,3 +257,3 @@ const {DOMSerializer} = require("prosemirror-model") | ||
if (from > offset && to < end) | ||
return child.setSelection(from - offset - child.border, to - offset - child.border, root) | ||
return child.setSelection(anchor - offset - child.border, head - offset - child.border, root) | ||
offset = end | ||
@@ -260,0 +260,0 @@ } |
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
252232