@innovastudio/contentbox 1.1.0 → 1.1.1
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
|
@@ -699,8 +699,8 @@ class SideBar {
|
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
viewHtml2() {
|
|
702
|
-
const builderStuff = this.builderStuff;
|
|
703
|
-
|
|
702
|
+
const builderStuff = this.builderStuff; //document.body.style.overflow = 'hidden';
|
|
703
|
+
|
|
704
704
|
let html = this.builder.html(true); //For View
|
|
705
705
|
|
|
706
706
|
builderStuff.querySelector('#inpViewHtml').value = html;
|
|
@@ -72155,11 +72155,11 @@ class ContentBox {
|
|
|
72155
72155
|
columnTool: true,
|
|
72156
72156
|
elementTool: true,
|
|
72157
72157
|
buttons: ['bold', 'italic', 'underline', 'formatting', 'color', 'align', 'textsettings', 'createLink', 'tags', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
72158
|
-
buttonsMore: ['icon', 'image', '|', 'list', 'font', 'formatPara', '|', '
|
|
72158
|
+
buttonsMore: ['icon', 'image', '|', 'list', 'font', 'formatPara', '|', 'preferences'],
|
|
72159
72159
|
elementButtons: ['left', 'center', 'right', 'full', 'undo', 'redo', 'zoom', 'more'],
|
|
72160
|
-
elementButtonsMore: ['|', '
|
|
72160
|
+
elementButtonsMore: ['|', 'preferences'],
|
|
72161
72161
|
iconButtons: ['icon', 'color', 'textsettings', 'createLink', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
72162
|
-
iconButtonsMore: ['|', '
|
|
72162
|
+
iconButtonsMore: ['|', 'preferences'],
|
|
72163
72163
|
customTags: [],
|
|
72164
72164
|
animateModal: false,
|
|
72165
72165
|
elementAnimate: true,
|
|
@@ -74743,6 +74743,7 @@ class ContentBox {
|
|
|
74743
74743
|
|
|
74744
74744
|
dom.appendHtml(this.wrapperEl, newArea, 'afterbegin');
|
|
74745
74745
|
newSection = this.wrapperEl.querySelector('.is-section');
|
|
74746
|
+
arrSections.push(newSection);
|
|
74746
74747
|
} else if (newArea.indexOf('is-static') !== -1) {
|
|
74747
74748
|
// Insert last
|
|
74748
74749
|
let lastSection = dom.getLastElement(this.wrapperEl, '.is-section');
|
|
@@ -74771,6 +74772,10 @@ class ContentBox {
|
|
|
74771
74772
|
}
|
|
74772
74773
|
}
|
|
74773
74774
|
}
|
|
74775
|
+
} else {
|
|
74776
|
+
dom.appendHtml(this.wrapperEl, newArea, 'afterbegin');
|
|
74777
|
+
newSection = this.wrapperEl.querySelector('.is-section');
|
|
74778
|
+
arrSections.push(newSection);
|
|
74774
74779
|
}
|
|
74775
74780
|
} else {
|
|
74776
74781
|
if (this.activeSection) {
|
|
@@ -74852,9 +74857,9 @@ class ContentBox {
|
|
|
74852
74857
|
}
|
|
74853
74858
|
}
|
|
74854
74859
|
}
|
|
74855
|
-
}
|
|
74860
|
+
} // arrSections.push(newSection);
|
|
74861
|
+
// Check up to 3 sections (in case a template has up to 3 sections)
|
|
74856
74862
|
|
|
74857
|
-
arrSections.push(newSection); // Check up to 3 sections (in case a template has up to 3 sections)
|
|
74858
74863
|
|
|
74859
74864
|
let prevSection = newSection.previousElementSibling;
|
|
74860
74865
|
|