@ones-editor/editor 0.0.3-beta.136 → 0.0.3-beta.138
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/locale/en-us.d.ts +0 -1
- package/@ones-editor/block-menu/src/locale/ja-jp.d.ts +0 -1
- package/@ones-editor/block-menu/src/locale/zh-cn.d.ts +0 -1
- package/@ones-editor/core/src/core/types.d.ts +1 -0
- package/@ones-editor/image-embed/src/image-data.d.ts +1 -1
- package/@ones-editor/image-embed/src/types.d.ts +1 -1
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui-base/src/auto-suggest/auto-suggest-menu.d.ts +2 -1
- package/dist/index.js +134 -134
- package/package.json +1 -1
|
@@ -372,6 +372,7 @@ export interface OnesEditorEvents {
|
|
|
372
372
|
'afterClearSelection': (editor: OnesEditor) => void;
|
|
373
373
|
'blur': (editor: OnesEditor) => void;
|
|
374
374
|
'focus': (editor: OnesEditor) => void;
|
|
375
|
+
'containerRemount': (editor: OnesEditor, containerId: string) => void;
|
|
375
376
|
}
|
|
376
377
|
export interface OnesEditorSettingsProvider {
|
|
377
378
|
getItem: (key: string) => string | null;
|
|
@@ -9,5 +9,5 @@ export declare function getImages(data: ImageEmbedData): ImageItemData[];
|
|
|
9
9
|
export declare function getWidthPercent(blockData: DocEmbedBlock): number | undefined;
|
|
10
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
|
-
export declare function calBlockHeight(editor: OnesEditor, imageData: DocEmbedBlock, parentContainerElement: ContainerElement, failedLoad?: boolean):
|
|
12
|
+
export declare function calBlockHeight(editor: OnesEditor, imageData: DocEmbedBlock, parentContainerElement: ContainerElement, failedLoad?: boolean): string;
|
|
13
13
|
export declare function getTotalFlex(images: ImageItemData[]): number;
|