prosemirror-model
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,7 @@ | ||
## 1.4.3 (2018-04-27) | ||
### Bug fixes | ||
[`DOMParser.parseSlice`](https://prosemirror.net/docs/ref/#model.DOMParser.parseSlice) can now correctly parses marks at the top level again. | ||
## 1.4.2 (2018-04-15) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-model", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "ProseMirror's document model", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -329,3 +329,3 @@ import {Fragment} from "./fragment" | ||
let old = this.activeMarks | ||
if (this.type && this.type.allowsMarkType(mark.type)) | ||
if (!this.type || this.type.allowsMarkType(mark.type)) | ||
this.activeMarks = mark.addToSet(old) | ||
@@ -332,0 +332,0 @@ return old |
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
487197