@innovastudio/contentbox 1.6.162 → 1.6.163
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innovastudio/contentbox",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.163",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"ws": "^8.13.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@innovastudio/contentbuilder": "^1.5.
|
|
62
|
+
"@innovastudio/contentbuilder": "^1.5.161",
|
|
63
63
|
"js-beautify": "^1.14.0",
|
|
64
64
|
"sortablejs": "^1.15.2"
|
|
65
65
|
}
|
|
@@ -33333,15 +33333,16 @@ class Util$1 {
|
|
|
33333
33333
|
rtepop.style.display = '';
|
|
33334
33334
|
dom.removeClass(rtepop, 'active');
|
|
33335
33335
|
dom.removeClass(rtepop, 'deactive');
|
|
33336
|
-
// dom.addClass(rtepop, 'deactive');
|
|
33337
33336
|
});
|
|
33338
33337
|
}
|
|
33339
|
-
|
|
33340
33338
|
let pops = builderStuff.querySelectorAll('.is-pop');
|
|
33341
33339
|
Array.prototype.forEach.call(pops, pop => {
|
|
33342
33340
|
pop.style.display = '';
|
|
33343
33341
|
dom.removeClass(pop, 'active');
|
|
33344
|
-
|
|
33342
|
+
this.builder.doc.body.focus();
|
|
33343
|
+
setTimeout(() => {
|
|
33344
|
+
pop.setAttribute('aria-hidden', true);
|
|
33345
|
+
}, 0);
|
|
33345
33346
|
});
|
|
33346
33347
|
this.builder.colTool.lockIndicator.style.display = '';
|
|
33347
33348
|
if (this.builder.resize) {
|
|
@@ -42214,7 +42215,6 @@ class HtmlUtil {
|
|
|
42214
42215
|
|
|
42215
42216
|
// Remove runtime-added attributes
|
|
42216
42217
|
element.removeAttribute('data-cb-original-content');
|
|
42217
|
-
element.removeAttribute('data-cb-loaded');
|
|
42218
42218
|
|
|
42219
42219
|
// element.removeAttribute('data-cb-logo-loop-initialized');
|
|
42220
42220
|
|
|
@@ -42225,12 +42225,12 @@ class HtmlUtil {
|
|
|
42225
42225
|
element.removeAttribute(name);
|
|
42226
42226
|
}
|
|
42227
42227
|
});
|
|
42228
|
-
element.removeAttribute('data-cb-editmode');
|
|
42229
42228
|
|
|
42230
42229
|
// Remove runtime-added classes
|
|
42231
42230
|
const type = element.getAttribute('data-cb-type');
|
|
42232
42231
|
element.classList.remove(`cb-${type}`);
|
|
42233
42232
|
}
|
|
42233
|
+
element.removeAttribute('data-cb-loaded');
|
|
42234
42234
|
});
|
|
42235
42235
|
html = '';
|
|
42236
42236
|
if (multiple) {
|
|
@@ -43572,6 +43572,9 @@ class Grid {
|
|
|
43572
43572
|
cell.click(); //refresh active cell/row
|
|
43573
43573
|
}, 30);
|
|
43574
43574
|
this.builder.opts.onChange();
|
|
43575
|
+
|
|
43576
|
+
// Re-init plugins
|
|
43577
|
+
if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize(cellElement);
|
|
43575
43578
|
}
|
|
43576
43579
|
removeColumn() {
|
|
43577
43580
|
let util = this.util;
|
|
@@ -44345,6 +44348,9 @@ class Grid {
|
|
|
44345
44348
|
builder.applyBehaviorOn(builderActive);
|
|
44346
44349
|
this.rowTool.position(rowElement);
|
|
44347
44350
|
this.builder.opts.onChange();
|
|
44351
|
+
|
|
44352
|
+
// Re-init plugins
|
|
44353
|
+
if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize(rowElement);
|
|
44348
44354
|
}
|
|
44349
44355
|
}
|
|
44350
44356
|
class RowTool$1 {
|
|
@@ -90054,6 +90060,9 @@ class ElementTool {
|
|
|
90054
90060
|
|
|
90055
90061
|
//Trigger Change event
|
|
90056
90062
|
this.builder.opts.onChange();
|
|
90063
|
+
|
|
90064
|
+
// Re-init plugins
|
|
90065
|
+
if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize(newelm.parentNode);
|
|
90057
90066
|
}, 100); //Timeout needed by Safari
|
|
90058
90067
|
});
|
|
90059
90068
|
|
|
@@ -125113,6 +125122,9 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
125113
125122
|
|
|
125114
125123
|
// Zoom
|
|
125115
125124
|
this.setZoomOnControl(builder);
|
|
125125
|
+
|
|
125126
|
+
// Re-init plugins
|
|
125127
|
+
if (this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
|
|
125116
125128
|
}
|
|
125117
125129
|
applySortableGrid() {
|
|
125118
125130
|
if (this.iframe) {
|
|
@@ -145106,7 +145118,10 @@ class Section {
|
|
|
145106
145118
|
if (this.builder.eb) this.builder.eb.refresh(); // freeform
|
|
145107
145119
|
|
|
145108
145120
|
this.builder.onRender();
|
|
145109
|
-
this.builder.onChange();
|
|
145121
|
+
this.builder.onChange(); // Re-init plugins
|
|
145122
|
+
|
|
145123
|
+
const runtime = this.builder.win.builderRuntime;
|
|
145124
|
+
if (runtime) runtime.reinitialize(section);
|
|
145110
145125
|
}
|
|
145111
145126
|
|
|
145112
145127
|
sectionDelete() {
|