@innovastudio/contentbuilder 1.4.39 → 1.4.41
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/contentbuilder",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.4.
|
4
|
+
"version": "1.4.41",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbuilder/contentbuilder.esm.js",
|
7
7
|
"files": [
|
@@ -52,8 +52,6 @@
|
|
52
52
|
"@monaco-editor/loader": "^1.3.2",
|
53
53
|
"blueimp-load-image": "^5.16.0",
|
54
54
|
"cropperjs": "^1.5.12",
|
55
|
-
"csp-html-webpack-plugin": "^5.1.0",
|
56
|
-
"html-webpack-plugin": "^5.5.0",
|
57
55
|
"js-beautify": "^1.14.0",
|
58
56
|
"moveable": "^0.30.0",
|
59
57
|
"rangy": "^1.3.0",
|
@@ -77288,6 +77288,24 @@ class Responsive {
|
|
77288
77288
|
|
77289
77289
|
readTarget(area) {
|
77290
77290
|
const inp = area.querySelector('.input-device.on');
|
77291
|
+
const target = inp.getAttribute('data-value');
|
77292
|
+
|
77293
|
+
if (target === '') {
|
77294
|
+
this.builder.livePreview.resizePreview(1920);
|
77295
|
+
}
|
77296
|
+
|
77297
|
+
if (target === 'md') {
|
77298
|
+
this.builder.livePreview.resizePreview(1024);
|
77299
|
+
}
|
77300
|
+
|
77301
|
+
if (target === 'sm') {
|
77302
|
+
this.builder.livePreview.resizePreview(768);
|
77303
|
+
}
|
77304
|
+
|
77305
|
+
if (target === 'xs') {
|
77306
|
+
this.builder.livePreview.resizePreview(375);
|
77307
|
+
}
|
77308
|
+
|
77291
77309
|
return inp.getAttribute('data-value');
|
77292
77310
|
}
|
77293
77311
|
|