@webround/core 0.3.12 → 0.3.14
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/kinds.d.ts +1 -1
- package/dist/kinds.js +1 -1
- package/package.json +1 -1
package/dist/kinds.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const WR_KINDS: {
|
|
|
3
3
|
readonly component: "WrSection";
|
|
4
4
|
readonly tag: {
|
|
5
5
|
readonly default: "section";
|
|
6
|
-
readonly allowed: readonly ["section", "div", "article", "aside", "header", "footer", "main", "nav"];
|
|
6
|
+
readonly allowed: readonly ["section", "div", "article", "aside", "header", "footer", "main", "nav", "ul", "ol", "li", "dl", "dt", "dd", "figure", "figcaption", "details", "summary", "address", "blockquote", "hgroup"];
|
|
7
7
|
};
|
|
8
8
|
readonly holds: "elements";
|
|
9
9
|
};
|
package/dist/kinds.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// The one table that says what the Webround elements are. Everything that needs to know — the editor's engine, its field schema, the checks,
|
|
2
2
|
// the components' own `tag` prop, the parent editor — derives from it: a new element, or a new tag, is written here and nowhere else.
|
|
3
3
|
export const WR_KINDS = {
|
|
4
|
-
section: { component: 'WrSection', tag: { default: 'section', allowed: ['section', 'div', 'article', 'aside', 'header', 'footer', 'main', 'nav'] }, holds: 'elements' },
|
|
4
|
+
section: { component: 'WrSection', tag: { default: 'section', allowed: ['section', 'div', 'article', 'aside', 'header', 'footer', 'main', 'nav', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'figure', 'figcaption', 'details', 'summary', 'address', 'blockquote', 'hgroup'] }, holds: 'elements' },
|
|
5
5
|
text: { component: 'WrText', tag: { default: 'div', allowed: ['div', 'span'] }, holds: 'none' },
|
|
6
6
|
image: { component: 'WrImage', tag: { fixed: 'img' }, holds: 'none' },
|
|
7
7
|
link: { component: 'WrLink', tag: { fixed: 'a' }, holds: 'label' },
|