roosterjs 8.16.0 → 8.17.0
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/README.md +9 -1
- package/dist/rooster-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +11 -5
- package/dist/rooster-amd.js +342 -255
- 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 +11 -5
- package/dist/rooster.js +342 -255
- package/dist/rooster.js.map +1 -1
- package/lib-amd/createEditor.d.ts +10 -0
- package/lib-amd/index.d.ts +7 -0
- package/package.json +6 -6
- package/test/createEditorTest.d.ts +1 -0
- package/tsconfig.child.tsbuildinfo +1 -1
package/dist/rooster.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for roosterjs (Version 8.
|
|
1
|
+
// Type definitions for roosterjs (Version 8.17.0)
|
|
2
2
|
// Generated by dts tool from roosterjs
|
|
3
3
|
// Project: https://github.com/Microsoft/roosterjs
|
|
4
4
|
|
|
@@ -730,7 +730,11 @@ const enum ExperimentalFeatures {
|
|
|
730
730
|
/**
|
|
731
731
|
* Paste the Html instead of the Img when the Html Body only have one IMG Child node
|
|
732
732
|
*/
|
|
733
|
-
ConvertSingleImageBody = "ConvertSingleImageBody"
|
|
733
|
+
ConvertSingleImageBody = "ConvertSingleImageBody",
|
|
734
|
+
/**
|
|
735
|
+
* Align table elements to left, center and right using setAlignment API
|
|
736
|
+
*/
|
|
737
|
+
TableAlignment = "TableAlignment"
|
|
734
738
|
}
|
|
735
739
|
|
|
736
740
|
/**
|
|
@@ -5131,7 +5135,7 @@ class VTable {
|
|
|
5131
5135
|
/**
|
|
5132
5136
|
* Current format of the table
|
|
5133
5137
|
*/
|
|
5134
|
-
formatInfo: TableFormat
|
|
5138
|
+
formatInfo: Required<TableFormat>;
|
|
5135
5139
|
private trs;
|
|
5136
5140
|
/**
|
|
5137
5141
|
* Create a new instance of VTable object using HTML TABLE or TD node
|
|
@@ -5142,15 +5146,17 @@ class VTable {
|
|
|
5142
5146
|
constructor(node: HTMLTableElement | HTMLTableCellElement, normalizeSize?: boolean, zoomScale?: number | SizeTransformer);
|
|
5143
5147
|
/**
|
|
5144
5148
|
* Write the virtual table back to DOM tree to represent the change of VTable
|
|
5149
|
+
* @param skipApplyFormat Do not reapply table format when write back.
|
|
5150
|
+
* Only use this parameter when you are pretty sure there is no format or table structure change during the process.
|
|
5145
5151
|
*/
|
|
5146
|
-
writeBack(): void;
|
|
5152
|
+
writeBack(skipApplyFormat?: boolean): void;
|
|
5147
5153
|
/**
|
|
5148
5154
|
* Apply the given table format to this virtual table
|
|
5149
5155
|
* @param format Table format to apply
|
|
5150
5156
|
*/
|
|
5151
5157
|
applyFormat(format: Partial<TableFormat>): void;
|
|
5152
5158
|
/**
|
|
5153
|
-
* Remove the
|
|
5159
|
+
* Remove the cellShade dataset to apply a new style format at the cell.
|
|
5154
5160
|
* @param cells
|
|
5155
5161
|
*/
|
|
5156
5162
|
private deleteCellShadeDataset;
|