roosterjs 8.52.0 → 8.53.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/dist/rooster-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +26 -18
- package/dist/rooster-amd.js +212 -124
- 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 +26 -18
- package/dist/rooster.js +212 -124
- package/dist/rooster.js.map +1 -1
- package/package.json +7 -7
package/dist/rooster-amd.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for roosterjs (Version 8.
|
|
1
|
+
// Type definitions for roosterjs (Version 8.53.0)
|
|
2
2
|
// Generated by dts tool from roosterjs
|
|
3
3
|
// Project: https://github.com/Microsoft/roosterjs
|
|
4
4
|
|
|
@@ -3827,6 +3827,16 @@ export const enum ExperimentalFeatures {
|
|
|
3827
3827
|
* @deprecated
|
|
3828
3828
|
*/
|
|
3829
3829
|
DefaultFormatOnContainer = "DefaultFormatOnContainer",
|
|
3830
|
+
/**
|
|
3831
|
+
* @deprecated This feature is always enabled
|
|
3832
|
+
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
|
|
3833
|
+
*/
|
|
3834
|
+
ReusableContentModel = "ReusableContentModel",
|
|
3835
|
+
/**
|
|
3836
|
+
* @deprecated This feature is always enabled
|
|
3837
|
+
* Handle keyboard editing event with Content Model
|
|
3838
|
+
*/
|
|
3839
|
+
EditWithContentModel = "EditWithContentModel",
|
|
3830
3840
|
/**
|
|
3831
3841
|
* Provide additional Tab Key Features. Requires Text Features Content Editable Features
|
|
3832
3842
|
*/
|
|
@@ -3842,14 +3852,6 @@ export const enum ExperimentalFeatures {
|
|
|
3842
3852
|
* is the one closest to the item.
|
|
3843
3853
|
*/
|
|
3844
3854
|
ReuseAllAncestorListElements = "ReuseAllAncestorListElements",
|
|
3845
|
-
/**
|
|
3846
|
-
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
|
|
3847
|
-
*/
|
|
3848
|
-
ReusableContentModel = "ReusableContentModel",
|
|
3849
|
-
/**
|
|
3850
|
-
* Handle keyboard editing event with Content Model
|
|
3851
|
-
*/
|
|
3852
|
-
EditWithContentModel = "EditWithContentModel",
|
|
3853
3855
|
/**
|
|
3854
3856
|
* Delete table with Backspace key with the whole was selected with table selector
|
|
3855
3857
|
*/
|
|
@@ -8634,6 +8636,16 @@ export enum CompatibleExperimentalFeatures {
|
|
|
8634
8636
|
* @deprecated
|
|
8635
8637
|
*/
|
|
8636
8638
|
DefaultFormatOnContainer = "DefaultFormatOnContainer",
|
|
8639
|
+
/**
|
|
8640
|
+
* @deprecated This feature is always enabled
|
|
8641
|
+
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
|
|
8642
|
+
*/
|
|
8643
|
+
ReusableContentModel = "ReusableContentModel",
|
|
8644
|
+
/**
|
|
8645
|
+
* @deprecated This feature is always enabled
|
|
8646
|
+
* Handle keyboard editing event with Content Model
|
|
8647
|
+
*/
|
|
8648
|
+
EditWithContentModel = "EditWithContentModel",
|
|
8637
8649
|
/**
|
|
8638
8650
|
* Provide additional Tab Key Features. Requires Text Features Content Editable Features
|
|
8639
8651
|
*/
|
|
@@ -8649,14 +8661,6 @@ export enum CompatibleExperimentalFeatures {
|
|
|
8649
8661
|
* is the one closest to the item.
|
|
8650
8662
|
*/
|
|
8651
8663
|
ReuseAllAncestorListElements = "ReuseAllAncestorListElements",
|
|
8652
|
-
/**
|
|
8653
|
-
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
|
|
8654
|
-
*/
|
|
8655
|
-
ReusableContentModel = "ReusableContentModel",
|
|
8656
|
-
/**
|
|
8657
|
-
* Handle keyboard editing event with Content Model
|
|
8658
|
-
*/
|
|
8659
|
-
EditWithContentModel = "EditWithContentModel",
|
|
8660
8664
|
/**
|
|
8661
8665
|
* Delete table with Backspace key with the whole was selected with table selector
|
|
8662
8666
|
*/
|
|
@@ -10634,6 +10638,7 @@ export class PickerPlugin<T extends PickerDataProvider = PickerDataProvider> imp
|
|
|
10634
10638
|
*/
|
|
10635
10639
|
export class TableResize implements EditorPlugin {
|
|
10636
10640
|
private onShowHelperElement?;
|
|
10641
|
+
private anchorContainerSelector?;
|
|
10637
10642
|
private editor;
|
|
10638
10643
|
private onMouseMoveDisposer;
|
|
10639
10644
|
private tableRectMap;
|
|
@@ -10643,8 +10648,11 @@ export class TableResize implements EditorPlugin {
|
|
|
10643
10648
|
* @param onShowHelperElement An optional callback to allow customize helper element of table resizing.
|
|
10644
10649
|
* To customize the helper element, add this callback and change the attributes of elementData then it
|
|
10645
10650
|
* will be picked up by TableResize code
|
|
10651
|
+
* @param anchorContainerSelector An optional selector string to specify the container to host the plugin.
|
|
10652
|
+
* The container must not be affected by transform: scale(), otherwise the position calculation will be wrong.
|
|
10653
|
+
* If not specified, the plugin will be inserted in document.body
|
|
10646
10654
|
*/
|
|
10647
|
-
constructor(onShowHelperElement?: ((elementData: CreateElementData, helperType: 'CellResizer' | 'TableInserter' | 'TableResizer' | 'TableSelector') => void) | undefined);
|
|
10655
|
+
constructor(onShowHelperElement?: ((elementData: CreateElementData, helperType: 'CellResizer' | 'TableInserter' | 'TableResizer' | 'TableSelector') => void) | undefined, anchorContainerSelector?: string | undefined);
|
|
10648
10656
|
/**
|
|
10649
10657
|
* Get a friendly name of this plugin
|
|
10650
10658
|
*/
|