@innovastudio/contentbox 1.6.171 → 1.6.172
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.172",
|
|
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.180",
|
|
63
63
|
"js-beautify": "^1.14.0",
|
|
64
64
|
"sortablejs": "^1.15.2"
|
|
65
65
|
}
|
|
@@ -100537,14 +100537,14 @@ class Rte {
|
|
|
100537
100537
|
_protected = true;
|
|
100538
100538
|
}
|
|
100539
100539
|
let customcode = false;
|
|
100540
|
-
let subblock = false;
|
|
100541
100540
|
if (col.hasAttribute('data-html')) {
|
|
100542
100541
|
// Column contains custom code.
|
|
100543
100542
|
customcode = true;
|
|
100544
|
-
|
|
100545
|
-
|
|
100546
|
-
|
|
100547
|
-
|
|
100543
|
+
}
|
|
100544
|
+
const plugin = elm.closest('[data-cb-type]');
|
|
100545
|
+
let subblock = false;
|
|
100546
|
+
if (elm.closest('.is-subblock') && !elm.classList.contains('is-subblock')) {
|
|
100547
|
+
subblock = true;
|
|
100548
100548
|
}
|
|
100549
100549
|
if (this.builder.canvas) this.hideBlockButtons();
|
|
100550
100550
|
|
|
@@ -100565,7 +100565,7 @@ class Rte {
|
|
|
100565
100565
|
if (btnTextSettings) btnTextSettings.style.display = '';
|
|
100566
100566
|
if (btnLink) btnLink.style.display = '';
|
|
100567
100567
|
if (btnSymbol) btnSymbol.style.display = '';
|
|
100568
|
-
if (!customcode && !noedit && !_protected || subblock) {
|
|
100568
|
+
if (!customcode && !noedit && !_protected && !plugin || subblock) {
|
|
100569
100569
|
if ((dom.hasClass(elm, 'is-social') || dom.hasClass(elm, 'is-rounded-button-medium') || dom.hasClass(elm, 'cell-active')) && !dom.getSelected()) {
|
|
100570
100570
|
if (this.elementRteTool.style.display === 'none' || this.elementRteTool.style.display === '') {
|
|
100571
100571
|
this.elementRteTool.style.display = 'flex';
|