@ones-editor/editor 2.9.8-beta.25 → 2.9.8-beta.27

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,3 +2,4 @@ import { BlockElement } from '../../../../../@ones-editor/core';
2
2
  export type OnChange = (codeValue: string) => void;
3
3
  export declare const createCodeEditor: (parent: HTMLElement, codeValue: string, onChange: OnChange, onActiveChange: (focused: boolean) => void) => void;
4
4
  export declare const getCodeEditor: (block: BlockElement) => HTMLTextAreaElement;
5
+ export declare function focusToCodeEditor(block: BlockElement): void;
@@ -2,12 +2,15 @@ import { CommandItem, CommandItemChildrenPlacement, OnesEditor } from '../../../
2
2
  import { AbstractCommandBar } from '../../../../@ones-editor/ui-base';
3
3
  import { ToolbarItem } from '../types';
4
4
  export declare class InsertItem implements ToolbarItem {
5
+ private editor;
5
6
  name: string;
6
7
  id: string;
7
8
  dropdown: boolean;
8
9
  manualShowChildren: boolean;
9
10
  childrenPlacement: CommandItemChildrenPlacement;
10
11
  children: CommandItem[];
12
+ allChildren: CommandItem[];
11
13
  constructor(editor: OnesEditor);
14
+ beforePopup(subBar: unknown): void;
12
15
  onClick(editor: OnesEditor, item: ToolbarItem, commandBar: AbstractCommandBar): void;
13
16
  }