@ones-editor/editor 3.0.4-beta.104 → 3.0.4-beta.105
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +11 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65536,9 +65536,11 @@ $$${mathData.mathjaxText}$$
|
|
|
65536
65536
|
if (!block2) {
|
|
65537
65537
|
return false;
|
|
65538
65538
|
}
|
|
65539
|
-
removeClass(block2, "media-block-uploading");
|
|
65540
65539
|
const embedData = toImageEmbedData(this.images, getWidthPercent(this.blockData));
|
|
65541
65540
|
this.editor.updateEmbedData(block2, embedData);
|
|
65541
|
+
setTimeout(() => {
|
|
65542
|
+
removeClass(block2, "media-block-uploading");
|
|
65543
|
+
}, 500);
|
|
65542
65544
|
return true;
|
|
65543
65545
|
} catch (err) {
|
|
65544
65546
|
logger$1B.error(err);
|
|
@@ -81419,7 +81421,9 @@ ${docStr}
|
|
|
81419
81421
|
progressBar.style.setProperty("--progress", `${progressValue}%`);
|
|
81420
81422
|
}
|
|
81421
81423
|
} else {
|
|
81422
|
-
|
|
81424
|
+
setTimeout(() => {
|
|
81425
|
+
removeClass(block, "uploading");
|
|
81426
|
+
}, 500);
|
|
81423
81427
|
}
|
|
81424
81428
|
}
|
|
81425
81429
|
function setFileCardUploadError(editor, blockId) {
|
|
@@ -92218,7 +92222,9 @@ ${data2.plantumlText}
|
|
|
92218
92222
|
this.emit("mediaError", editor, "upload_error", oldBlockData.id);
|
|
92219
92223
|
this.renderRetry(file2, e2);
|
|
92220
92224
|
}
|
|
92221
|
-
|
|
92225
|
+
setTimeout(() => {
|
|
92226
|
+
removeClass(block, "media-block-uploading");
|
|
92227
|
+
}, 500);
|
|
92222
92228
|
});
|
|
92223
92229
|
__publicField(this, "destroy", () => {
|
|
92224
92230
|
this.mediaContainer = null;
|
|
@@ -96698,7 +96704,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96698
96704
|
}
|
|
96699
96705
|
}
|
|
96700
96706
|
});
|
|
96701
|
-
editor.version = "3.0.4-beta.
|
|
96707
|
+
editor.version = "3.0.4-beta.105";
|
|
96702
96708
|
return editor;
|
|
96703
96709
|
}
|
|
96704
96710
|
function isDoc(doc2) {
|
|
@@ -96832,7 +96838,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96832
96838
|
OnesEditorDropTarget.register(editor);
|
|
96833
96839
|
OnesEditorTocProvider.register(editor);
|
|
96834
96840
|
OnesEditorExclusiveBlock.register(editor);
|
|
96835
|
-
editor.version = "3.0.4-beta.
|
|
96841
|
+
editor.version = "3.0.4-beta.105";
|
|
96836
96842
|
return editor;
|
|
96837
96843
|
}
|
|
96838
96844
|
async function showDocVersions(editor, options, serverUrl) {
|