prosemirror-schema-basic
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -43,3 +43,3 @@ var ref = require("prosemirror-model"); | ||
parseDOM: [{tag: "blockquote"}], | ||
toDOM: function toDOM$1() { return ["blockquote", 0] } | ||
toDOM: function toDOM() { return ["blockquote", 0] } | ||
}, | ||
@@ -50,3 +50,3 @@ | ||
parseDOM: [{tag: "hr"}], | ||
toDOM: function toDOM$2() { return ["hr"] } | ||
toDOM: function toDOM() { return ["hr"] } | ||
}, | ||
@@ -65,3 +65,3 @@ | ||
{tag: "h6", attrs: {level: 6}}], | ||
toDOM: function toDOM$3(node) { return ["h" + node.attrs.level, 0] } | ||
toDOM: function toDOM(node) { return ["h" + node.attrs.level, 0] } | ||
}, | ||
@@ -75,3 +75,3 @@ | ||
parseDOM: [{tag: "pre", preserveWhitespace: true}], | ||
toDOM: function toDOM$4() { return ["pre", ["code", 0]] } | ||
toDOM: function toDOM() { return ["pre", ["code", 0]] } | ||
}, | ||
@@ -81,3 +81,3 @@ | ||
group: "inline", | ||
toDOM: function toDOM$5(node) { return node.text } | ||
toDOM: function toDOM(node) { return node.text } | ||
}, | ||
@@ -101,3 +101,3 @@ | ||
}}], | ||
toDOM: function toDOM$6(node) { return ["img", node.attrs] } | ||
toDOM: function toDOM(node) { return ["img", node.attrs] } | ||
}, | ||
@@ -110,3 +110,3 @@ | ||
parseDOM: [{tag: "br"}], | ||
toDOM: function toDOM$7() { return ["br"] } | ||
toDOM: function toDOM() { return ["br"] } | ||
} | ||
@@ -130,3 +130,3 @@ } | ||
{style: "font-style", getAttrs: function (value) { return value == "italic" && null; }}], | ||
toDOM: function toDOM$8() { return ["em"] } | ||
toDOM: function toDOM() { return ["em"] } | ||
}, | ||
@@ -141,3 +141,3 @@ | ||
{style: "font-weight", getAttrs: function (value) { return /^(bold(er)?|[5-9]\d{2,})$/.test(value) && null; }}], | ||
toDOM: function toDOM$9() { return ["strong"] } | ||
toDOM: function toDOM() { return ["strong"] } | ||
}, | ||
@@ -150,6 +150,6 @@ | ||
}, | ||
parseDOM: [{tag: "a[href]", getAttrs: function getAttrs$1(dom) { | ||
parseDOM: [{tag: "a[href]", getAttrs: function getAttrs(dom) { | ||
return {href: dom.getAttribute("href"), title: dom.getAttribute("title")} | ||
}}], | ||
toDOM: function toDOM$10(node) { return ["a", node.attrs] } | ||
toDOM: function toDOM(node) { return ["a", node.attrs] } | ||
}, | ||
@@ -159,3 +159,3 @@ | ||
parseDOM: [{tag: "code"}], | ||
toDOM: function toDOM$11() { return ["code"] } | ||
toDOM: function toDOM() { return ["code"] } | ||
} | ||
@@ -162,0 +162,0 @@ } |
{ | ||
"name": "prosemirror-schema-basic", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Basic schema elements for ProseMirror", | ||
@@ -19,6 +19,6 @@ "main": "dist/schema-basic.js", | ||
"dependencies": { | ||
"prosemirror-model": "^0.15.0" | ||
"prosemirror-model": "^0.16.0" | ||
}, | ||
"devDependencies": { | ||
"buble": "~0.14.0", | ||
"buble": "^0.15.1", | ||
"rimraf": "^2.5.4" | ||
@@ -25,0 +25,0 @@ }, |
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
15728
+ Addedorderedmap@1.1.8(transitive)
+ Addedprosemirror-model@0.16.1(transitive)
- Removedprosemirror-model@0.15.0(transitive)
Updatedprosemirror-model@^0.16.0