@innovastudio/contentbuilder 1.4.37 → 1.4.39
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
@@ -59317,7 +59317,9 @@ class ColumnTool {
|
|
59317
59317
|
<label for="inpCellImageBgSource" style="display:block">${util.out('Source')}:</label>
|
59318
59318
|
<div class="image-src">
|
59319
59319
|
<input id="inpCellImageBgSource" class="input-src" type="text">
|
59320
|
-
<button title="${util.out('Select')}" class="input-select" style="flex:none;"
|
59320
|
+
<button title="${util.out('Select')}" class="input-select" style="flex:none;">
|
59321
|
+
${this.builder.opts.selectIcon}
|
59322
|
+
</button>
|
59321
59323
|
<div class="image-larger3 input-upload" style="position: relative; flex: 0 0 auto;box-shadow: rgba(0, 0, 0, 0.32) 0px 3px 6px -6px;">
|
59322
59324
|
<form class="form-upload-larger" target="frameTargetCellImageUpload" method="post" action="${this.builder.opts.largerImageHandler}" enctype="multipart/form-data" style="position:absolute;display:flex;justify-content: center;align-items: center;top:0;left:0;width:100%;height:100%;">
|
59323
59325
|
<input id="hidRefId3" name="hidRefId" type="hidden" value="">
|
@@ -61995,7 +61997,9 @@ class ElementGeneralStyles {
|
|
61995
61997
|
<svg class="is-icon-flex"><use xlink:href="#ion-image"></use></svg>
|
61996
61998
|
<span style="margin-left: 5px;">${util.out('Image')}</span>
|
61997
61999
|
</button>
|
61998
|
-
<button title="${util.out('Select')}" class="input-select"
|
62000
|
+
<button title="${util.out('Select')}" class="input-select">
|
62001
|
+
${this.builder.opts.selectIcon}
|
62002
|
+
</button>
|
61999
62003
|
<button title="${util.out('Remove')}" class="input-elm-bgremove"><svg class="is-icon-flex" style="width:11px;height:11px;"><use xlink:href="#icon-clean"></use></svg></button>
|
62000
62004
|
<button title="${util.out('Adjust')}" class="input-elm-bgimageadjust" style="width:40px"><svg class="is-icon-flex" style="width:13px;height:13px;flex:none"><use xlink:href="#ion-wrench"></use></svg></button>
|
62001
62005
|
</div>
|
@@ -77527,7 +77531,7 @@ class LivePreview {
|
|
77527
77531
|
|
77528
77532
|
if (container) {
|
77529
77533
|
// container.innerHTML = html;
|
77530
|
-
let range = this.doc.createRange();
|
77534
|
+
let range = this.builder.doc.createRange();
|
77531
77535
|
container.innerHTML = '';
|
77532
77536
|
container.appendChild(range.createContextualFragment(html));
|
77533
77537
|
} else {
|
@@ -77572,7 +77576,7 @@ class LivePreview {
|
|
77572
77576
|
let html = localStorage.getItem('preview-html');
|
77573
77577
|
let wrapper = iframeDocument.querySelector('.is-wrapper'); // wrapper.innerHTML = html;
|
77574
77578
|
|
77575
|
-
let range = this.doc.createRange();
|
77579
|
+
let range = this.builder.doc.createRange();
|
77576
77580
|
wrapper.innerHTML = '';
|
77577
77581
|
wrapper.appendChild(range.createContextualFragment(html)); // sync. styles
|
77578
77582
|
// let mainCss = localStorage.getItem('preview-maincss');
|