@ones-editor/editor 2.8.23 → 2.8.24

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/dist/index.js CHANGED
@@ -85431,10 +85431,13 @@ ${data2.flowchartText}
85431
85431
  drawioIframe.setAttribute("src", iframeUrl);
85432
85432
  }
85433
85433
  async function initDrawIo(editor) {
85434
- var _a, _b;
85434
+ var _a, _b, _c, _d, _e;
85435
85435
  const option = getDrawioOptions(editor);
85436
85436
  const drawIoUrl = ((_a = option.cdn) == null ? void 0 : _a.drawioJs) || DrawioJsUrl;
85437
85437
  const pakoUrl = ((_b = option.cdn) == null ? void 0 : _b.pako) || PakoJsUrl;
85438
+ window.DRAWIO_BASE_URL = ((_c = option.cdn) == null ? void 0 : _c.drawioBaseUrl) || void 0;
85439
+ window.DRAWIO_LIGHTBOX_URL = ((_d = option.cdn) == null ? void 0 : _d.drawioBaseUrl) || void 0;
85440
+ window.STENCIL_PATH = ((_e = option.cdn) == null ? void 0 : _e.drawioBaseUrl) ? `${option.cdn.drawioBaseUrl}/stencils` : void 0;
85438
85441
  await loadJsPromise(pakoUrl, "editor-pako");
85439
85442
  await loadJsPromise(drawIoUrl, "editor-drawio");
85440
85443
  }
@@ -93113,7 +93116,7 @@ ${data2.plantumlText}
93113
93116
  }
93114
93117
  }
93115
93118
  });
93116
- editor.version = "2.8.23";
93119
+ editor.version = "2.8.24";
93117
93120
  return editor;
93118
93121
  }
93119
93122
  function isDoc(doc2) {
@@ -93226,7 +93229,7 @@ ${data2.plantumlText}
93226
93229
  }
93227
93230
  });
93228
93231
  OnesEditorToolbar.register(editor);
93229
- editor.version = "2.8.23";
93232
+ editor.version = "2.8.24";
93230
93233
  return editor;
93231
93234
  }
93232
93235
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.8.23",
3
+ "version": "2.8.24",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {