@innovastudio/contentbuilder 1.5.89 → 1.5.91

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
@@ -207,6 +207,8 @@ interface ContentBuilderOptions {
207
207
  shortCommandList?: object;
208
208
  similarityThreshold?: number;
209
209
  commandList?: object;
210
+ commandInfo?: any[];
211
+ commandInfoCanvasMode?: any[];
210
212
  }
211
213
 
212
214
  declare class ContentBuilder {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.89",
4
+ "version": "1.5.91",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -5461,6 +5461,10 @@ button:focus-visible {
5461
5461
  fill: #fff !important;
5462
5462
  color: #fff !important;
5463
5463
  }
5464
+ .is-tool.is-row-tool svg * {
5465
+ fill: #fff !important;
5466
+ color: #fff !important;
5467
+ }
5464
5468
  .is-tool.is-row-tool .row-handle {
5465
5469
  display: flex;
5466
5470
  height: 25px;
@@ -5528,6 +5532,11 @@ button:focus-visible {
5528
5532
  /* $ui-columntool-colored-button-svg-fill */
5529
5533
  color: #fff !important;
5530
5534
  }
5535
+ .is-tool.is-col-tool svg * {
5536
+ fill: #fff !important;
5537
+ /* $ui-columntool-colored-button-svg-fill */
5538
+ color: #fff !important;
5539
+ }
5531
5540
  .is-tool.is-col-tool .cell-more svg {
5532
5541
  width: 14px;
5533
5542
  height: 14px;
@@ -1506,7 +1506,6 @@ const renderQuickAdd = builder => {
1506
1506
  onChange: (json) => {
1507
1507
  // console.log(json);
1508
1508
  },
1509
- formHeader: true,
1510
1509
  });
1511
1510
 
1512
1511
  let json = {
@@ -1558,7 +1557,8 @@ const renderQuickAdd = builder => {
1558
1557
  "submitText": "Submit"
1559
1558
  };
1560
1559
 
1561
- viewer.view(json); // Render form
1560
+ const initialFormData = JSON.stringify(json);
1561
+ viewer.view(initialFormData);
1562
1562
 
1563
1563
  const form = document.querySelector('#form_{id}');
1564
1564
 
@@ -97912,6 +97912,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
97912
97912
  if ((e.ctrlKey || e.metaKey) && e.which === 65) {
97913
97913
  //CTRL-A
97914
97914
 
97915
+ if (e.target.closest('[data-html]')) return;
97915
97916
  let el;
97916
97917
  try {
97917
97918
  if (this.win.getSelection) {