@ones-editor/editor 1.2.0-beta.10 → 1.2.0-beta.11

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.
@@ -9,3 +9,4 @@ export declare function editorUndo(editor: OnesEditor): boolean;
9
9
  export declare function editorRedo(editor: OnesEditor): boolean;
10
10
  export declare function align(editor: OnesEditor, item: CommandItem): void;
11
11
  export declare function insertImage(editor: OnesEditor, item: CommandItem): Promise<void>;
12
+ export declare function insertTable(editor: OnesEditor): Promise<void>;
@@ -16,7 +16,9 @@ export declare class CommandBar {
16
16
  createLayout: (parent: HTMLElement, children: HTMLElement[], float: 'menu' | 'card') => Layout;
17
17
  handleChildTouchStart: (item: {
18
18
  name: string;
19
+ handle?: () => void;
19
20
  }) => void;
21
+ scrollIntoView: () => void;
20
22
  handleTouchStart: (event: TouchEvent, command: CommandItem) => void;
21
23
  createCommands: (container: HTMLElement, commands: CommandItem[]) => void;
22
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.2.0-beta.10",
3
+ "version": "1.2.0-beta.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",