@ones-editor/editor 2.9.8-beta.53 → 2.9.8-beta.55
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
|
@@ -80921,7 +80921,7 @@ ${docStr}
|
|
|
80921
80921
|
return { card, downloadButton, copilotButton, cancel, retryUpload };
|
|
80922
80922
|
}
|
|
80923
80923
|
function updateFileCardProgress(editor, blockId, progressValue) {
|
|
80924
|
-
const block = editor.
|
|
80924
|
+
const block = editor.findBlockById(blockId);
|
|
80925
80925
|
if (!block) {
|
|
80926
80926
|
return;
|
|
80927
80927
|
}
|
|
@@ -95014,6 +95014,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95014
95014
|
retryInstance.addFile(blockId, file2);
|
|
95015
95015
|
updateFileCardProgress(editor, blockId, 0);
|
|
95016
95016
|
uploadCardFile(editor, blockId, data2, file2);
|
|
95017
|
+
return embedBlock;
|
|
95017
95018
|
}
|
|
95018
95019
|
class InsertFileItem {
|
|
95019
95020
|
constructor() {
|
|
@@ -95863,7 +95864,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95863
95864
|
}
|
|
95864
95865
|
}
|
|
95865
95866
|
});
|
|
95866
|
-
editor.version = "2.9.8-beta.
|
|
95867
|
+
editor.version = "2.9.8-beta.55";
|
|
95867
95868
|
return editor;
|
|
95868
95869
|
}
|
|
95869
95870
|
function isDoc(doc2) {
|
|
@@ -95996,7 +95997,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95996
95997
|
OnesEditorDropTarget.register(editor);
|
|
95997
95998
|
OnesEditorTocProvider.register(editor);
|
|
95998
95999
|
OnesEditorExclusiveBlock.register(editor);
|
|
95999
|
-
editor.version = "2.9.8-beta.
|
|
96000
|
+
editor.version = "2.9.8-beta.55";
|
|
96000
96001
|
return editor;
|
|
96001
96002
|
}
|
|
96002
96003
|
async function showDocVersions(editor, options, serverUrl) {
|