@ones-editor/editor 2.1.1-beta.45 → 2.1.1-beta.46

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.
@@ -41,6 +41,6 @@ export default class AutoSuggestMenu {
41
41
  handleClick: import("lodash").DebouncedFuncLeading<(menu: AbstractCommandBar, item: CommandItem) => void>;
42
42
  handleShow: (menu: AbstractCommandBar) => void;
43
43
  handleClose: () => void;
44
- handleKeydown: (event: KeyboardEvent) => void;
44
+ handleKeydown: (event: KeyboardEvent) => boolean;
45
45
  protected highlightText(search: string, items?: CommandItem[]): void;
46
46
  }
@@ -21,7 +21,7 @@ export default abstract class CommandBar extends TypedEmitter<CommandBarEvents>
21
21
  abstract readonly isVisible: boolean;
22
22
  get isSubCommandBar(): boolean;
23
23
  updateItems(items: CommandItem[]): void;
24
- handleDocumentKeydown: (event: KeyboardEvent) => void;
24
+ handleDocumentKeydown: (event: KeyboardEvent) => boolean;
25
25
  protected handleDocumentMouseDown: (event: MouseEvent) => void;
26
26
  protected handleHidden: () => void;
27
27
  protected handleShow: () => void;
@@ -27,7 +27,7 @@ export interface AbstractCommandBar extends TypedEmitter<CommandBarEvents> {
27
27
  close: (reason: CloseReason) => void;
28
28
  destroy: () => void;
29
29
  isInCommandBar: (target: EventTarget | null) => boolean;
30
- handleDocumentKeydown: (event: KeyboardEvent) => void;
30
+ handleDocumentKeydown: (event: KeyboardEvent) => boolean;
31
31
  getSubBarOptions: (item: CommandItem) => ManualShowCommandBarOptions;
32
32
  updateItems: (items: CommandItem[]) => void;
33
33
  }
package/dist/index.d.ts CHANGED
@@ -18,6 +18,8 @@ export * from '../@ones-editor/versions';
18
18
  export * from '../@ones-editor/misc';
19
19
  export * from '../@ones-editor/block-locker';
20
20
  export * from '../@ones-editor/layout-block';
21
+ export * from '../@ones-editor/markdown-to-doc';
22
+ export * from '../@ones-editor/html-to-doc';
21
23
  export { Popup, ManualMenu, OnesEditorAutoSuggest, tippy, ManualToolbar, ManualCloseDialog, TextColorItem, shouldFocusToEditor, FixedToolbar, } from '../@ones-editor/ui-base';
22
24
  export * from '../@ones-editor/drawio-embed';
23
25
  export * from '../@ones-editor/block-resizer';