@alxgrn/prose-editor 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/prose-editor.es.js
CHANGED
|
@@ -17018,7 +17018,6 @@ const Yb = ["p", 0], Gb = ["blockquote", 0], Xb = ["hr"], Qb = ["pre", ["code",
|
|
|
17018
17018
|
title: { default: null, validate: "string|null" }
|
|
17019
17019
|
},
|
|
17020
17020
|
group: "block",
|
|
17021
|
-
draggable: !0,
|
|
17022
17021
|
parseDOM: [{ tag: "img[src]", getAttrs(n) {
|
|
17023
17022
|
return {
|
|
17024
17023
|
fid: n.getAttribute("fid"),
|
|
@@ -17038,7 +17037,6 @@ const Yb = ["p", 0], Gb = ["blockquote", 0], Xb = ["hr"], Qb = ["pre", ["code",
|
|
|
17038
17037
|
title: { default: null, validate: "string|null" }
|
|
17039
17038
|
},
|
|
17040
17039
|
group: "block",
|
|
17041
|
-
draggable: !0,
|
|
17042
17040
|
parseDOM: [{ tag: "iframe[src]", getAttrs(n) {
|
|
17043
17041
|
return {
|
|
17044
17042
|
src: n.getAttribute("src"),
|
|
@@ -17068,7 +17066,6 @@ const Yb = ["p", 0], Gb = ["blockquote", 0], Xb = ["hr"], Qb = ["pre", ["code",
|
|
|
17068
17066
|
content: "inline*",
|
|
17069
17067
|
marks: "underline strikethrough",
|
|
17070
17068
|
group: "block",
|
|
17071
|
-
defining: !0,
|
|
17072
17069
|
parseDOM: [
|
|
17073
17070
|
{ tag: "h1", attrs: { level: 1 } },
|
|
17074
17071
|
{ tag: "h2", attrs: { level: 2 } },
|
|
@@ -17093,7 +17090,8 @@ const Yb = ["p", 0], Gb = ["blockquote", 0], Xb = ["hr"], Qb = ["pre", ["code",
|
|
|
17093
17090
|
}), h0 = bf.remove("heading").remove("paragraph").prepend({ paragraph: u0 }).append({ heading: f0 }).append({ carousel: d0 }).append(zg(
|
|
17094
17091
|
{
|
|
17095
17092
|
tableGroup: "block",
|
|
17096
|
-
cellContent: "(paragraph | ordered_list | bullet_list)
|
|
17093
|
+
cellContent: "(paragraph | ordered_list | bullet_list)+",
|
|
17094
|
+
// важно использовать + а не * !
|
|
17097
17095
|
cellAttributes: {
|
|
17098
17096
|
halign: {
|
|
17099
17097
|
default: null,
|