prosemirror-gapcursor
Advanced tools
Comparing version 1.1.5 to 1.2.0
@@ -0,1 +1,7 @@ | ||
## 1.2.0 (2021-09-20) | ||
### New features | ||
The `GapCursor` constructor is now public. | ||
## 1.1.5 (2020-04-05) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-gapcursor", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"description": "ProseMirror plugin for cursors at normally impossible-to-reach positions", | ||
@@ -21,4 +21,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"rollup": "^1.26.3", | ||
"@rollup/plugin-buble": "^0.20.0" | ||
"rollup": "^2.26.3", | ||
"@rollup/plugin-buble": "^0.21.3" | ||
}, | ||
@@ -25,0 +25,0 @@ "dependencies": { |
@@ -13,3 +13,3 @@ module.exports = { | ||
plugins: [require('@rollup/plugin-buble')()], | ||
external(id) { return !/^[\.\/]/.test(id) } | ||
external(id) { return id[0] != "." && !require("path").isAbsolute(id) } | ||
} |
@@ -7,3 +7,4 @@ import {Selection, NodeSelection} from "prosemirror-state" | ||
export class GapCursor extends Selection { | ||
// : (ResolvedPos) | ||
// :: (ResolvedPos) | ||
// Create a gap cursor. | ||
constructor($pos) { | ||
@@ -10,0 +11,0 @@ super($pos, $pos) |
Sorry, the diff of this file is not supported yet
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
59548
555