@innovastudio/contentbox 1.0.1 → 1.0.2
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
|
@@ -2778,9 +2778,9 @@ class EditBox {
|
|
|
2778
2778
|
|
|
2779
2779
|
const inpClickSrc = modalEditBox.querySelector('.input-src');
|
|
2780
2780
|
this.builder.editor.dom.observeElement(inpClickSrc, 'value', (oldValue, newValue) => {
|
|
2781
|
-
// console.log(oldValue, newValue);
|
|
2782
2781
|
const activeBox = this.builder.activeBox;
|
|
2783
2782
|
let currentValue = activeBox.getAttribute('data-modal-url');
|
|
2783
|
+
if (!currentValue) currentValue = '';
|
|
2784
2784
|
|
|
2785
2785
|
if (currentValue !== newValue) {
|
|
2786
2786
|
this.builder.editor.saveForUndo();
|
|
@@ -65578,10 +65578,12 @@ class ContentBox {
|
|
|
65578
65578
|
classReplace: [],
|
|
65579
65579
|
columnTool: true,
|
|
65580
65580
|
elementTool: true,
|
|
65581
|
-
buttons: ['bold', 'italic', 'underline', 'formatting', 'color', 'align', 'textsettings', 'createLink', 'tags', '
|
|
65582
|
-
buttonsMore: ['image', 'list', 'font', 'formatPara', '|', 'html', 'preferences'],
|
|
65581
|
+
buttons: ['bold', 'italic', 'underline', 'formatting', 'color', 'align', 'textsettings', 'createLink', 'tags', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
65582
|
+
buttonsMore: ['icon', 'image', '|', 'list', 'font', 'formatPara', '|', 'html', 'preferences'],
|
|
65583
65583
|
elementButtons: ['left', 'center', 'right', 'full', 'undo', 'redo', 'zoom', 'more'],
|
|
65584
|
-
elementButtonsMore: ['|', 'preferences'],
|
|
65584
|
+
elementButtonsMore: ['|', 'html', 'preferences'],
|
|
65585
|
+
iconButtons: ['icon', 'color', 'textsettings', 'createLink', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
65586
|
+
iconButtonsMore: ['|', 'html', 'preferences'],
|
|
65585
65587
|
customTags: [],
|
|
65586
65588
|
animateModal: false,
|
|
65587
65589
|
elementAnimate: true,
|
|
@@ -66713,6 +66715,10 @@ class ContentBox {
|
|
|
66713
66715
|
gradientcolors: this.settings.gradientcolors,
|
|
66714
66716
|
buttons: this.settings.buttons,
|
|
66715
66717
|
buttonsMore: this.settings.buttonsMore,
|
|
66718
|
+
elementButtons: this.settings.elementButtons,
|
|
66719
|
+
elementButtonsMore: this.settings.elementButtonsMore,
|
|
66720
|
+
iconButtons: this.settings.iconButtons,
|
|
66721
|
+
iconButtonsMore: this.settings.iconButtonsMore,
|
|
66716
66722
|
customTags: this.settings.customTags,
|
|
66717
66723
|
largerImageHandler: this.settings.largerImageHandler,
|
|
66718
66724
|
onLargerImageUpload: this.settings.onLargerImageUpload,
|
|
@@ -2781,9 +2781,9 @@ var ContentBox = (function () {
|
|
|
2781
2781
|
|
|
2782
2782
|
const inpClickSrc = modalEditBox.querySelector('.input-src');
|
|
2783
2783
|
this.builder.editor.dom.observeElement(inpClickSrc, 'value', (oldValue, newValue) => {
|
|
2784
|
-
// console.log(oldValue, newValue);
|
|
2785
2784
|
const activeBox = this.builder.activeBox;
|
|
2786
2785
|
let currentValue = activeBox.getAttribute('data-modal-url');
|
|
2786
|
+
if (!currentValue) currentValue = '';
|
|
2787
2787
|
|
|
2788
2788
|
if (currentValue !== newValue) {
|
|
2789
2789
|
this.builder.editor.saveForUndo();
|
|
@@ -65581,10 +65581,12 @@ var ContentBox = (function () {
|
|
|
65581
65581
|
classReplace: [],
|
|
65582
65582
|
columnTool: true,
|
|
65583
65583
|
elementTool: true,
|
|
65584
|
-
buttons: ['bold', 'italic', 'underline', 'formatting', 'color', 'align', 'textsettings', 'createLink', 'tags', '
|
|
65585
|
-
buttonsMore: ['image', 'list', 'font', 'formatPara', '|', 'html', 'preferences'],
|
|
65584
|
+
buttons: ['bold', 'italic', 'underline', 'formatting', 'color', 'align', 'textsettings', 'createLink', 'tags', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
65585
|
+
buttonsMore: ['icon', 'image', '|', 'list', 'font', 'formatPara', '|', 'html', 'preferences'],
|
|
65586
65586
|
elementButtons: ['left', 'center', 'right', 'full', 'undo', 'redo', 'zoom', 'more'],
|
|
65587
|
-
elementButtonsMore: ['|', 'preferences'],
|
|
65587
|
+
elementButtonsMore: ['|', 'html', 'preferences'],
|
|
65588
|
+
iconButtons: ['icon', 'color', 'textsettings', 'createLink', '|', 'undo', 'redo', 'zoom', 'more'],
|
|
65589
|
+
iconButtonsMore: ['|', 'html', 'preferences'],
|
|
65588
65590
|
customTags: [],
|
|
65589
65591
|
animateModal: false,
|
|
65590
65592
|
elementAnimate: true,
|
|
@@ -66716,6 +66718,10 @@ var ContentBox = (function () {
|
|
|
66716
66718
|
gradientcolors: this.settings.gradientcolors,
|
|
66717
66719
|
buttons: this.settings.buttons,
|
|
66718
66720
|
buttonsMore: this.settings.buttonsMore,
|
|
66721
|
+
elementButtons: this.settings.elementButtons,
|
|
66722
|
+
elementButtonsMore: this.settings.elementButtonsMore,
|
|
66723
|
+
iconButtons: this.settings.iconButtons,
|
|
66724
|
+
iconButtonsMore: this.settings.iconButtonsMore,
|
|
66719
66725
|
customTags: this.settings.customTags,
|
|
66720
66726
|
largerImageHandler: this.settings.largerImageHandler,
|
|
66721
66727
|
onLargerImageUpload: this.settings.onLargerImageUpload,
|