@innovastudio/contentbox 1.6.125 → 1.6.126
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
@@ -156782,6 +156782,7 @@ class ContentBox {
|
|
156782
156782
|
constructor(settings = {}) {
|
156783
156783
|
const defaults = {
|
156784
156784
|
wrapper: '.is-wrapper',
|
156785
|
+
siteToken: '',
|
156785
156786
|
previewURL: 'preview.html',
|
156786
156787
|
autoOpenPanel: false,
|
156787
156788
|
openPanelOnStart: false,
|
@@ -160223,6 +160224,7 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
|
|
160223
160224
|
}
|
160224
160225
|
|
160225
160226
|
this.wrapperEl = this.doc.querySelector(this.wrapper);
|
160227
|
+
if (this.siteToken) this.wrapperEl.setAttribute('data-site-token', this.siteToken);
|
160226
160228
|
|
160227
160229
|
if (this.iframe) {
|
160228
160230
|
// Check rendered content
|