@innovastudio/contentbox 1.6.145 → 1.6.147
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.147",
|
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.142",
|
63
63
|
"js-beautify": "^1.14.0",
|
64
64
|
"sortablejs": "^1.15.2"
|
65
65
|
}
|
@@ -107668,7 +107668,7 @@ class LivePreview {
|
|
107668
107668
|
if (this.builder.livePreviewAlwaysReload || hardReload) {
|
107669
107669
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
107670
107670
|
} else {
|
107671
|
-
let iframeDocument = iframe.contentDocument || iframe.contentWindow.document;
|
107671
|
+
let iframeDocument = iframe.contentDocument || iframe.contentWindow && iframe.contentWindow.document;
|
107672
107672
|
if (iframeDocument) {
|
107673
107673
|
if (!iframeDocument.body) {
|
107674
107674
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
@@ -107720,7 +107720,7 @@ class LivePreview {
|
|
107720
107720
|
if (this.builder.livePreviewAlwaysReload || hardReload) {
|
107721
107721
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
107722
107722
|
} else {
|
107723
|
-
let iframeDocument = iframe.contentDocument || iframe.contentWindow.document;
|
107723
|
+
let iframeDocument = iframe.contentDocument || iframe.contentWindow && iframe.contentWindow.document;
|
107724
107724
|
if (iframeDocument) {
|
107725
107725
|
if (!iframeDocument.body) {
|
107726
107726
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
@@ -157620,13 +157620,10 @@ class ContentBox {
|
|
157620
157620
|
// Option for self-hosted fonts:
|
157621
157621
|
// fontPath: 'assets/cssfonts/', // If set, will be used
|
157622
157622
|
plugins: [// { name: 'preview', showInMainToolbar: true, showInElementToolbar: true },
|
157623
|
-
|
157624
|
-
|
157625
|
-
|
157626
|
-
|
157627
|
-
showInMainToolbar: true,
|
157628
|
-
showInElementToolbar: true
|
157629
|
-
}],
|
157623
|
+
// { name: 'symbols', showInMainToolbar: true, showInElementToolbar: false },
|
157624
|
+
// { name: 'animation', showInMainToolbar: true, showInElementToolbar: true },
|
157625
|
+
// { name: 'wordcount', showInMainToolbar: true, showInElementToolbar: true }
|
157626
|
+
],
|
157630
157627
|
disableConfig: true,
|
157631
157628
|
maxColumns: 6,
|
157632
157629
|
useLightbox: true,
|