@ones-editor/editor 2.2.11 → 2.2.12-beta.2
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.
- package/@ones-editor/block-menu/src/block-menu-button/drag-drop/drag-handler.d.ts +1 -1
- package/@ones-editor/comments/src/comments-helper/get-comment-abstract.d.ts +1 -2
- package/@ones-editor/core/src/core/selection/select-handler.d.ts +2 -4
- package/@ones-editor/core/src/core/types.d.ts +1 -3
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +57 -118
- package/package.json +1 -1
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function getCommentAbstract(editor: OnesEditor, blocks: BlockElement[]): string;
|
|
1
|
+
import { OnesEditor, SelectedBlock } from '../../../../@ones-editor/core';
|
|
3
2
|
export declare function getCommentAbstractFromSelectedBlocks(editor: OnesEditor, blocks: SelectedBlock[]): string;
|
|
@@ -5,13 +5,11 @@ export declare class EditorSelectionHandler implements OnesEditorSelectionHandle
|
|
|
5
5
|
startPos: BlockPosition | null;
|
|
6
6
|
lastCaretRect: DOMRect;
|
|
7
7
|
mouseDownEvent: TouchEvent | MouseEvent | null;
|
|
8
|
-
autoScroll: AutoScroll
|
|
8
|
+
autoScroll: AutoScroll;
|
|
9
9
|
constructor(editor: OnesEditor);
|
|
10
10
|
isSelecting(): boolean;
|
|
11
11
|
stopSelection(): void;
|
|
12
|
-
handleMouseDown: (event: MouseEvent | TouchEvent
|
|
13
|
-
autoScroll: boolean;
|
|
14
|
-
}) => void;
|
|
12
|
+
handleMouseDown: (event: MouseEvent | TouchEvent) => void;
|
|
15
13
|
handleMouseMove: (event: MouseEvent) => void;
|
|
16
14
|
handleMouseUp: (event: MouseEvent | TouchEvent) => void;
|
|
17
15
|
handleDblClick(event: MouseEvent): void;
|
|
@@ -664,9 +664,7 @@ export interface OnesEditorInput {
|
|
|
664
664
|
export interface OnesEditorSelectionHandler {
|
|
665
665
|
isSelecting: () => boolean;
|
|
666
666
|
stopSelection: () => void;
|
|
667
|
-
handleMouseDown: (event: MouseEvent | TouchEvent
|
|
668
|
-
autoScroll: boolean;
|
|
669
|
-
}) => void;
|
|
667
|
+
handleMouseDown: (event: MouseEvent | TouchEvent) => void;
|
|
670
668
|
handleMouseMove: (event: MouseEvent) => void;
|
|
671
669
|
handleMouseUp: (event: MouseEvent | TouchEvent) => void;
|
|
672
670
|
handleDblClick: (event: MouseEvent) => void;
|