@ones-editor/editor 2.8.2 → 2.8.4

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
@@ -91041,8 +91041,12 @@ ${data2.plantumlText}
91041
91041
  const embedData = embedBlock.embedData;
91042
91042
  const embedType = embedBlock.embedType;
91043
91043
  if (embedTypeHasImage(embedType)) {
91044
- const blockObj = await getBlockObject(block, md5HexFunc, getTextsByBox);
91045
- await dbg.addImagesBlockObject(block, blockObj, maxWidth);
91044
+ try {
91045
+ const blockObj = await getBlockObject(block, md5HexFunc, getTextsByBox);
91046
+ await dbg.addImagesBlockObject(block, blockObj, maxWidth);
91047
+ } catch (err) {
91048
+ console.error(err.message);
91049
+ }
91046
91050
  } else if (block.embedType === "hr") {
91047
91051
  dbg.addSeparatorBlock();
91048
91052
  } else if (block.embedType === "video") {
@@ -92546,7 +92550,7 @@ ${data2.plantumlText}
92546
92550
  }
92547
92551
  }
92548
92552
  });
92549
- editor.version = "2.8.2";
92553
+ editor.version = "2.8.4";
92550
92554
  return editor;
92551
92555
  }
92552
92556
  function isDoc(doc2) {
@@ -92659,7 +92663,7 @@ ${data2.plantumlText}
92659
92663
  }
92660
92664
  });
92661
92665
  OnesEditorToolbar.register(editor);
92662
- editor.version = "2.8.2";
92666
+ editor.version = "2.8.4";
92663
92667
  return editor;
92664
92668
  }
92665
92669
  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.2",
3
+ "version": "2.8.4",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {