@ones-editor/editor 2.9.8-beta.35 → 2.9.8-beta.36
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.d.ts +1 -0
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -104,5 +104,6 @@ export interface ShowDocVersionsOptions2 {
|
|
|
104
104
|
userId: string;
|
|
105
105
|
displayName: string;
|
|
106
106
|
options?: VersionDialogOptions;
|
|
107
|
+
editorOptions?: CreateOnesEditorOptions;
|
|
107
108
|
}
|
|
108
109
|
export declare function showDocVersions2(parent: HTMLElement, options: ShowDocVersionsOptions2): Promise<OnesEditorVersionsDialog>;
|
package/dist/index.js
CHANGED
|
@@ -95563,7 +95563,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95563
95563
|
}
|
|
95564
95564
|
}
|
|
95565
95565
|
});
|
|
95566
|
-
editor.version = "2.9.8-beta.
|
|
95566
|
+
editor.version = "2.9.8-beta.36";
|
|
95567
95567
|
return editor;
|
|
95568
95568
|
}
|
|
95569
95569
|
function isDoc(doc2) {
|
|
@@ -95695,7 +95695,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95695
95695
|
OnesEditorDropTarget.register(editor);
|
|
95696
95696
|
OnesEditorTocProvider.register(editor);
|
|
95697
95697
|
OnesEditorExclusiveBlock.register(editor);
|
|
95698
|
-
editor.version = "2.9.8-beta.
|
|
95698
|
+
editor.version = "2.9.8-beta.36";
|
|
95699
95699
|
return editor;
|
|
95700
95700
|
}
|
|
95701
95701
|
async function showDocVersions(editor, options, serverUrl) {
|
|
@@ -95747,7 +95747,8 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95747
95747
|
userId,
|
|
95748
95748
|
displayName,
|
|
95749
95749
|
avatarUrl: ""
|
|
95750
|
-
}
|
|
95750
|
+
},
|
|
95751
|
+
...options == null ? void 0 : options.editorOptions
|
|
95751
95752
|
};
|
|
95752
95753
|
const versionsProvider = new ShareDBDocVersionsProvider(editorOptions);
|
|
95753
95754
|
const dialog = new OnesEditorVersionsDialog(doc2, versionsProvider);
|