@ones-editor/editor 1.1.20-beta.12 → 1.1.20-beta.13
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 { OnesEditor, BlockElement,
|
|
1
|
+
import { OnesEditor, BlockElement, AutoScroll, OnesEditorCustom, ContainerElement } from '../../../@ones-editor/core';
|
|
2
2
|
export declare function createSeparatorContainer(editor: OnesEditor, childContainerId: string, index: number): HTMLDivElement;
|
|
3
3
|
export declare function createActionBar(editor: OnesEditor, containerID: string, _blockElement: BlockElement, columnRemovable?: boolean): HTMLDivElement;
|
|
4
4
|
export declare function elementToDataUrl(editor: OnesEditor, element: HTMLElement): Promise<string>;
|
|
@@ -16,6 +16,7 @@ export declare class OnesEditorCustomLayoutDragHandler implements OnesEditorCust
|
|
|
16
16
|
get draggingContainerIndex(): number | undefined;
|
|
17
17
|
constructor(editor: OnesEditor);
|
|
18
18
|
destroy(): void;
|
|
19
|
+
private changeDraggingStatus;
|
|
19
20
|
private handleMouseDown;
|
|
20
21
|
private previewShouldScale;
|
|
21
22
|
private initContainerPreview;
|
|
@@ -24,12 +25,3 @@ export declare class OnesEditorCustomLayoutDragHandler implements OnesEditorCust
|
|
|
24
25
|
private handleDragEnd;
|
|
25
26
|
private getClosetSeparator;
|
|
26
27
|
}
|
|
27
|
-
export declare class ColumnsBlockCommands implements BlockCommands {
|
|
28
|
-
protected editor: OnesEditor;
|
|
29
|
-
protected block: BlockElement;
|
|
30
|
-
group: string;
|
|
31
|
-
constructor(editor: OnesEditor, block: BlockElement);
|
|
32
|
-
_commands: CommandItem[];
|
|
33
|
-
get commands(): CommandItem[];
|
|
34
|
-
executeCommand(editor: OnesEditor, block: BlockElement, item: CommandItem): void;
|
|
35
|
-
}
|