@innovastudio/contentbox 1.0.42 → 1.0.43
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
|
@@ -11622,7 +11622,6 @@ class Util {
|
|
|
11622
11622
|
this.builder.styleTabsBackground = this.getUIStyleValue(btn, 'tabs-background', 'background-color');
|
|
11623
11623
|
this.builder.styleTabItemBorderBottomActive = this.getUIStyleValue(btn, 'tab-item-active-border-bottom', 'border');
|
|
11624
11624
|
this.builder.styleTabItemColor = this.getUIStyleValue(btn, 'tab-item-color', 'background-color');
|
|
11625
|
-
console.log('Util: ' + this.builder.styleSnippetTabItemColor);
|
|
11626
11625
|
this.builder.styleTabsMoreBackground = this.getUIStyleValue(btn, 'tabs-more-background', 'background-color');
|
|
11627
11626
|
this.builder.styleTabsMoreBorder = this.getUIStyleValue(btn, 'tabs-more-border', 'border');
|
|
11628
11627
|
this.builder.styleTabsMoreItemColor = this.getUIStyleValue(btn, 'tabs-more-item-color', 'background-color');
|
|
@@ -64371,9 +64370,12 @@ class ContentBuilder {
|
|
|
64371
64370
|
|
|
64372
64371
|
|
|
64373
64372
|
const util = this.util;
|
|
64374
|
-
|
|
64375
|
-
|
|
64376
|
-
|
|
64373
|
+
setTimeout(() => {
|
|
64374
|
+
util.getUIStyles();
|
|
64375
|
+
this.setUIColorRefresh();
|
|
64376
|
+
console.log('B:' + this.styleSnippetTabItemColor);
|
|
64377
|
+
if (this.opts.onThemeChange) this.opts.onThemeChange();
|
|
64378
|
+
}, 1000);
|
|
64377
64379
|
});
|
|
64378
64380
|
document.head.appendChild(link);
|
|
64379
64381
|
} else {
|
|
@@ -64390,9 +64392,12 @@ class ContentBuilder {
|
|
|
64390
64392
|
|
|
64391
64393
|
|
|
64392
64394
|
const util = this.util;
|
|
64393
|
-
|
|
64394
|
-
|
|
64395
|
-
|
|
64395
|
+
setTimeout(() => {
|
|
64396
|
+
util.getUIStyles();
|
|
64397
|
+
this.setUIColorRefresh();
|
|
64398
|
+
console.log('A:' + this.styleSnippetTabItemColor);
|
|
64399
|
+
if (this.opts.onThemeChange) this.opts.onThemeChange();
|
|
64400
|
+
}, 1000);
|
|
64396
64401
|
}
|
|
64397
64402
|
}
|
|
64398
64403
|
|
|
@@ -64466,7 +64471,6 @@ class ContentBuilder {
|
|
|
64466
64471
|
if (modalIframe1.contentWindow.applyParentStyles) modalIframe1.contentWindow.applyParentStyles();
|
|
64467
64472
|
if (modalIframe2.contentWindow.applyParentStyles) modalIframe2.contentWindow.applyParentStyles();
|
|
64468
64473
|
if (modalIframe3.contentWindow.applyParentStyles) modalIframe3.contentWindow.applyParentStyles();
|
|
64469
|
-
console.log('setUIColorRefresh: ' + this.styleSnippetTabItemColor);
|
|
64470
64474
|
}
|
|
64471
64475
|
|
|
64472
64476
|
openMedia(elm) {
|
|
@@ -68812,9 +68816,6 @@ class ContentBox {
|
|
|
68812
68816
|
}
|
|
68813
68817
|
}
|
|
68814
68818
|
});
|
|
68815
|
-
setTimeout(() => {
|
|
68816
|
-
console.log('Delay: ' + this.editor.styleSnippetTabItemColor);
|
|
68817
|
-
}, 1000);
|
|
68818
68819
|
} // editorSetup
|
|
68819
68820
|
|
|
68820
68821
|
|
|
@@ -69242,7 +69243,6 @@ class ContentBox {
|
|
|
69242
69243
|
btns.forEach(btn => {
|
|
69243
69244
|
btn.style.color = this.editor.styleModalColor;
|
|
69244
69245
|
});
|
|
69245
|
-
console.log(this.editor.styleSnippetTabItemColor);
|
|
69246
69246
|
const sectionIframe = document.querySelector('#ifrIdeasPanel');
|
|
69247
69247
|
|
|
69248
69248
|
if (sectionIframe.contentWindow.applyParentStyles) {
|