@innovastudio/contentbuilder 1.3.38 → 1.3.39

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/contentbuilder",
3
- "type": "module",
4
- "version": "1.3.38",
3
+ "type":"module",
4
+ "version": "1.3.39",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -53461,8 +53461,8 @@ class Code {
53461
53461
  codeblock.setAttribute('data-html-' + index, encodeURIComponent(builderhtml));
53462
53462
  index++;
53463
53463
  });
53464
- let html = decodeURIComponent(codeblock.getAttribute('data-html'));
53465
- html = html.replace(/{id}/g, this.util.makeId());
53464
+ let html = decodeURIComponent(codeblock.getAttribute('data-html')); //html = html.replace(/{id}/g, this.util.makeId());
53465
+
53466
53466
  tmpbuilder.parentNode.removeChild(tmpbuilder); // Use existing modal
53467
53467
 
53468
53468
  let viewhtml;
@@ -75580,7 +75580,7 @@ class ContentBuilder {
75580
75580
  html = html.replace(new RegExp('column two-sixth', 'g'), colClass[9]);
75581
75581
  }
75582
75582
 
75583
- html = html.replace(/{id}/g, util.makeId()); // Replace {id} with auto generated id (for custom code snippet)
75583
+ html = html.replace(/{id}/g, util.makeId());
75584
75584
 
75585
75585
  if (this.opts.onAdd) {
75586
75586
  html = this.opts.onAdd(html);