cec-nuxt-lib 0.12.6 → 0.12.8
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/module.json
CHANGED
|
@@ -79,8 +79,7 @@ const accordion = (data) => {
|
|
|
79
79
|
</article>
|
|
80
80
|
`;
|
|
81
81
|
});
|
|
82
|
-
html
|
|
83
|
-
return html;
|
|
82
|
+
return html + "</section>";
|
|
84
83
|
};
|
|
85
84
|
const accordionComponent = (props2) => {
|
|
86
85
|
return accordion({ ...props2.block.value, id: props2.block.id });
|
|
@@ -678,11 +677,9 @@ const renderer = createRenderer({
|
|
|
678
677
|
});
|
|
679
678
|
canvasHtml = getCanvas(canvas);
|
|
680
679
|
canvasHtml = canvasHtml.replace(
|
|
681
|
-
/<
|
|
680
|
+
/<caption|<table|<\/table>|<th>|<iframe/g,
|
|
682
681
|
(match) => {
|
|
683
682
|
switch (match) {
|
|
684
|
-
case '<img src="':
|
|
685
|
-
return `<img src="`;
|
|
686
683
|
case "<caption":
|
|
687
684
|
return "<caption class='hidden'";
|
|
688
685
|
case "<table":
|
|
@@ -7,7 +7,10 @@ const page = useState("page");
|
|
|
7
7
|
<h2>Related pages</h2>
|
|
8
8
|
<ul>
|
|
9
9
|
<li v-for="item in page.siblings">
|
|
10
|
-
<a :href="item.path"
|
|
10
|
+
<a :href="item.path"
|
|
11
|
+
>{{ item.displayName }}
|
|
12
|
+
<span class="sr-only"> (related pages) </span></a
|
|
13
|
+
>
|
|
11
14
|
</li>
|
|
12
15
|
</ul>
|
|
13
16
|
</template>
|
package/package.json
CHANGED