@innovastudio/contentbox 1.6.103 → 1.6.106
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.106",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"types": "index.d.ts",
|
@@ -21,11 +21,13 @@
|
|
21
21
|
"license": "SEE LICENSE IN license.txt",
|
22
22
|
"devDependencies": {
|
23
23
|
"@aws-sdk/client-s3": "^3.414.0",
|
24
|
+
"@aws-sdk/lib-storage": "^3.787.0",
|
24
25
|
"@babel/core": "^7.15.0",
|
25
26
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
26
27
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
27
28
|
"@babel/preset-env": "^7.15.0",
|
28
29
|
"@deepgram/sdk": "^2.3.0",
|
30
|
+
"@fal-ai/client": "^1.4.0",
|
29
31
|
"@rollup/plugin-babel": "^5.3.0",
|
30
32
|
"@rollup/plugin-commonjs": "^25.0.7",
|
31
33
|
"@rollup/plugin-eslint": "^8.0.1",
|
@@ -40,6 +42,7 @@
|
|
40
42
|
"express": "^4.17.1",
|
41
43
|
"express-session": "^1.17.2",
|
42
44
|
"formidable-serverless": "^1.1.1",
|
45
|
+
"mime-types": "^3.0.1",
|
43
46
|
"mini-css-extract-plugin": "^2.2.0",
|
44
47
|
"multer": "^1.4.5-lts.1",
|
45
48
|
"request": "^2.88.2",
|
@@ -54,7 +57,7 @@
|
|
54
57
|
"ws": "^8.13.0"
|
55
58
|
},
|
56
59
|
"dependencies": {
|
57
|
-
"@innovastudio/contentbuilder": "^1.5.
|
60
|
+
"@innovastudio/contentbuilder": "^1.5.102",
|
58
61
|
"js-beautify": "^1.14.0",
|
59
62
|
"sortablejs": "^1.15.2"
|
60
63
|
}
|
@@ -121671,9 +121671,20 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
121671
121671
|
onStart: () => {
|
121672
121672
|
this.uo.saveForUndo(); // Even if cancelled, saveForUndo will make sure not to save if there is no change
|
121673
121673
|
|
121674
|
+
// Set all to uneditable
|
121675
|
+
const editables = this.doc.querySelectorAll('[contenteditable="true"]');
|
121676
|
+
editables.forEach(item => {
|
121677
|
+
item.setAttribute('contenteditable', 'none'); // use 'none' (not false) for later rollback (to differentiate from existing contenteditable="false" elements)
|
121678
|
+
});
|
121679
|
+
|
121674
121680
|
this.elmTool.hide();
|
121675
121681
|
},
|
121676
121682
|
onEnd: () => {
|
121683
|
+
// Back to editable
|
121684
|
+
const editables = this.doc.querySelectorAll('[contenteditable="none"]');
|
121685
|
+
editables.forEach(item => {
|
121686
|
+
item.setAttribute('contenteditable', 'true');
|
121687
|
+
});
|
121677
121688
|
this.util.checkEmpty(); // for multiple instances check
|
121678
121689
|
|
121679
121690
|
// if(this.sortableOnPage) this.sortableOnPage.destroy(); // enable drop as section (ContentBox)
|
@@ -159407,6 +159418,7 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
|
|
159407
159418
|
contentHtmlEnd: '</div></div></div>'
|
159408
159419
|
};
|
159409
159420
|
this.settings = Object.assign(this, defaults, settings);
|
159421
|
+
if (Object.keys(this.settings.lang).length > 0) window._txt = this.settings.lang;
|
159410
159422
|
|
159411
159423
|
if (this.clearPreferences) {
|
159412
159424
|
localStorage.removeItem('_disclaimershown');
|