@innovastudio/contentbox 1.6.141 → 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
@@ -236,6 +236,7 @@ interface ContentBoxOptions {
236
236
  blockRotate?: boolean;
237
237
  sectionTemplate?: string;
238
238
  pageTemplate?: string;
239
+ disablePageShift?: boolean;
239
240
  contentStyleWithSample?: boolean;
240
241
 
241
242
  defaultFontSizes?: any[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.141",
4
+ "version": "1.6.142",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -25788,9 +25788,8 @@ class ControlPanel {
25788
25788
 
25789
25789
  open_(what) {
25790
25790
  const viewportWidth = document.documentElement.clientWidth;
25791
- const shiftDisableBreakpoint = this.builder.shiftDisableBreakpoint !== undefined ? this.builder.shiftDisableBreakpoint : 1322;
25792
25791
 
25793
- if (viewportWidth <= shiftDisableBreakpoint) {
25792
+ if (viewportWidth <= this.builder.shiftDisableBreakpoint) {
25794
25793
  document.body.classList.add('shift-off');
25795
25794
  } else {
25796
25795
  document.body.classList.remove('shift-off');
@@ -157419,6 +157418,7 @@ class ContentBox {
157419
157418
  // iframe only
157420
157419
  canvas: true,
157421
157420
  blankHtml: '',
157421
+ shiftDisableBreakpoint: 0,
157422
157422
  lang: [],
157423
157423
  // Old Template System:
157424
157424
  designUrl1: 'assets/designs/basic.js',