@innovastudio/contentbox 1.4.61 → 1.4.62
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
@@ -100886,7 +100886,7 @@ class ContentBox {
|
|
100886
100886
|
maxEmbedImageWidth: 1600,
|
100887
100887
|
zoom: 0.6,
|
100888
100888
|
shortenHTML: true,
|
100889
|
-
advancedTimeline:
|
100889
|
+
advancedTimeline: true,
|
100890
100890
|
livePreviewOpen: false,
|
100891
100891
|
contentStyleWithSample: false,
|
100892
100892
|
contentSizes: [300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600, 620, 640, 660, 680, 700, 720, 740, 760, 780, 800, 820, 840, 860, 880, 900, 920, 940, 960, 970, 980, 1000, 1020, 1040, 1050, 1060, 1080, 1100, 1120, 1140, 1160, 1180, 1200, 1220, 1240, 1260, 1280, 1300, 1320, 1340, 1360, 1380, 1400, 1420, 1440, 1460, 1480, 1500, 1520, 1540, 1560, 1580, 1600, 1620, 1640, 1660, 1680, 1700, 1720, 1740, 1760, 1780, 1800, 1820, 1840, 1860, 1880, 1900, 1920, 1940, 1960, 1980, 2000, 2020, 2040, 2060, 2080, 2100, 2120, 2140, 2160, 2180, 2200, 2220, 2240, 2260, 2280, 2300, 2320, 2340, 2360, 2380, 2400, 2420, 2440, 2460, 2480, 2500, 2520, 2540, 2560, 2580, 2600, 2620, 2640, 2660, 2680, 2700],
|
@@ -104588,10 +104588,37 @@ class ContentBox {
|
|
104588
104588
|
elm.style.opacity = '';
|
104589
104589
|
});
|
104590
104590
|
*/
|
104591
|
+
// Clean after Undo/Redo
|
104592
|
+
let tools = this.doc.querySelectorAll('.is-section-tool');
|
104593
|
+
tools.forEach(tool => {
|
104594
|
+
tool.parentNode.removeChild(tool);
|
104595
|
+
});
|
104596
|
+
tools = this.doc.querySelectorAll('.is-box-tool');
|
104597
|
+
tools.forEach(tool => {
|
104598
|
+
tool.parentNode.removeChild(tool);
|
104599
|
+
});
|
104600
|
+
const prevBox = this.doc.querySelectorAll('.box-select');
|
104601
|
+
prevBox.forEach(elm => {
|
104602
|
+
elm.classList.remove('box-select');
|
104603
|
+
});
|
104604
|
+
const prevSection = this.doc.querySelectorAll('.section-select');
|
104605
|
+
prevSection.forEach(elm => {
|
104606
|
+
elm.classList.remove('section-select');
|
104607
|
+
});
|
104608
|
+
this.activeBox = null;
|
104609
|
+
this.activeSection = null;
|
104610
|
+
this.wrapperEl.classList.remove('is-container-edit');
|
104611
|
+
this.wrapperEl.classList.remove('is-clean-edit');
|
104591
104612
|
const modalEditBox = this.builderStuff.querySelector('.editbox');
|
104592
104613
|
modalEditBox.style.display = '';
|
104593
104614
|
const modalEditSection = this.builderStuff.querySelector('.editsection');
|
104594
104615
|
modalEditSection.style.display = '';
|
104616
|
+
|
104617
|
+
if (!this.timeline.modalTimeline.classList.contains('active') && !this.animateScroll.modalAnimateScroll.classList.contains('active')) {
|
104618
|
+
this.wrapperEl.classList.remove('hard-select');
|
104619
|
+
} // ---
|
104620
|
+
|
104621
|
+
|
104595
104622
|
this.pageSetup(); // To refresh skrollrr anim
|
104596
104623
|
|
104597
104624
|
if (this.win.skrollrr) {
|