@innovastudio/contentbox 1.2.6 → 1.2.7
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innovastudio/contentbox",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"webpack-dev-server": "^4.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@innovastudio/contentbuilder": "^1.1.
|
|
43
|
+
"@innovastudio/contentbuilder": "^1.1.9",
|
|
44
44
|
"axios": "^0.21.4",
|
|
45
45
|
"cors": "^2.8.5",
|
|
46
46
|
"express": "^4.17.1",
|
|
@@ -57362,6 +57362,7 @@ class Image {
|
|
|
57362
57362
|
imageTool.style.display = '';
|
|
57363
57363
|
setTimeout(() => {
|
|
57364
57364
|
let elm = this.builder.activeImage;
|
|
57365
|
+
if (!elm) return;
|
|
57365
57366
|
|
|
57366
57367
|
if (dom$A.hasClass(elm.parentNode, 'img-circular')) {
|
|
57367
57368
|
elm = elm.parentNode;
|
|
@@ -77224,7 +77225,8 @@ class ContentBuilder {
|
|
|
77224
77225
|
|
|
77225
77226
|
document.addEventListener('click', this.doDocumentClick = e => {
|
|
77226
77227
|
e = e || window.event;
|
|
77227
|
-
|
|
77228
|
+
let target = e.target || e.srcElement;
|
|
77229
|
+
if (!target) return;
|
|
77228
77230
|
let rowClicked = dom$J.hasClass(target.parentNode, 'is-builder');
|
|
77229
77231
|
let containerClicked = dom$J.hasClass(target, 'is-builder');
|
|
77230
77232
|
let a = false,
|