prosemirror-model
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -0,1 +1,7 @@ | ||
## 1.4.2 (2018-04-15) | ||
### Bug fixes | ||
Remove a `console.log` that was accidentally left in the previous release. | ||
## 1.4.1 (2018-04-13) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-model", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "ProseMirror's document model", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -456,3 +456,2 @@ import {Fragment} from "./fragment" | ||
markType = this.parser.schema.marks[rule.mark] | ||
if (markType.name == "comment") console.log("adding a comment") | ||
before = this.top.addMark(mark = markType.create(rule.attrs)) | ||
@@ -459,0 +458,0 @@ } |
@@ -186,3 +186,3 @@ import {Fragment} from "./fragment" | ||
// :: (number) → ?Node | ||
// Find the node starting at the given position. | ||
// Find the node directly after the given position. | ||
nodeAt(pos) { | ||
@@ -189,0 +189,0 @@ for (let node = this;;) { |
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
487008
5892