@ones-editor/editor 2.9.8-beta.75 → 2.9.8-beta.76
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
|
@@ -95025,7 +95025,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95025
95025
|
try {
|
|
95026
95026
|
const res = await editor.doc.uploadResource(file2, {
|
|
95027
95027
|
onProgress: (percent) => {
|
|
95028
|
-
updateFileCardProgress(editor, blockId, Math.floor(percent));
|
|
95028
|
+
updateFileCardProgress(editor, blockId, Math.floor(percent) * 0.99);
|
|
95029
95029
|
}
|
|
95030
95030
|
});
|
|
95031
95031
|
if (res.resourceId) {
|
|
@@ -95947,7 +95947,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95947
95947
|
}
|
|
95948
95948
|
}
|
|
95949
95949
|
});
|
|
95950
|
-
editor.version = "2.9.8-beta.
|
|
95950
|
+
editor.version = "2.9.8-beta.76";
|
|
95951
95951
|
return editor;
|
|
95952
95952
|
}
|
|
95953
95953
|
function isDoc(doc2) {
|
|
@@ -96081,7 +96081,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96081
96081
|
OnesEditorDropTarget.register(editor);
|
|
96082
96082
|
OnesEditorTocProvider.register(editor);
|
|
96083
96083
|
OnesEditorExclusiveBlock.register(editor);
|
|
96084
|
-
editor.version = "2.9.8-beta.
|
|
96084
|
+
editor.version = "2.9.8-beta.76";
|
|
96085
96085
|
return editor;
|
|
96086
96086
|
}
|
|
96087
96087
|
async function showDocVersions(editor, options, serverUrl) {
|