@ones-editor/editor 2.1.7-beta.10 → 2.1.7-beta.12

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.
@@ -11,6 +11,6 @@ import { RedoItem, UndoItem } from './undo';
11
11
  import { InsertItem } from './insert';
12
12
  import { FindReplaceItem } from './find';
13
13
  import { CommentItem } from './comment';
14
- import { TextColorItem } from './text-color';
15
- export declare function getToolbarDefaultItems(editor: OnesEditor): (FontBoldItem | FontItalicItem | FontUnderlineItem | FontStrikethroughItem | InlineCodeItem | SuperscriptItem | SubscriptItem | InsertImageItem | InsertLinkItem | OrderedListItem | UnorderedListItem | CheckListItem | ParagraphItem | QuoteItem | SeparatorItem | AlignLeftItem | AlignCenterItem | AlignRightItem | UndoItem | RedoItem | InsertItem | FindReplaceItem | CommentItem | TextColorItem)[];
16
- export { UndoItem, RedoItem, FontBoldItem, FontItalicItem, FontUnderlineItem, FontStrikethroughItem, TextColorItem, InlineCodeItem, SuperscriptItem, SubscriptItem, AlignLeftItem, AlignCenterItem, AlignRightItem, ParagraphItem, SeparatorItem, OrderedListItem, UnorderedListItem, CheckListItem, InsertImageItem, InsertLinkItem, QuoteItem, InsertItem, FindReplaceItem, CommentItem, };
14
+ import { ColorItem } from './text-color';
15
+ export declare function getToolbarDefaultItems(editor: OnesEditor): (FontBoldItem | FontItalicItem | FontUnderlineItem | FontStrikethroughItem | InlineCodeItem | SuperscriptItem | SubscriptItem | InsertImageItem | InsertLinkItem | OrderedListItem | UnorderedListItem | CheckListItem | ParagraphItem | QuoteItem | SeparatorItem | AlignLeftItem | AlignCenterItem | AlignRightItem | UndoItem | RedoItem | InsertItem | FindReplaceItem | CommentItem | ColorItem)[];
16
+ export { UndoItem, RedoItem, FontBoldItem, FontItalicItem, FontUnderlineItem, FontStrikethroughItem, ColorItem, InlineCodeItem, SuperscriptItem, SubscriptItem, AlignLeftItem, AlignCenterItem, AlignRightItem, ParagraphItem, SeparatorItem, OrderedListItem, UnorderedListItem, CheckListItem, InsertImageItem, InsertLinkItem, QuoteItem, InsertItem, FindReplaceItem, CommentItem, };
@@ -1,8 +1,8 @@
1
1
  import { CommandItemChildrenPlacement, CommandItemState, OnesEditor } from '../../../../@ones-editor/core';
2
- import { TextColorItem as ColorItem } from '../../../../@ones-editor/ui-base';
2
+ import { TextColorItem } from '../../../../@ones-editor/ui-base';
3
3
  import { ColorStyleProvider } from '../../../../@ones-editor/ui';
4
4
  import { ToolbarItem } from '../types';
5
- export declare class TextColorItem extends ColorItem implements ToolbarItem {
5
+ export declare class ColorItem extends TextColorItem implements ToolbarItem {
6
6
  childrenPlacement: CommandItemChildrenPlacement;
7
7
  states?: CommandItemState[] | undefined;
8
8
  provider: ColorStyleProvider;