prosemirror-model
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -0,1 +1,7 @@ | ||
## 1.6.4 (2019-01-05) | ||
### Bug fixes | ||
Don't output empty style attributes when a style property with a null value is present in `renderSpec`. | ||
## 1.6.3 (2018-10-26) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-model", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "ProseMirror's document model", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -247,3 +247,3 @@ import {Fragment} from "./fragment" | ||
// :: bool | ||
// True when this node has inline content. | ||
// True when this node allows inline content. | ||
get inlineContent() { return this.type.inlineContent } | ||
@@ -250,0 +250,0 @@ |
@@ -129,4 +129,3 @@ // DOMOutputSpec:: interface | ||
for (let name in attrs) { | ||
if (name == "style") dom.style.cssText = attrs[name] | ||
else if (attrs[name] != null) dom.setAttribute(name, attrs[name]) | ||
if (attrs[name] != null) dom.setAttribute(name, attrs[name]) | ||
} | ||
@@ -133,0 +132,0 @@ } |
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
493156
5961