@ones-editor/editor 0.0.3-beta.120 → 0.0.3-beta.121

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.
@@ -3,6 +3,7 @@ export default class OnesEditorImageDragHandler {
3
3
  private editor;
4
4
  img: HTMLImageElement;
5
5
  private dragContainer;
6
+ private autoScroll;
6
7
  private startPosition;
7
8
  constructor(editor: OnesEditor);
8
9
  destroy(): void;
@@ -7,7 +7,7 @@ export declare function isRemoteImage(data: ImageItemData): boolean;
7
7
  export declare function calcImagesFlexIfNeeded(images: ImageItemData[]): void;
8
8
  export declare function getImages(data: ImageEmbedData): ImageItemData[];
9
9
  export declare function getWidthPercent(blockData: DocEmbedBlock): number | undefined;
10
- export declare function calImageBlockStyleWidth(editor: OnesEditor, blockData: DocEmbedBlock, failedLoad?: boolean): string;
10
+ export declare function calImageBlockStyleWidth(editor: OnesEditor, blockData: DocEmbedBlock, parentContainerElement: ContainerElement, failedLoad?: boolean): string;
11
11
  export declare function toImageEmbedData(images: ImageItemData[], widthPercent?: number): ImageEmbedData;
12
12
  export declare function calBlockHeight(editor: OnesEditor, imageData: DocEmbedBlock, parentContainerElement: ContainerElement, failedLoad?: boolean): number | "";
13
13
  export declare function getTotalFlex(images: ImageItemData[]): number;