@innovastudio/contentbuilder 1.5.129 → 1.5.130
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/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -92811,6 +92811,7 @@ class ContentBuilder {
|
|
92811
92811
|
let defaults = {
|
92812
92812
|
page: '',
|
92813
92813
|
container: '.is-container',
|
92814
|
+
siteToken: '',
|
92814
92815
|
row: '',
|
92815
92816
|
cols: [],
|
92816
92817
|
colequal: [],
|
@@ -94220,6 +94221,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
94220
94221
|
const builders = this.doc.querySelectorAll(this.opts.container);
|
94221
94222
|
Array.prototype.forEach.call(builders, builder => {
|
94222
94223
|
builder.classList.add('is-container');
|
94224
|
+
if (this.siteToken) builder.setAttribute('data-site-token', this.siteToken);
|
94223
94225
|
|
94224
94226
|
// Check if preview
|
94225
94227
|
if (this.dom.hasClass(builder, 'preview')) this.preview = true;
|