UNPKG

823 BJavaScriptView Raw
1var name = 'confluenceUnsupportedInline';
2export var confluenceUnsupportedInline = {
3 group: 'inline',
4 inline: true,
5 atom: true,
6 attrs: { cxhtml: { default: null } },
7 toDOM: function (node) {
8 var attrs = {
9 'data-node-type': name,
10 'data-confluence-unsupported': 'inline',
11 'data-confluence-unsupported-inline-cxhtml': node.attrs['cxhtml'],
12 };
13 return ['div', attrs, 'Unsupported content'];
14 },
15 parseDOM: [
16 {
17 tag: "div[data-node-type=\"" + name + "\"]",
18 getAttrs: function (dom) {
19 return {
20 cxhtml: dom.getAttribute('data-confluence-unsupported-inline-cxhtml'),
21 };
22 },
23 },
24 ],
25};
26//# sourceMappingURL=confluence-unsupported-inline.js.map
\No newline at end of file