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