@ones-editor/editor 1.1.43 → 1.1.44
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.
|
@@ -2,6 +2,7 @@ import './style.scss';
|
|
|
2
2
|
import OnesEditorToolbar from './toolbar/toolbar-handler';
|
|
3
3
|
import OnesEditorQuickMenu, { getAllQuickMenuItems, getHeadingMenuOptions, QuickMenuCommandBetween, QuickMenuCommandInline, QuickMenuCommandProvider, BasicCommands, GetAllQuickMenuItemsOptions, QuickMenuCommandParams, AddMenuCommand } from './quick-menu';
|
|
4
4
|
import OnesEditorTooltip from './tooltips';
|
|
5
|
+
import { OverflowTooltipHelper } from './tooltips/overflow-tooltip-helper';
|
|
5
6
|
import TextStyleShortcuts from './shortcuts';
|
|
6
7
|
import { editLink } from './link-popup';
|
|
7
8
|
import { getToolbar } from './toolbar/helper';
|
|
@@ -13,6 +14,6 @@ import './locale';
|
|
|
13
14
|
import type { OnesEditorToolbarBase } from './toolbar/types';
|
|
14
15
|
import type { QuickMenuItem } from './quick-menu';
|
|
15
16
|
export type { QuickMenuCommandParams, QuickMenuCommandProvider, QuickMenuCommandBetween, AddMenuCommand, QuickMenuCommandInline, GetAllQuickMenuItemsOptions, OnesEditorToolbarBase };
|
|
16
|
-
export { OnesEditorToolbar, OnesEditorQuickMenu, OnesEditorTooltip, getAllQuickMenuItems, QuickMenuItem, editLink, TextStyleShortcuts, getToolbar, getHeadingMenuOptions, BasicCommands, GroupOrder, isSelectBoxOnly, InlineBoxCommandProvider, getReferenceClientRect, };
|
|
17
|
+
export { OnesEditorToolbar, OnesEditorQuickMenu, OnesEditorTooltip, getAllQuickMenuItems, QuickMenuItem, editLink, TextStyleShortcuts, getToolbar, getHeadingMenuOptions, BasicCommands, GroupOrder, isSelectBoxOnly, InlineBoxCommandProvider, getReferenceClientRect, OverflowTooltipHelper, };
|
|
17
18
|
export { createTextButton } from './text-button';
|
|
18
19
|
export { mergeCommands } from './toolbar/merge-commands';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnesEditor } from '../../../../@ones-editor/core';
|
|
2
|
+
export declare class OverflowTooltipHelper {
|
|
3
|
+
private editor;
|
|
4
|
+
constructor(editor: OnesEditor);
|
|
5
|
+
private check;
|
|
6
|
+
private onMouseOver;
|
|
7
|
+
destroy(): void;
|
|
8
|
+
static get(editor: OnesEditor): OverflowTooltipHelper;
|
|
9
|
+
create: <K extends keyof HTMLElementTagNameMap>(tagName: K, classes: string[], parent: HTMLElement | DocumentFragment | null, innerTextOrDataset: string) => HTMLElementTagNameMap[K];
|
|
10
|
+
replaceTitleSpace: (title: string) => string;
|
|
11
|
+
}
|