roosterjs 8.44.0 → 8.44.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/dist/rooster-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +16 -4
- package/dist/rooster-amd.js +262 -120
- package/dist/rooster-amd.js.map +1 -1
- package/dist/rooster-min.js +1 -1
- package/dist/rooster-min.js.map +1 -1
- package/dist/rooster.d.ts +16 -4
- package/dist/rooster.js +262 -120
- package/dist/rooster.js.map +1 -1
- package/package.json +7 -7
- package/tsconfig.child.tsbuildinfo +1 -1
package/dist/rooster-amd.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for roosterjs (Version 8.44.
|
|
1
|
+
// Type definitions for roosterjs (Version 8.44.2)
|
|
2
2
|
// Generated by dts tool from roosterjs
|
|
3
3
|
// Project: https://github.com/Microsoft/roosterjs
|
|
4
4
|
|
|
@@ -197,13 +197,13 @@ export function addDelimiters(node: Element): Element[];
|
|
|
197
197
|
* Adds delimiter after the element provided.
|
|
198
198
|
* @param element element to use
|
|
199
199
|
*/
|
|
200
|
-
export function addDelimiterAfter(element: Element):
|
|
200
|
+
export function addDelimiterAfter(element: Element): HTMLElement;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Adds delimiter before the element provided.
|
|
204
204
|
* @param element element to use
|
|
205
205
|
*/
|
|
206
|
-
export function addDelimiterBefore(element: Element):
|
|
206
|
+
export function addDelimiterBefore(element: Element): HTMLElement;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* Retrieves Delimiter information from a provided element.
|
|
@@ -2724,7 +2724,7 @@ export function toggleListType(editor: IEditor, listType: ListType | CompatibleL
|
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Split selection into regions, and perform a block-wise formatting action for each region.
|
|
2726
2726
|
*/
|
|
2727
|
-
export function blockFormat(editor: IEditor, callback: (region: Region, start: NodePosition, end: NodePosition, chains: VListChain[]) => void, beforeRunCallback?: () => boolean, apiName?: string): void;
|
|
2727
|
+
export function blockFormat(editor: IEditor, callback: (region: Region, start: NodePosition | null, end: NodePosition | null, chains: VListChain[]) => void, beforeRunCallback?: () => boolean, apiName?: string): void;
|
|
2728
2728
|
|
|
2729
2729
|
/**
|
|
2730
2730
|
* Commit changes of all list changes when experiment features are allowed
|
|
@@ -10006,6 +10006,18 @@ export class ImageEdit implements EditorPlugin {
|
|
|
10006
10006
|
* @param selectImage True to select this image after quit editing mode
|
|
10007
10007
|
*/
|
|
10008
10008
|
setEditingImage(image: null, selectImage?: boolean): void;
|
|
10009
|
+
/**
|
|
10010
|
+
* Flip the image.
|
|
10011
|
+
* @param image The image to be flipped
|
|
10012
|
+
* @param direction
|
|
10013
|
+
*/
|
|
10014
|
+
flipImage(image: HTMLImageElement, direction: 'vertical' | 'horizontal'): void;
|
|
10015
|
+
/**
|
|
10016
|
+
* Rotate the image in radian angle.
|
|
10017
|
+
* @param image The image to be rotated
|
|
10018
|
+
* @param angleRad The angle in radian that the image must be rotated.
|
|
10019
|
+
*/
|
|
10020
|
+
rotateImage(image: HTMLImageElement, angleRad: number): void;
|
|
10009
10021
|
/**
|
|
10010
10022
|
* quit editing mode when editor lose focus
|
|
10011
10023
|
*/
|