@ones-editor/editor 2.1.1-beta.76 → 2.1.1-beta.77

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,4 +1,4 @@
1
- import type { CSSStyles } from '../core/types';
1
+ import type { CSSStyles, OnesEditor } from '../core/types';
2
2
  export declare function addClass(dom: Element, ...className: Array<string>): void;
3
3
  export declare function hasClass(dom: Node | null, className: string): boolean;
4
4
  export declare function removeClass(dom: Element, ...className: Array<string>): void;
@@ -39,6 +39,6 @@ export declare function getElementFromPoint(x: number, y: number, options?: {
39
39
  }): Element;
40
40
  export declare function createMouseEventFromTouchEvent(event: TouchEvent, type: 'mousedown' | 'mousemove' | 'mouseup' | 'click'): MouseEvent;
41
41
  export declare function ensureIsMobileEvent(events: MouseEvent | TouchEvent): events is TouchEvent;
42
- export declare function bindDbClick(elem: HTMLElement, handler: (event: MouseEvent) => void): () => void;
42
+ export declare function bindDbClick(editor: OnesEditor, elem: HTMLElement, handler: (event: MouseEvent) => void): () => void;
43
43
  export declare const getVisualViewportHeightOffset: () => number;
44
44
  export {};