prosemirror-state
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,7 @@ | ||
## 1.2.1 (2018-07-02) | ||
### Bug fixes | ||
Fixes a bug in the default implementation of `Selection.getBookmark`. | ||
## 1.2.0 (2018-04-05) | ||
@@ -2,0 +8,0 @@ |
@@ -207,3 +207,3 @@ 'use strict'; | ||
Selection.prototype.getBookmark = function getBookmark () { | ||
return TextSelection.between(this.anchor, this.head).getBookmark() | ||
return TextSelection.between(this.$anchor, this.$head).getBookmark() | ||
}; | ||
@@ -210,0 +210,0 @@ |
{ | ||
"name": "prosemirror-state", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "ProseMirror editor state", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -196,3 +196,3 @@ import {Slice, Fragment} from "prosemirror-model" | ||
getBookmark() { | ||
return TextSelection.between(this.anchor, this.head).getBookmark() | ||
return TextSelection.between(this.$anchor, this.$head).getBookmark() | ||
} | ||
@@ -199,0 +199,0 @@ } |
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
171966