roosterjs 8.11.1 → 8.11.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 +1 -1
- package/dist/rooster-amd.js +9 -4
- 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 +1 -1
- package/dist/rooster.js +9 -4
- package/dist/rooster.js.map +1 -1
- package/package.json +6 -6
- package/tsconfig.child.tsbuildinfo +1 -1
package/dist/rooster-amd.d.ts
CHANGED
package/dist/rooster-amd.js
CHANGED
|
@@ -6362,9 +6362,11 @@ var LifecyclePlugin = /** @class */ (function () {
|
|
|
6362
6362
|
this.initializer = function () {
|
|
6363
6363
|
contentDiv.contentEditable = 'true';
|
|
6364
6364
|
contentDiv.style.userSelect = 'text';
|
|
6365
|
+
contentDiv.style.webkitUserSelect = 'text';
|
|
6365
6366
|
};
|
|
6366
6367
|
this.disposer = function () {
|
|
6367
6368
|
contentDiv.style.userSelect = '';
|
|
6369
|
+
contentDiv.style.webkitUserSelect = '';
|
|
6368
6370
|
contentDiv.removeAttribute(CONTENT_EDITABLE_ATTRIBUTE_NAME);
|
|
6369
6371
|
};
|
|
6370
6372
|
}
|
|
@@ -13348,13 +13350,16 @@ var VTable = /** @class */ (function () {
|
|
|
13348
13350
|
}
|
|
13349
13351
|
break;
|
|
13350
13352
|
case 13 /* AlignCenter */:
|
|
13351
|
-
this.table.
|
|
13353
|
+
this.table.style.marginLeft = 'auto';
|
|
13354
|
+
this.table.style.marginRight = 'auto';
|
|
13352
13355
|
break;
|
|
13353
13356
|
case 14 /* AlignLeft */:
|
|
13354
|
-
this.table.
|
|
13357
|
+
this.table.style.marginLeft = '';
|
|
13358
|
+
this.table.style.marginRight = 'auto';
|
|
13355
13359
|
break;
|
|
13356
13360
|
case 15 /* AlignRight */:
|
|
13357
|
-
this.table.
|
|
13361
|
+
this.table.style.marginLeft = 'auto';
|
|
13362
|
+
this.table.style.marginRight = '';
|
|
13358
13363
|
break;
|
|
13359
13364
|
case 17 /* AlignCellCenter */:
|
|
13360
13365
|
style.textAlign = 'center';
|
|
@@ -21462,7 +21467,7 @@ var TableResize = /** @class */ (function () {
|
|
|
21462
21467
|
TableResize.prototype.initialize = function (editor) {
|
|
21463
21468
|
this.editor = editor;
|
|
21464
21469
|
this.setupResizerContainer();
|
|
21465
|
-
this.onMouseMoveDisposer = this.editor.addDomEventHandler(
|
|
21470
|
+
this.onMouseMoveDisposer = this.editor.addDomEventHandler({ mousemove: this.onMouseMove });
|
|
21466
21471
|
};
|
|
21467
21472
|
/**
|
|
21468
21473
|
* Dispose this plugin
|