@innovastudio/contentbuilder 1.4.34 → 1.4.35

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
3
  "type": "module",
4
- "version": "1.4.34",
4
+ "version": "1.4.35",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -52,6 +52,8 @@
52
52
  "@monaco-editor/loader": "^1.3.2",
53
53
  "blueimp-load-image": "^5.16.0",
54
54
  "cropperjs": "^1.5.12",
55
+ "csp-html-webpack-plugin": "^5.1.0",
56
+ "html-webpack-plugin": "^5.5.0",
55
57
  "js-beautify": "^1.14.0",
56
58
  "moveable": "^0.30.0",
57
59
  "rangy": "^1.3.0",
@@ -6931,7 +6931,7 @@ class Util {
6931
6931
  ${this.getFontPreview()}
6932
6932
  </ul>
6933
6933
 
6934
- <script>
6934
+ <script${this.builder.nonce ? ` nonce="${this.builder.nonce}"` : ''}>
6935
6935
 
6936
6936
  const close = () => {
6937
6937
  parent.focus();
@@ -16813,7 +16813,7 @@ class Snippets {
16813
16813
  <ul class="is-design-list" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
16814
16814
  </ul>
16815
16815
 
16816
- <script>
16816
+ <script${this.builder.nonce ? ` nonce="${this.builder.nonce}"` : ''}>
16817
16817
 
16818
16818
  var snippetPath = '${snippetPath}';
16819
16819
  var snippetCategories = ${snippetCategoriesString};
@@ -73416,7 +73416,7 @@ class Rte {
73416
73416
  ${this.getIcons()}
73417
73417
  </div>
73418
73418
 
73419
- <script>
73419
+ <script${this.builder.nonce ? ` nonce="${this.builder.nonce}"` : ''}>
73420
73420
  const setValue = (elm) => {
73421
73421
  if(!elm.className) elm = elm.childNodes[0];
73422
73422
  parent._cb.addIcon(elm.className);