@ones-editor/editor 3.0.4-beta.105 → 3.0.4-beta.107

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
@@ -25403,6 +25403,7 @@ var __publicField = (obj, key, value) => {
25403
25403
  const boxId = genId();
25404
25404
  info == null ? void 0 : info.boxIdMap.set(op.attributes.id, boxId);
25405
25405
  op.attributes.id = boxId;
25406
+ op.attributes.created = Date.now();
25406
25407
  }
25407
25408
  });
25408
25409
  return {
@@ -65540,7 +65541,7 @@ $$${mathData.mathjaxText}$$
65540
65541
  this.editor.updateEmbedData(block2, embedData);
65541
65542
  setTimeout(() => {
65542
65543
  removeClass(block2, "media-block-uploading");
65543
- }, 500);
65544
+ }, 2e3);
65544
65545
  return true;
65545
65546
  } catch (err) {
65546
65547
  logger$1B.error(err);
@@ -81423,7 +81424,7 @@ ${docStr}
81423
81424
  } else {
81424
81425
  setTimeout(() => {
81425
81426
  removeClass(block, "uploading");
81426
- }, 500);
81427
+ }, 2e3);
81427
81428
  }
81428
81429
  }
81429
81430
  function setFileCardUploadError(editor, blockId) {
@@ -92224,7 +92225,7 @@ ${data2.plantumlText}
92224
92225
  }
92225
92226
  setTimeout(() => {
92226
92227
  removeClass(block, "media-block-uploading");
92227
- }, 500);
92228
+ }, 2e3);
92228
92229
  });
92229
92230
  __publicField(this, "destroy", () => {
92230
92231
  this.mediaContainer = null;
@@ -96704,7 +96705,7 @@ ${JSON.stringify(error2, null, 2)}`);
96704
96705
  }
96705
96706
  }
96706
96707
  });
96707
- editor.version = "3.0.4-beta.105";
96708
+ editor.version = "3.0.4-beta.107";
96708
96709
  return editor;
96709
96710
  }
96710
96711
  function isDoc(doc2) {
@@ -96838,7 +96839,7 @@ ${JSON.stringify(error2, null, 2)}`);
96838
96839
  OnesEditorDropTarget.register(editor);
96839
96840
  OnesEditorTocProvider.register(editor);
96840
96841
  OnesEditorExclusiveBlock.register(editor);
96841
- editor.version = "3.0.4-beta.105";
96842
+ editor.version = "3.0.4-beta.107";
96842
96843
  return editor;
96843
96844
  }
96844
96845
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "3.0.4-beta.105",
3
+ "version": "3.0.4-beta.107",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {