@innovastudio/contentbuilder 1.0.85 → 1.0.88

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.0.85",
3
+ "version": "1.0.88",
4
4
  "description": "",
5
5
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
6
  "files": [
@@ -13056,6 +13056,7 @@ class HtmlUtil {
13056
13056
  const util = this.builder.util;
13057
13057
  const builderStuff = this.builder.builderStuff;
13058
13058
  const viewhtmlnormal = builderStuff.querySelector('.viewhtmlnormal');
13059
+ util.showModal(viewhtmlnormal, true, null, false);
13059
13060
  let iframe = viewhtmlnormal.querySelector('iframe');
13060
13061
  iframe.outerHTML = '<iframe id="ifrHtml" style="width:100%;height:100%;border: none;" src="about:blank"></iframe>'; //clear
13061
13062
 
@@ -13064,7 +13065,6 @@ class HtmlUtil {
13064
13065
  doc.write(this.getIframeHtml()); // use the same html as viewhtmllarger
13065
13066
 
13066
13067
  doc.close();
13067
- util.showModal(viewhtmlnormal, true, null, false);
13068
13068
  }
13069
13069
 
13070
13070
  viewHtmlLarger() {
@@ -62655,6 +62655,11 @@ class ContentBuilder {
62655
62655
  this.opts.cols = ['col-md-1', 'col-md-2', 'col-md-3', 'col-md-4', 'col-md-5', 'col-md-6', 'col-md-7', 'col-md-8', 'col-md-9', 'col-md-10', 'col-md-11', 'col-md-12'];
62656
62656
  this.opts.colequal = [];
62657
62657
  this.opts.colsizes = [];
62658
+ } else if (this.opts.framework === 'tailwind') {
62659
+ this.opts.row = 'flex flex-col md:flex-row';
62660
+ this.opts.cols = ['w-full md:w-1/12 px-4', 'w-full md:w-2/12 px-4', 'w-full md:w-3/12 px-4', 'w-full md:w-4/12 px-4', 'w-full md:w-5/12 px-4', 'w-full md:w-6/12 px-4', 'w-full md:w-7/12 px-4', 'w-full md:w-8/12 px-4', 'w-full md:w-9/12 px-4', 'w-full md:w-10/12 px-4', 'w-full md:w-11/12 px-4', 'w-full px-4'];
62661
+ this.opts.colequal = [];
62662
+ this.opts.colsizes = [];
62658
62663
  } else if (this.opts.framework === 'foundation') {
62659
62664
  this.opts.row = 'row';
62660
62665
  this.opts.cols = ['large-1 columns', 'large-2 columns', 'large-3 columns', 'large-4 columns', 'large-5 columns', 'large-6 columns', 'large-7 columns', 'large-8 columns', 'large-9 columns', 'large-10 columns', 'large-11 columns', 'large-12 columns'];
@@ -63375,10 +63380,10 @@ class ContentBuilder {
63375
63380
  }
63376
63381
  }
63377
63382
 
63378
- this.builder.cleanHtmlFormatting = true;
63383
+ this.cleanHtmlFormatting = true;
63379
63384
  let outputHtml = htmlutil.readHtml(area); //for view=false
63380
63385
 
63381
- this.builder.cleanHtmlFormatting = false;
63386
+ this.cleanHtmlFormatting = false;
63382
63387
  return outputHtml;
63383
63388
  } // ContentBox
63384
63389