@ones-editor/editor 3.0.15-beta.1 → 3.0.16-beta.2

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.
@@ -18,6 +18,7 @@ export interface VersionDialogOptions {
18
18
  onVersionsLoaded?: (sender: unknown, versions: DocVersion[]) => void;
19
19
  decorateItem?: (item: HTMLElement, ver: DocVersion) => void;
20
20
  onCopyVersionLink?: (ver: DocVersion) => void;
21
+ forceRequestVersionAsLatest?: boolean;
21
22
  }
22
23
  export type VersionNum = number | string;
23
24
  export interface PlayOptions {
@@ -18,6 +18,7 @@ export declare class OnesEditorVersionsDialog implements OnesEditorCustom {
18
18
  private handleSelectVersion;
19
19
  private handleCompareWithVersion;
20
20
  private handleHelp;
21
+ private createVersionFromNum;
21
22
  private viewVersion;
22
23
  private onMemoChanged;
23
24
  private renderContent;
package/dist/index.d.ts CHANGED
@@ -30,7 +30,6 @@ export * from '../@ones-editor/layout-block';
30
30
  export * from '../@ones-editor/markdown-to-doc';
31
31
  export * from '../@ones-editor/html-to-doc';
32
32
  export * from '../@ones-editor/main-toolbar';
33
- export * from '../@ones-editor/mention';
34
33
  export { Popup, ManualMenu, OnesEditorAutoSuggest, tippy, ManualToolbar, ManualCloseDialog, TextColorItem, shouldFocusToEditor, FixedToolbar, } from '../@ones-editor/ui-base';
35
34
  export * from '../@ones-editor/drawio-embed';
36
35
  export * from '../@ones-editor/block-resizer';
@@ -109,4 +108,3 @@ export interface ShowDocVersionsOptions2 {
109
108
  editorOptions?: CreateOnesEditorOptions;
110
109
  }
111
110
  export declare function showDocVersions2(parent: HTMLElement, options: ShowDocVersionsOptions2): Promise<OnesEditorVersionsDialog>;
112
- export declare function createSimpleInput(root: HTMLElement, docData: DocObject | OnesEditorDoc, options: CreateLocalEditorOptions): Promise<OnesEditor>;