@innovastudio/contentbox 1.6.140 → 1.6.142
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/index.d.ts
CHANGED
@@ -224,6 +224,7 @@ interface ContentBoxOptions {
|
|
224
224
|
absolutePath?: boolean;
|
225
225
|
maxEmbedImageWidth?: number;
|
226
226
|
zoom?: number;
|
227
|
+
shiftDisableBreakpoint?: number;
|
227
228
|
|
228
229
|
shortenHTML?: boolean;
|
229
230
|
advancedTimeline?: boolean;
|
@@ -235,6 +236,7 @@ interface ContentBoxOptions {
|
|
235
236
|
blockRotate?: boolean;
|
236
237
|
sectionTemplate?: string;
|
237
238
|
pageTemplate?: string;
|
239
|
+
disablePageShift?: boolean;
|
238
240
|
contentStyleWithSample?: boolean;
|
239
241
|
|
240
242
|
defaultFontSizes?: any[];
|
package/package.json
CHANGED
@@ -25789,7 +25789,7 @@ class ControlPanel {
|
|
25789
25789
|
open_(what) {
|
25790
25790
|
const viewportWidth = document.documentElement.clientWidth;
|
25791
25791
|
|
25792
|
-
if (viewportWidth <=
|
25792
|
+
if (viewportWidth <= this.builder.shiftDisableBreakpoint) {
|
25793
25793
|
document.body.classList.add('shift-off');
|
25794
25794
|
} else {
|
25795
25795
|
document.body.classList.remove('shift-off');
|
@@ -157418,6 +157418,7 @@ class ContentBox {
|
|
157418
157418
|
// iframe only
|
157419
157419
|
canvas: true,
|
157420
157420
|
blankHtml: '',
|
157421
|
+
shiftDisableBreakpoint: 0,
|
157421
157422
|
lang: [],
|
157422
157423
|
// Old Template System:
|
157423
157424
|
designUrl1: 'assets/designs/basic.js',
|