@ones-editor/editor 0.0.3-beta.253 → 0.0.3-beta.254

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.
@@ -1,5 +1,5 @@
1
1
  import { BlockElement, OnesEditor } from '../../../../../../@ones-editor/core';
2
2
  import type { GetAllQuickMenuItemsOptions } from '../../../../../../@ones-editor/ui';
3
3
  import type { BlockMenuItem } from '../types';
4
- export declare function getAllInsertBlockItems(editor: OnesEditor, source: 'insert-block' | 'insert-block-before', options?: GetAllQuickMenuItemsOptions): BlockMenuItem[];
4
+ export declare function getAllInsertBlockItems(editor: OnesEditor, source: 'insert-block' | 'insert-block-before', options: GetAllQuickMenuItemsOptions): BlockMenuItem[];
5
5
  export declare function executeInsertBlockCommand(editor: OnesEditor, block: BlockElement, item: BlockMenuItem, insertAbove?: boolean): Promise<BlockElement | null> | undefined;
@@ -140,6 +140,7 @@ export interface CommandItem {
140
140
  ellipsisTooltip?: string;
141
141
  disableTooltip?: boolean;
142
142
  disableReason?: string;
143
+ hideGroupItem?: boolean;
143
144
  setCloseable?: (closeable: Closeable) => void;
144
145
  beforePopup?: (parent: unknown) => void;
145
146
  }
@@ -12,7 +12,7 @@ export declare function hashCode(str: string): number;
12
12
  */
13
13
  export declare function abbreviation(name: string, maxLength?: number): string;
14
14
  declare enum EColor {
15
- blue = "#0064FF",
15
+ blue = "#338FE5",
16
16
  cyan = "#34AFDE",
17
17
  teal = "#2CB2AE",
18
18
  green = "#24B47E",