@ones-editor/editor 0.0.3-beta.170 → 0.0.3-beta.171

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.
@@ -595,6 +595,7 @@ export interface OnesEditorCaret {
595
595
  visible: () => boolean;
596
596
  }
597
597
  export interface OnesEditorInputHandler {
598
+ order?: number;
598
599
  handleBeforeInsertText?: (editor: OnesEditor, containerId: string, blockIndex: number, offset: number, text: string) => boolean;
599
600
  handleAfterInsertText?: (editor: OnesEditor, containerId: string, blockIndex: number, offset: number, text: string) => boolean;
600
601
  handleBeforeKeyDown?: (editor: OnesEditor, event: KeyboardEvent) => boolean;
@@ -16,7 +16,7 @@ export declare class HeadingBlockScrollListener extends TypedEmitter<HeadingBloc
16
16
  constructor(editor: OnesEditor);
17
17
  private setStatus;
18
18
  private handleScroll;
19
- start(): void;
20
- stop(): void;
19
+ private start;
20
+ private stop;
21
21
  destroy(): void;
22
22
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import { TypedEmitter } from 'tiny-typed-emitter';
3
2
  import { DocBlock, DocBlockDelta, DocBlockTextActions, OnesEditor, OnesEditorDocCallbacks } from '../../../@ones-editor/core';
4
3
  import { OnesEditorToc } from './build-toc';
@@ -18,6 +17,6 @@ export declare class OnesEditorTocProvider extends TypedEmitter<TocEvents> imple
18
17
  onUpdateBlockData(containerId: string, blockIndex: number, delta: DocBlockDelta, local: boolean): void;
19
18
  static register(editor: OnesEditor): OnesEditorTocProvider;
20
19
  static get(editor: OnesEditor): OnesEditorTocProvider;
21
- updateToc: import("lodash").DebouncedFunc<() => void>;
20
+ private updateToc;
22
21
  private updateTocNow;
23
22
  }