@ones-editor/editor 2.6.1-beta.1 → 2.7.1-beta.1

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.
@@ -6,7 +6,7 @@ import * as BasicCommands from './providers/utils/basic-commands';
6
6
  import OnesEditorTooltip from './tooltips';
7
7
  import { OverflowTooltipHelper } from './tooltips/overflow-tooltip-helper';
8
8
  import type { OnesEditorTooltipCallbacks, EditorTooltipTippyInstance, OnesEditorTooltipProps } from './tooltips';
9
- import { AlignShortcuts, TextStyleShortcuts, TextColorShortcuts } from './shortcuts';
9
+ import TextStyleShortcuts from './shortcuts';
10
10
  import { editLink } from './link-popup';
11
11
  import { getToolbar } from './toolbar/helper';
12
12
  import { getReferenceClientRect } from './toolbar/get-reference-client-rect';
@@ -42,5 +42,5 @@ export * from './providers/utils';
42
42
  export * from './box-helper/standard-box-commands';
43
43
  export { ClipboardProvider, ListProvider, QuotedProvider, TextCommandProvider, injectBlockOptions, LinkProvider, InlineBoxCommandProvider, AlignProvider, ParagraphProvider, ProxyProvider, InlineCodeProvider, InlineStyleProvider, ColorStyleProvider, ScriptDropdownProvider, TextScriptProvider, HeadingProvider, MobileLinkProvider, InsertMenuProvider, };
44
44
  export type { QuickMenuCommandParams, QuickMenuCommandProvider, QuickMenuCommandBetween, AddMenuCommand, QuickMenuCommandInline, OnesEditorToolbarBase, OnesEditorTooltipCallbacks, EditorTooltipTippyInstance, OnesEditorTooltipProps, QuickMenuItem, QuickMenuOptions, ReadonlyToolbarCommandProvider, ReadonlyCommandOptions, };
45
- export { BlockMenu, BlockCommandProviders, OnesEditorToolbar, OnesEditorQuickMenu, OnesEditorTooltip, editLink, TextColorShortcuts, TextStyleShortcuts, AlignShortcuts, getToolbar, BasicCommands, isSelectBoxOnly, getReferenceClientRect, ReadonlyToolbar, AddCommentToOldDocCommandProvider, OverflowTooltipHelper, };
45
+ export { BlockMenu, BlockCommandProviders, OnesEditorToolbar, OnesEditorQuickMenu, OnesEditorTooltip, editLink, TextStyleShortcuts, getToolbar, BasicCommands, isSelectBoxOnly, getReferenceClientRect, ReadonlyToolbar, AddCommentToOldDocCommandProvider, OverflowTooltipHelper, };
46
46
  export * from './utils/hide-toolbar';
@@ -1,3 +1,2 @@
1
- export { AlignShortcuts } from './align-shortcuts';
2
- export { TextStyleShortcuts } from './text-style-shortcuts';
3
- export { TextColorShortcuts } from './text-color-shortcuts';
1
+ import TextStyleShortcuts from './text-style-shortcuts';
2
+ export default TextStyleShortcuts;
@@ -1,2 +1,3 @@
1
1
  import { ShortcutRecords } from '../../../../@ones-editor/core';
2
- export declare const TextStyleShortcuts: ShortcutRecords;
2
+ declare const TextStyleShortcuts: ShortcutRecords;
3
+ export default TextStyleShortcuts;
@@ -1 +1,2 @@
1
- export { TextColorItem, getColorsFromLocalStorage } from './text-color-item';
1
+ import { TextColorItem } from './text-color-item';
2
+ export { TextColorItem };
@@ -4,8 +4,6 @@ import { ColorPaletteItem } from '../color-palette';
4
4
  import { ColorPaletteEvents, ColorAction } from '../color-palette/color-palette';
5
5
  import './text-color-item.scss';
6
6
  type Colors = [number | null, number | null];
7
- export declare const STORAGE_NAME = "color-item";
8
- export declare function getColorsFromLocalStorage(editor: OnesEditor): Colors;
9
7
  export declare class TextColorItem extends TypedEmitter<ColorPaletteEvents> implements CommandItem {
10
8
  editor: OnesEditor;
11
9
  private storageName;