@salesforcedevs/docs-components 1.3.300-alpha.1 → 1.3.300-alpha.3
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/package.json
CHANGED
|
@@ -343,8 +343,10 @@ export default class ContentLayout extends LightningElement {
|
|
|
343
343
|
);
|
|
344
344
|
|
|
345
345
|
for (const headingElement of headingElements as any) {
|
|
346
|
-
// Sometimes elements hash is not being set when slot content is wrapped with div
|
|
346
|
+
// Sometimes elements hash and header is not being set when slot content is wrapped with div
|
|
347
347
|
headingElement.hash = headingElement.attributes.hash?.nodeValue;
|
|
348
|
+
headingElement.header =
|
|
349
|
+
headingElement.attributes.header?.nodeValue;
|
|
348
350
|
}
|
|
349
351
|
|
|
350
352
|
const tocOptions = [];
|