@innovastudio/contentbuilder 1.5.39 → 1.5.41
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
|
@@ -17299,12 +17299,6 @@ const renderSnippetPanel = (builder, snippetOpen) => {
|
|
|
17299
17299
|
block.style.left = x + '%';
|
|
17300
17300
|
block.removeAttribute('data-new-dummy');
|
|
17301
17301
|
}
|
|
17302
|
-
|
|
17303
|
-
// to prevent flicker caused by snippet panel above wrapper (see contentbuilder.js sectionDropSetup)
|
|
17304
|
-
if (builder.page && builder.page === '.is-wrapper') {
|
|
17305
|
-
const wrapper = builder.doc.querySelector(builder.page);
|
|
17306
|
-
if (wrapper) wrapper.style.marginLeft = '';
|
|
17307
|
-
}
|
|
17308
17302
|
},
|
|
17309
17303
|
onStart: () => {
|
|
17310
17304
|
// Remove .builder-active during dragging (because this class makes rows have border-right/left 120px)
|
|
@@ -90897,6 +90891,8 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
90897
90891
|
link.href = csslink;
|
|
90898
90892
|
link.setAttribute('data-cb-color', '');
|
|
90899
90893
|
link.addEventListener('load', () => {
|
|
90894
|
+
if (!document.body.contains(this.builderStuff)) return; // in case the instance is destroyed
|
|
90895
|
+
|
|
90900
90896
|
// Remove previous css
|
|
90901
90897
|
cssLink = document.querySelector('[data-cb-del]');
|
|
90902
90898
|
if (cssLink) cssLink.parentNode.removeChild(cssLink);
|
|
@@ -90968,6 +90964,8 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
90968
90964
|
// if(this.opts.onThemeChange) this.opts.onThemeChange();
|
|
90969
90965
|
|
|
90970
90966
|
await this.delay(1000);
|
|
90967
|
+
if (!document.body.contains(this.builderStuff)) return; // in case the instance is destroyed
|
|
90968
|
+
|
|
90971
90969
|
// setTimeout(()=>{
|
|
90972
90970
|
util.getUIStyles();
|
|
90973
90971
|
this.setUIColorRefresh();
|