@ones-editor/editor 2.1.1-beta.46 → 2.1.1-beta.47
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 +2 -1
- package/dist/index.js +3 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { OnesEditor, DocObject, OnesEditorDoc } from '../@ones-editor/core';
|
|
|
2
2
|
import * as OnesEditorIcons from '../@ones-editor/ui-base/src/icons';
|
|
3
3
|
import { OnesEditorVersionsDialog, VersionDialogOptions } from '../@ones-editor/versions';
|
|
4
4
|
import { CalloutQuickMenuItemFilter } from '../@ones-editor/callout-block';
|
|
5
|
+
import { MobileCommandHandler } from '../@ones-editor/mobile-helper';
|
|
5
6
|
import { LayoutQuickMenuItemFilter, isLayoutBlock } from '../@ones-editor/layout-block';
|
|
6
7
|
import ShareDBDocVersionsProvider from './versions/versions-provider';
|
|
7
8
|
import { CreateLocalEditorOptions, CreateOnesEditorOptions } from './types';
|
|
@@ -32,7 +33,7 @@ export { resetListStart, getListAllNextBrothers, toMindmap, Mindmap } from '../@
|
|
|
32
33
|
export * from '../@ones-editor/exclusive-block';
|
|
33
34
|
export * from '../@ones-editor/templates';
|
|
34
35
|
export * from 'tiny-typed-emitter';
|
|
35
|
-
export { ShareDBDocVersionsProvider, OnesEditorIcons, isLayoutBlock, LayoutQuickMenuItemFilter, CalloutQuickMenuItemFilter };
|
|
36
|
+
export { ShareDBDocVersionsProvider, OnesEditorIcons, isLayoutBlock, LayoutQuickMenuItemFilter, CalloutQuickMenuItemFilter, MobileCommandHandler };
|
|
36
37
|
export type { FileBoxData, FileEmbedData } from '../@ones-editor/file';
|
|
37
38
|
export { type DocListBlock } from '../@ones-editor/list-block';
|
|
38
39
|
export declare function createOnesEditor(root: HTMLElement, options: CreateOnesEditorOptions): Promise<OnesEditor>;
|
package/dist/index.js
CHANGED
|
@@ -85778,7 +85778,6 @@ ${data2.flowchartText}
|
|
|
85778
85778
|
editor.addCustom("editor-tooltip", () => new OnesEditorTooltip(editor));
|
|
85779
85779
|
} else {
|
|
85780
85780
|
editor.addCustom("mobile-helper", () => new OnesEditorMobileHelper(editor));
|
|
85781
|
-
editor.addCustom("mobile-command", () => new MobileCommandHandler(editor));
|
|
85782
85781
|
}
|
|
85783
85782
|
editor.addListener("clickLink", (editor2, event, link2) => {
|
|
85784
85783
|
var _a2;
|
|
@@ -85819,7 +85818,7 @@ ${data2.flowchartText}
|
|
|
85819
85818
|
}
|
|
85820
85819
|
}
|
|
85821
85820
|
});
|
|
85822
|
-
editor.version = "2.1.1-beta.
|
|
85821
|
+
editor.version = "2.1.1-beta.47";
|
|
85823
85822
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
85824
85823
|
window.setReauthFail = (fail) => {
|
|
85825
85824
|
window.isReauthError = fail;
|
|
@@ -85890,7 +85889,6 @@ ${data2.flowchartText}
|
|
|
85890
85889
|
(_i = editor.findCustom("editor-block-menu")) == null ? void 0 : _i.addFilter("layout-quick-menu-filter", LayoutQuickMenuItemFilter.init(editor));
|
|
85891
85890
|
} else {
|
|
85892
85891
|
editor.addCustom("mobile-helper", () => new OnesEditorMobileHelper(editor));
|
|
85893
|
-
editor.addCustom("mobile-command", () => new MobileCommandHandler(editor));
|
|
85894
85892
|
}
|
|
85895
85893
|
editor.addCustom("image-paste-handler", () => new ImagePasteHandler(editor));
|
|
85896
85894
|
if (enableComments) {
|
|
@@ -85918,7 +85916,7 @@ ${data2.flowchartText}
|
|
|
85918
85916
|
});
|
|
85919
85917
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
85920
85918
|
OnesEditorToolbar.register(editor);
|
|
85921
|
-
editor.version = "2.1.1-beta.
|
|
85919
|
+
editor.version = "2.1.1-beta.47";
|
|
85922
85920
|
return editor;
|
|
85923
85921
|
}
|
|
85924
85922
|
async function showDocVersions(editor, options, serverUrl) {
|
|
@@ -131723,6 +131721,7 @@ ${data2.flowchartText}
|
|
|
131723
131721
|
exports2.MarkdownInputHandler = MarkdownInputHandler;
|
|
131724
131722
|
exports2.MaxUserError = MaxUserError;
|
|
131725
131723
|
exports2.Mindmap = Mindmap;
|
|
131724
|
+
exports2.MobileCommandHandler = MobileCommandHandler;
|
|
131726
131725
|
exports2.MobileLinkProvider = MobileLinkProvider;
|
|
131727
131726
|
exports2.OnesEditorAutoSuggest = OnesEditorAutoSuggest;
|
|
131728
131727
|
exports2.OnesEditorCustomDataWrapper = OnesEditorCustomDataWrapper;
|