@syncfusion/ej2-richtexteditor 20.1.52 → 20.1.57
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/CHANGELOG.md +23 -1
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +353 -91
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +353 -91
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/editor-manager/plugin/dom-node.js +7 -1
- package/src/rich-text-editor/actions/base-quick-toolbar.js +8 -3
- package/src/rich-text-editor/actions/base-toolbar.d.ts +1 -0
- package/src/rich-text-editor/actions/base-toolbar.js +14 -1
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -0
- package/src/rich-text-editor/actions/color-picker.js +22 -1
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -0
- package/src/rich-text-editor/actions/dropdown-buttons.js +25 -0
- package/src/rich-text-editor/actions/file-manager.d.ts +1 -0
- package/src/rich-text-editor/actions/file-manager.js +14 -1
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +6 -0
- package/src/rich-text-editor/actions/paste-clean-up.js +79 -47
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +2 -0
- package/src/rich-text-editor/actions/quick-toolbar.js +23 -2
- package/src/rich-text-editor/actions/toolbar.d.ts +1 -0
- package/src/rich-text-editor/actions/toolbar.js +15 -1
- package/src/rich-text-editor/base/constant.d.ts +5 -0
- package/src/rich-text-editor/base/constant.js +5 -0
- package/src/rich-text-editor/base/interface.d.ts +11 -0
- package/src/rich-text-editor/base/rich-text-editor.js +2 -0
- package/src/rich-text-editor/renderer/content-renderer.js +2 -1
- package/src/rich-text-editor/renderer/image-module.d.ts +5 -0
- package/src/rich-text-editor/renderer/image-module.js +57 -13
- package/src/rich-text-editor/renderer/link-module.d.ts +2 -0
- package/src/rich-text-editor/renderer/link-module.js +19 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +6 -0
- package/src/rich-text-editor/renderer/table-module.js +61 -19
- package/src/rich-text-editor/renderer/toolbar-renderer.js +2 -1
- package/styles/bootstrap-dark.css +135 -519
- package/styles/bootstrap.css +136 -525
- package/styles/bootstrap4.css +145 -572
- package/styles/bootstrap5-dark.css +135 -539
- package/styles/bootstrap5.css +135 -539
- package/styles/fabric-dark.css +134 -518
- package/styles/fabric.css +135 -519
- package/styles/fluent-dark.css +134 -521
- package/styles/fluent.css +134 -521
- package/styles/highcontrast-light.css +135 -519
- package/styles/highcontrast.css +135 -517
- package/styles/material-dark.css +134 -518
- package/styles/material.css +135 -519
- package/styles/rich-text-editor/bootstrap-dark.css +135 -519
- package/styles/rich-text-editor/bootstrap.css +136 -525
- package/styles/rich-text-editor/bootstrap4.css +145 -572
- package/styles/rich-text-editor/bootstrap5-dark.css +135 -539
- package/styles/rich-text-editor/bootstrap5.css +135 -539
- package/styles/rich-text-editor/fabric-dark.css +134 -518
- package/styles/rich-text-editor/fabric.css +135 -519
- package/styles/rich-text-editor/fluent-dark.css +134 -521
- package/styles/rich-text-editor/fluent.css +134 -521
- package/styles/rich-text-editor/highcontrast-light.css +135 -519
- package/styles/rich-text-editor/highcontrast.css +135 -517
- package/styles/rich-text-editor/material-dark.css +134 -518
- package/styles/rich-text-editor/material.css +135 -519
- package/styles/rich-text-editor/tailwind-dark.css +135 -524
- package/styles/rich-text-editor/tailwind.css +135 -524
- package/styles/tailwind-dark.css +135 -524
- package/styles/tailwind.css +135 -524
|
@@ -609,6 +609,11 @@ var showTableDialog = 'showTableDialog';
|
|
|
609
609
|
* @deprecated
|
|
610
610
|
*/
|
|
611
611
|
var closeTableDialog = 'closeTableDialog';
|
|
612
|
+
/**
|
|
613
|
+
* @hidden
|
|
614
|
+
* @deprecated
|
|
615
|
+
*/
|
|
616
|
+
var bindCssClass = 'closeTableDialog';
|
|
612
617
|
|
|
613
618
|
/**
|
|
614
619
|
* Rich Text Editor classes defined here.
|
|
@@ -2799,7 +2804,8 @@ var ToolbarRenderer = /** @__PURE__ @class */ (function () {
|
|
|
2799
2804
|
created: this.toolbarCreated.bind(this),
|
|
2800
2805
|
clicked: this.toolbarClicked.bind(this),
|
|
2801
2806
|
enablePersistence: args.enablePersistence,
|
|
2802
|
-
enableRtl: args.enableRtl
|
|
2807
|
+
enableRtl: args.enableRtl,
|
|
2808
|
+
cssClass: args.cssClass
|
|
2803
2809
|
});
|
|
2804
2810
|
args.rteToolbarObj.toolbarObj.isStringTemplate = true;
|
|
2805
2811
|
args.rteToolbarObj.toolbarObj.createElement = this.parent.createElement;
|
|
@@ -3259,12 +3265,24 @@ var BaseToolbar = /** @__PURE__ @class */ (function () {
|
|
|
3259
3265
|
}
|
|
3260
3266
|
BaseToolbar.prototype.addEventListener = function () {
|
|
3261
3267
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
3268
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
3262
3269
|
this.parent.on(destroy, this.removeEventListener, this);
|
|
3263
3270
|
};
|
|
3264
3271
|
BaseToolbar.prototype.removeEventListener = function () {
|
|
3265
3272
|
this.parent.off(rtlMode, this.setRtl);
|
|
3273
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
3266
3274
|
this.parent.off(destroy, this.removeEventListener);
|
|
3267
3275
|
};
|
|
3276
|
+
BaseToolbar.prototype.setCssClass = function (e) {
|
|
3277
|
+
if (!isNullOrUndefined(this.toolbarObj)) {
|
|
3278
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
3279
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass + ' ' + e.cssClass).trim() });
|
|
3280
|
+
}
|
|
3281
|
+
else {
|
|
3282
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
};
|
|
3268
3286
|
BaseToolbar.prototype.setRtl = function (args) {
|
|
3269
3287
|
if (!isNullOrUndefined(this.toolbarObj)) {
|
|
3270
3288
|
this.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
@@ -3394,7 +3412,8 @@ var BaseToolbar = /** @__PURE__ @class */ (function () {
|
|
|
3394
3412
|
items: this.getItems(args.items, args.container),
|
|
3395
3413
|
overflowMode: args.mode,
|
|
3396
3414
|
enablePersistence: this.parent.enablePersistence,
|
|
3397
|
-
enableRtl: this.parent.enableRtl
|
|
3415
|
+
enableRtl: this.parent.enableRtl,
|
|
3416
|
+
cssClass: args.cssClass,
|
|
3398
3417
|
};
|
|
3399
3418
|
};
|
|
3400
3419
|
/**
|
|
@@ -3593,6 +3612,9 @@ var DropDownButtons = /** @__PURE__ @class */ (function () {
|
|
|
3593
3612
|
}
|
|
3594
3613
|
}
|
|
3595
3614
|
});
|
|
3615
|
+
if (this.parent.inlineMode.enable) {
|
|
3616
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
3617
|
+
}
|
|
3596
3618
|
};
|
|
3597
3619
|
DropDownButtons.prototype.getUpdateItems = function (items, value) {
|
|
3598
3620
|
var dropDownItems = items.slice();
|
|
@@ -3880,6 +3902,26 @@ var DropDownButtons = /** @__PURE__ @class */ (function () {
|
|
|
3880
3902
|
this.bulletFormatListDropDown.setProperties({ enableRtl: args.enableRtl });
|
|
3881
3903
|
}
|
|
3882
3904
|
};
|
|
3905
|
+
DropDownButtons.prototype.updateCss = function (dropDownObj, e) {
|
|
3906
|
+
if (dropDownObj && e.cssClass) {
|
|
3907
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
3908
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass + ' ' + e.cssClass).trim() });
|
|
3909
|
+
}
|
|
3910
|
+
else {
|
|
3911
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
};
|
|
3915
|
+
DropDownButtons.prototype.setCssClass = function (e) {
|
|
3916
|
+
var dropDownObj = [
|
|
3917
|
+
this.formatDropDown, this.fontNameDropDown, this.fontSizeDropDown, this.alignDropDown, this.imageAlignDropDown,
|
|
3918
|
+
this.displayDropDown, this.numberFormatListDropDown, this.bulletFormatListDropDown, this.tableRowsDropDown,
|
|
3919
|
+
this.tableColumnsDropDown, this.tableCellVerticalAlignDropDown
|
|
3920
|
+
];
|
|
3921
|
+
for (var i = 0; i < dropDownObj.length; i++) {
|
|
3922
|
+
this.updateCss(dropDownObj[i], e);
|
|
3923
|
+
}
|
|
3924
|
+
};
|
|
3883
3925
|
DropDownButtons.prototype.addEventListener = function () {
|
|
3884
3926
|
if (this.parent.isDestroyed) {
|
|
3885
3927
|
return;
|
|
@@ -3889,6 +3931,7 @@ var DropDownButtons = /** @__PURE__ @class */ (function () {
|
|
|
3889
3931
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
3890
3932
|
this.parent.on(destroy, this.removeEventListener, this);
|
|
3891
3933
|
this.parent.on(modelChanged, this.onPropertyChanged, this);
|
|
3934
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
3892
3935
|
};
|
|
3893
3936
|
DropDownButtons.prototype.onIframeMouseDown = function () {
|
|
3894
3937
|
dispatchEvent(document, 'mousedown');
|
|
@@ -3902,6 +3945,7 @@ var DropDownButtons = /** @__PURE__ @class */ (function () {
|
|
|
3902
3945
|
this.parent.off(beforeDropDownItemRender, this.beforeRender);
|
|
3903
3946
|
this.parent.off(destroy, this.removeEventListener);
|
|
3904
3947
|
this.parent.off(modelChanged, this.onPropertyChanged);
|
|
3948
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
3905
3949
|
};
|
|
3906
3950
|
return DropDownButtons;
|
|
3907
3951
|
}());
|
|
@@ -4510,7 +4554,9 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4510
4554
|
* @deprecated
|
|
4511
4555
|
*/
|
|
4512
4556
|
Toolbar$$1.prototype.refreshToolbarOverflow = function () {
|
|
4513
|
-
this.
|
|
4557
|
+
if (!this.parent.inlineMode.enable) {
|
|
4558
|
+
this.baseToolbar.toolbarObj.refreshOverflow();
|
|
4559
|
+
}
|
|
4514
4560
|
};
|
|
4515
4561
|
Toolbar$$1.prototype.isToolbarDestroyed = function () {
|
|
4516
4562
|
return this.baseToolbar.toolbarObj && !this.baseToolbar.toolbarObj.isDestroyed;
|
|
@@ -4651,6 +4697,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4651
4697
|
this.parent.on(focusChange, this.focusChangeHandler, this);
|
|
4652
4698
|
this.parent.on(mouseDown, this.mouseDownHandler, this);
|
|
4653
4699
|
this.parent.on(sourceCodeMouseDown, this.mouseDownHandler, this);
|
|
4700
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
4654
4701
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4655
4702
|
this.parent.on(toolbarClick, this.toolbarClickHandler, this);
|
|
4656
4703
|
}
|
|
@@ -4674,10 +4721,21 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4674
4721
|
this.parent.off(focusChange, this.focusChangeHandler);
|
|
4675
4722
|
this.parent.off(mouseDown, this.mouseDownHandler);
|
|
4676
4723
|
this.parent.off(sourceCodeMouseDown, this.mouseDownHandler);
|
|
4724
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
4677
4725
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4678
4726
|
this.parent.off(toolbarClick, this.toolbarClickHandler);
|
|
4679
4727
|
}
|
|
4680
4728
|
};
|
|
4729
|
+
Toolbar$$1.prototype.setCssClass = function (e) {
|
|
4730
|
+
if (this.toolbarObj && e.cssClass) {
|
|
4731
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
4732
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass + ' ' + e.cssClass).trim() });
|
|
4733
|
+
}
|
|
4734
|
+
else {
|
|
4735
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
4736
|
+
}
|
|
4737
|
+
}
|
|
4738
|
+
};
|
|
4681
4739
|
Toolbar$$1.prototype.onRefresh = function () {
|
|
4682
4740
|
this.refreshToolbarOverflow();
|
|
4683
4741
|
this.parent.setContentHeight('', true);
|
|
@@ -5042,6 +5100,9 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5042
5100
|
}
|
|
5043
5101
|
}
|
|
5044
5102
|
});
|
|
5103
|
+
if (this.parent.inlineMode.enable) {
|
|
5104
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
5105
|
+
}
|
|
5045
5106
|
};
|
|
5046
5107
|
ColorPickerInput.prototype.destroy = function () {
|
|
5047
5108
|
this.removeEventListener();
|
|
@@ -5087,12 +5148,29 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5087
5148
|
this.backgroundColorDropDown.setProperties({ enableRtl: args.enableRtl });
|
|
5088
5149
|
}
|
|
5089
5150
|
};
|
|
5151
|
+
ColorPickerInput.prototype.setCssClass = function (e) {
|
|
5152
|
+
this.updateCss(this.fontColorPicker, this.fontColorDropDown, e);
|
|
5153
|
+
this.updateCss(this.backgroundColorPicker, this.backgroundColorDropDown, e);
|
|
5154
|
+
};
|
|
5155
|
+
ColorPickerInput.prototype.updateCss = function (colorPickerObj, dropDownObj, e) {
|
|
5156
|
+
if (colorPickerObj && e.cssClass) {
|
|
5157
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
5158
|
+
colorPickerObj.setProperties({ cssClass: (colorPickerObj.cssClass + ' ' + e.cssClass).trim() });
|
|
5159
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass + ' ' + e.cssClass).trim() });
|
|
5160
|
+
}
|
|
5161
|
+
else {
|
|
5162
|
+
colorPickerObj.setProperties({ cssClass: (colorPickerObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
5163
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
5164
|
+
}
|
|
5165
|
+
}
|
|
5166
|
+
};
|
|
5090
5167
|
ColorPickerInput.prototype.addEventListener = function () {
|
|
5091
5168
|
this.parent.on(toolbarRenderComplete, this.renderColorPickerInput, this);
|
|
5092
5169
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
5093
5170
|
this.parent.on(destroy, this.destroy, this);
|
|
5094
5171
|
this.parent.on(destroyColorPicker, this.destroyColorPicker, this);
|
|
5095
5172
|
this.parent.on(modelChanged, this.onPropertyChanged, this);
|
|
5173
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
5096
5174
|
};
|
|
5097
5175
|
ColorPickerInput.prototype.onPropertyChanged = function (model) {
|
|
5098
5176
|
var newProp = model.newProp;
|
|
@@ -5165,6 +5243,7 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5165
5243
|
this.parent.off(rtlMode, this.setRtl);
|
|
5166
5244
|
this.parent.off(destroyColorPicker, this.destroyColorPicker);
|
|
5167
5245
|
this.parent.off(modelChanged, this.onPropertyChanged);
|
|
5246
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
5168
5247
|
};
|
|
5169
5248
|
return ColorPickerInput;
|
|
5170
5249
|
}());
|
|
@@ -5211,17 +5290,18 @@ var BaseQuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5211
5290
|
this.element = this.parent.createElement('div', { id: popupId, className: className + ' ' + CLS_RTE_ELEMENTS });
|
|
5212
5291
|
this.element.setAttribute('aria-owns', this.parent.getID());
|
|
5213
5292
|
this.appendPopupContent();
|
|
5214
|
-
this.createToolbar(args.toolbarItems, args.mode);
|
|
5293
|
+
this.createToolbar(args.toolbarItems, args.mode, args.cssClass);
|
|
5215
5294
|
this.popupRenderer.renderPopup(this);
|
|
5216
5295
|
this.addEventListener();
|
|
5217
5296
|
};
|
|
5218
|
-
BaseQuickToolbar.prototype.createToolbar = function (items, mode) {
|
|
5297
|
+
BaseQuickToolbar.prototype.createToolbar = function (items, mode, cssClass) {
|
|
5219
5298
|
this.quickTBarObj = new BaseToolbar(this.parent, this.locator);
|
|
5220
5299
|
this.quickTBarObj.render({
|
|
5221
5300
|
container: 'quick',
|
|
5222
5301
|
target: this.toolbarElement,
|
|
5223
5302
|
items: items,
|
|
5224
|
-
mode: mode
|
|
5303
|
+
mode: mode,
|
|
5304
|
+
cssClass: cssClass
|
|
5225
5305
|
});
|
|
5226
5306
|
this.quickTBarObj.toolbarObj.refresh();
|
|
5227
5307
|
};
|
|
@@ -5413,6 +5493,10 @@ var BaseQuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5413
5493
|
_this.popupObj.element.classList.remove('e-popup-open');
|
|
5414
5494
|
removeClass([_this.element], [CLS_HIDE]);
|
|
5415
5495
|
_this.popupObj.show({ name: 'ZoomIn', duration: (Browser.isIE ? 250 : 400) });
|
|
5496
|
+
if (_this.popupObj && _this.parent.cssClass) {
|
|
5497
|
+
removeClass([_this.popupObj.element], _this.parent.cssClass);
|
|
5498
|
+
addClass([_this.popupObj.element], _this.parent.cssClass);
|
|
5499
|
+
}
|
|
5416
5500
|
setStyleAttribute(_this.element, {
|
|
5417
5501
|
maxWidth: window.outerWidth + 'px'
|
|
5418
5502
|
});
|
|
@@ -5674,7 +5758,8 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5674
5758
|
popupType: popType,
|
|
5675
5759
|
toolbarItems: items,
|
|
5676
5760
|
mode: mode,
|
|
5677
|
-
renderType: type
|
|
5761
|
+
renderType: type,
|
|
5762
|
+
cssClass: this.parent.cssClass
|
|
5678
5763
|
};
|
|
5679
5764
|
};
|
|
5680
5765
|
/**
|
|
@@ -5985,6 +6070,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5985
6070
|
this.parent.on(destroy, this.destroy, this);
|
|
5986
6071
|
this.parent.on(keyDown, this.onKeyDown, this);
|
|
5987
6072
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
6073
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
5988
6074
|
};
|
|
5989
6075
|
QuickToolbar.prototype.onKeyDown = function (e) {
|
|
5990
6076
|
var args = e.args;
|
|
@@ -5998,6 +6084,24 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5998
6084
|
this.hideQuickToolbars();
|
|
5999
6085
|
this.hideInlineQTBar();
|
|
6000
6086
|
};
|
|
6087
|
+
QuickToolbar.prototype.updateCss = function (baseQTObj, e) {
|
|
6088
|
+
if (baseQTObj && e.cssClass) {
|
|
6089
|
+
if (isNullOrUndefined(e.oldCssClass && baseQTObj.quickTBarObj.toolbarObj.cssClass !== e.cssClass)) {
|
|
6090
|
+
baseQTObj.quickTBarObj.toolbarObj.setProperties({ cssClass: (baseQTObj.quickTBarObj.toolbarObj.cssClass + ' ' + e.cssClass).trim() });
|
|
6091
|
+
}
|
|
6092
|
+
else {
|
|
6093
|
+
baseQTObj.quickTBarObj.toolbarObj.setProperties({ cssClass: (baseQTObj.quickTBarObj.toolbarObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
6094
|
+
}
|
|
6095
|
+
}
|
|
6096
|
+
};
|
|
6097
|
+
QuickToolbar.prototype.setCssClass = function (e) {
|
|
6098
|
+
var baseQuickToolbarObj = [
|
|
6099
|
+
this.inlineQTBar, this.imageQTBar, this.linkQTBar, this.textQTBar, this.tableQTBar
|
|
6100
|
+
];
|
|
6101
|
+
for (var i = 0; i < baseQuickToolbarObj.length; i++) {
|
|
6102
|
+
this.updateCss(baseQuickToolbarObj[i], e);
|
|
6103
|
+
}
|
|
6104
|
+
};
|
|
6001
6105
|
QuickToolbar.prototype.setRtl = function (args) {
|
|
6002
6106
|
if (this.inlineQTBar) {
|
|
6003
6107
|
this.inlineQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
@@ -6006,7 +6110,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6006
6110
|
this.imageQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
6007
6111
|
}
|
|
6008
6112
|
if (this.linkQTBar) {
|
|
6009
|
-
this.
|
|
6113
|
+
this.linkQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
6010
6114
|
}
|
|
6011
6115
|
};
|
|
6012
6116
|
/**
|
|
@@ -6035,6 +6139,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6035
6139
|
this.parent.off(iframeMouseDown, this.onIframeMouseDown);
|
|
6036
6140
|
this.parent.off(keyDown, this.onKeyDown);
|
|
6037
6141
|
this.parent.off(rtlMode, this.setRtl);
|
|
6142
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
6038
6143
|
};
|
|
6039
6144
|
/**
|
|
6040
6145
|
* Called internally if any of the property value changed.
|
|
@@ -10303,7 +10408,13 @@ var DOMNode = /** @__PURE__ @class */ (function () {
|
|
|
10303
10408
|
markerStart.appendChild(start);
|
|
10304
10409
|
}
|
|
10305
10410
|
else {
|
|
10306
|
-
|
|
10411
|
+
if (start.nodeType != 3 && start.nodeName != '#text') {
|
|
10412
|
+
var marker = this.marker(markerClassName.startSelection, '');
|
|
10413
|
+
append([this.parseHTMLFragment(marker)], start);
|
|
10414
|
+
}
|
|
10415
|
+
else {
|
|
10416
|
+
this.replaceWith(start, this.marker(markerClassName.startSelection, this.encode(start.textContent)));
|
|
10417
|
+
}
|
|
10307
10418
|
}
|
|
10308
10419
|
if (end.nodeType !== Node.TEXT_NODE && end.tagName === 'BR' &&
|
|
10309
10420
|
IGNORE_BLOCK_TAGS.indexOf(end.parentNode.tagName.toLocaleLowerCase()) >= 0) {
|
|
@@ -16984,7 +17095,8 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
16984
17095
|
* @returns {string} - specifies the string element.
|
|
16985
17096
|
*/
|
|
16986
17097
|
ContentRender.prototype.getText = function () {
|
|
16987
|
-
|
|
17098
|
+
var textString = this.getEditPanel().innerText;
|
|
17099
|
+
return textString === '\n' ? '' : textString;
|
|
16988
17100
|
};
|
|
16989
17101
|
/**
|
|
16990
17102
|
* Set the content div element of RichTextEditor
|
|
@@ -18008,6 +18120,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18008
18120
|
return;
|
|
18009
18121
|
}
|
|
18010
18122
|
this.parent.on(pasteClean, this.pasteClean, this);
|
|
18123
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
18011
18124
|
this.parent.on(destroy, this.destroy, this);
|
|
18012
18125
|
};
|
|
18013
18126
|
PasteCleanup.prototype.destroy = function () {
|
|
@@ -18018,6 +18131,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18018
18131
|
return;
|
|
18019
18132
|
}
|
|
18020
18133
|
this.parent.off(pasteClean, this.pasteClean);
|
|
18134
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
18021
18135
|
this.parent.off(destroy, this.destroy);
|
|
18022
18136
|
};
|
|
18023
18137
|
PasteCleanup.prototype.pasteClean = function (e) {
|
|
@@ -18197,7 +18311,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18197
18311
|
id: this.parent.element.id + '_upload', attrs: { type: 'File', name: 'UploadFiles' }
|
|
18198
18312
|
});
|
|
18199
18313
|
var offsetY = this.parent.iframeSettings.enable ? -50 : -90;
|
|
18200
|
-
|
|
18314
|
+
this.popupObj = new Popup(popupEle, {
|
|
18201
18315
|
relateTo: imgElem,
|
|
18202
18316
|
height: '85px',
|
|
18203
18317
|
width: '300px',
|
|
@@ -18210,19 +18324,22 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18210
18324
|
// eslint-disable-next-line
|
|
18211
18325
|
close: function (event) {
|
|
18212
18326
|
_this.parent.isBlur = false;
|
|
18213
|
-
popupObj.destroy();
|
|
18214
|
-
detach(popupObj.element);
|
|
18327
|
+
_this.popupObj.destroy();
|
|
18328
|
+
detach(_this.popupObj.element);
|
|
18215
18329
|
}
|
|
18216
18330
|
});
|
|
18217
|
-
popupObj.element.style.display = 'none';
|
|
18218
|
-
addClass([popupObj.element], [CLS_POPUP_OPEN, CLS_RTE_UPLOAD_POPUP]);
|
|
18331
|
+
this.popupObj.element.style.display = 'none';
|
|
18332
|
+
addClass([this.popupObj.element], [CLS_POPUP_OPEN, CLS_RTE_UPLOAD_POPUP]);
|
|
18333
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
18334
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
18335
|
+
}
|
|
18219
18336
|
var timeOut = fileList.size > 1000000 ? 300 : 100;
|
|
18220
18337
|
setTimeout(function () {
|
|
18221
|
-
_this.refreshPopup(imgElem, popupObj);
|
|
18338
|
+
_this.refreshPopup(imgElem, _this.popupObj);
|
|
18222
18339
|
}, timeOut);
|
|
18223
18340
|
var rawFile;
|
|
18224
18341
|
var beforeUploadArgs;
|
|
18225
|
-
|
|
18342
|
+
this.uploadObj = new Uploader({
|
|
18226
18343
|
asyncSettings: {
|
|
18227
18344
|
saveUrl: this.parent.insertImageSettings.saveUrl,
|
|
18228
18345
|
removeUrl: this.parent.insertImageSettings.removeUrl
|
|
@@ -18232,7 +18349,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18232
18349
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
18233
18350
|
success: function (e) {
|
|
18234
18351
|
setTimeout(function () {
|
|
18235
|
-
_this.popupClose(popupObj, uploadObj, imgElem, e);
|
|
18352
|
+
_this.popupClose(_this.popupObj, _this.uploadObj, imgElem, e);
|
|
18236
18353
|
}, 900);
|
|
18237
18354
|
},
|
|
18238
18355
|
uploading: function (e) {
|
|
@@ -18242,8 +18359,8 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18242
18359
|
if (!isNullOrUndefined(imgElem)) {
|
|
18243
18360
|
detach(imgElem);
|
|
18244
18361
|
}
|
|
18245
|
-
if (!isNullOrUndefined(popupObj.element)) {
|
|
18246
|
-
detach(popupObj.element);
|
|
18362
|
+
if (!isNullOrUndefined(_this.popupObj.element)) {
|
|
18363
|
+
detach(_this.popupObj.element);
|
|
18247
18364
|
}
|
|
18248
18365
|
}
|
|
18249
18366
|
else {
|
|
@@ -18263,11 +18380,11 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18263
18380
|
}
|
|
18264
18381
|
_this.toolbarEnableDisable(true);
|
|
18265
18382
|
/* eslint-disable */
|
|
18266
|
-
uploadObj.currentRequestHeader = beforeUploadArgs.currentRequest ?
|
|
18267
|
-
beforeUploadArgs.currentRequest : uploadObj.currentRequestHeader;
|
|
18268
|
-
uploadObj.customFormDatas = beforeUploadArgs.customFormData && beforeUploadArgs.customFormData.length > 0 ?
|
|
18269
|
-
beforeUploadArgs.customFormData : uploadObj.customFormDatas;
|
|
18270
|
-
uploadObj.uploadFiles(rawFile, null);
|
|
18383
|
+
_this.uploadObj.currentRequestHeader = beforeUploadArgs.currentRequest ?
|
|
18384
|
+
beforeUploadArgs.currentRequest : _this.uploadObj.currentRequestHeader;
|
|
18385
|
+
_this.uploadObj.customFormDatas = beforeUploadArgs.customFormData && beforeUploadArgs.customFormData.length > 0 ?
|
|
18386
|
+
beforeUploadArgs.customFormData : _this.uploadObj.customFormDatas;
|
|
18387
|
+
_this.uploadObj.uploadFiles(rawFile, null);
|
|
18271
18388
|
/* eslint-enable */
|
|
18272
18389
|
});
|
|
18273
18390
|
}
|
|
@@ -18279,7 +18396,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18279
18396
|
// eslint-disable-next-line
|
|
18280
18397
|
failure: function (e) {
|
|
18281
18398
|
setTimeout(function () {
|
|
18282
|
-
_this.uploadFailure(imgElem, uploadObj, popupObj, e);
|
|
18399
|
+
_this.uploadFailure(imgElem, _this.uploadObj, _this.popupObj, e);
|
|
18283
18400
|
}, 900);
|
|
18284
18401
|
},
|
|
18285
18402
|
canceling: function () {
|
|
@@ -18288,7 +18405,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18288
18405
|
detach(imgElem.nextSibling);
|
|
18289
18406
|
}
|
|
18290
18407
|
detach(imgElem);
|
|
18291
|
-
popupObj.close();
|
|
18408
|
+
_this.popupObj.close();
|
|
18292
18409
|
},
|
|
18293
18410
|
selected: function (e) {
|
|
18294
18411
|
e.cancel = true;
|
|
@@ -18302,10 +18419,10 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18302
18419
|
detach(imgElem.nextSibling);
|
|
18303
18420
|
}
|
|
18304
18421
|
detach(imgElem);
|
|
18305
|
-
popupObj.close();
|
|
18422
|
+
_this.popupObj.close();
|
|
18306
18423
|
}
|
|
18307
18424
|
});
|
|
18308
|
-
uploadObj.appendTo(popupObj.element.childNodes[0]);
|
|
18425
|
+
this.uploadObj.appendTo(this.popupObj.element.childNodes[0]);
|
|
18309
18426
|
/* eslint-disable */
|
|
18310
18427
|
var fileData = [{
|
|
18311
18428
|
name: fileList.name,
|
|
@@ -18315,13 +18432,13 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18315
18432
|
validationMessages: { minSize: "", maxSize: "" },
|
|
18316
18433
|
statusCode: '1'
|
|
18317
18434
|
}];
|
|
18318
|
-
uploadObj.createFileList(fileData);
|
|
18319
|
-
uploadObj.filesData.push(fileData[0]);
|
|
18435
|
+
this.uploadObj.createFileList(fileData);
|
|
18436
|
+
this.uploadObj.filesData.push(fileData[0]);
|
|
18320
18437
|
/* eslint-enable */
|
|
18321
18438
|
rawFile = fileData;
|
|
18322
|
-
uploadObj.upload(fileData);
|
|
18323
|
-
popupObj.element.getElementsByClassName('e-file-select-wrap')[0].style.display = 'none';
|
|
18324
|
-
detach(popupObj.element.querySelector('.e-rte-dialog-upload .e-file-select-wrap'));
|
|
18439
|
+
this.uploadObj.upload(fileData);
|
|
18440
|
+
this.popupObj.element.getElementsByClassName('e-file-select-wrap')[0].style.display = 'none';
|
|
18441
|
+
detach(this.popupObj.element.querySelector('.e-rte-dialog-upload .e-file-select-wrap'));
|
|
18325
18442
|
};
|
|
18326
18443
|
PasteCleanup.prototype.uploadFailure = function (imgElem, uploadObj, popupObj, e) {
|
|
18327
18444
|
this.parent.inputElement.contentEditable = 'true';
|
|
@@ -18414,19 +18531,19 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18414
18531
|
}
|
|
18415
18532
|
};
|
|
18416
18533
|
PasteCleanup.prototype.radioRender = function () {
|
|
18417
|
-
|
|
18534
|
+
this.keepRadioButton = new RadioButton({ label: this.i10n.getConstant('keepFormat'),
|
|
18418
18535
|
name: 'pasteOption', checked: true });
|
|
18419
|
-
keepRadioButton.isStringTemplate = true;
|
|
18536
|
+
this.keepRadioButton.isStringTemplate = true;
|
|
18420
18537
|
var keepFormatElement = this.parent.element.querySelector('#keepFormating');
|
|
18421
|
-
keepRadioButton.appendTo(keepFormatElement);
|
|
18422
|
-
|
|
18423
|
-
cleanRadioButton.isStringTemplate = true;
|
|
18538
|
+
this.keepRadioButton.appendTo(keepFormatElement);
|
|
18539
|
+
this.cleanRadioButton = new RadioButton({ label: this.i10n.getConstant('cleanFormat'), name: 'pasteOption' });
|
|
18540
|
+
this.cleanRadioButton.isStringTemplate = true;
|
|
18424
18541
|
var cleanFormatElement = this.parent.element.querySelector('#cleanFormat');
|
|
18425
|
-
cleanRadioButton.appendTo(cleanFormatElement);
|
|
18426
|
-
|
|
18427
|
-
plainTextRadioButton.isStringTemplate = true;
|
|
18542
|
+
this.cleanRadioButton.appendTo(cleanFormatElement);
|
|
18543
|
+
this.plainTextRadioButton = new RadioButton({ label: this.i10n.getConstant('plainText'), name: 'pasteOption' });
|
|
18544
|
+
this.plainTextRadioButton.isStringTemplate = true;
|
|
18428
18545
|
var plainTextElement = this.parent.element.querySelector('#plainTextFormat');
|
|
18429
|
-
plainTextRadioButton.appendTo(plainTextElement);
|
|
18546
|
+
this.plainTextRadioButton.appendTo(plainTextElement);
|
|
18430
18547
|
};
|
|
18431
18548
|
PasteCleanup.prototype.selectFormatting = function (value, args, keepChecked, cleanChecked) {
|
|
18432
18549
|
if (keepChecked) {
|
|
@@ -18447,15 +18564,15 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18447
18564
|
buttons: [
|
|
18448
18565
|
{
|
|
18449
18566
|
click: function () {
|
|
18450
|
-
if (!
|
|
18567
|
+
if (!_this.dialogObj.isDestroyed) {
|
|
18451
18568
|
var keepChecked = _this.parent.element.querySelector('#keepFormating').checked;
|
|
18452
18569
|
var cleanChecked = _this.parent.element.querySelector('#cleanFormat').checked;
|
|
18453
|
-
|
|
18570
|
+
_this.dialogObj.hide();
|
|
18454
18571
|
_this.parent.height = isHeight ? preRTEHeight : _this.parent.height;
|
|
18455
18572
|
isHeight = false;
|
|
18456
|
-
var argument =
|
|
18573
|
+
var argument = _this.dialogObj;
|
|
18457
18574
|
_this.dialogRenderObj.close(argument);
|
|
18458
|
-
|
|
18575
|
+
_this.dialogObj.destroy();
|
|
18459
18576
|
_this.selectFormatting(value, args, keepChecked, cleanChecked);
|
|
18460
18577
|
}
|
|
18461
18578
|
},
|
|
@@ -18467,13 +18584,13 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18467
18584
|
},
|
|
18468
18585
|
{
|
|
18469
18586
|
click: function () {
|
|
18470
|
-
if (!
|
|
18471
|
-
|
|
18587
|
+
if (!_this.dialogObj.isDestroyed) {
|
|
18588
|
+
_this.dialogObj.hide();
|
|
18472
18589
|
_this.parent.height = isHeight ? preRTEHeight : _this.parent.height;
|
|
18473
18590
|
isHeight = false;
|
|
18474
|
-
var args_1 =
|
|
18591
|
+
var args_1 = _this.dialogObj;
|
|
18475
18592
|
_this.dialogRenderObj.close(args_1);
|
|
18476
|
-
|
|
18593
|
+
_this.dialogObj.destroy();
|
|
18477
18594
|
}
|
|
18478
18595
|
},
|
|
18479
18596
|
buttonModel: {
|
|
@@ -18496,7 +18613,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18496
18613
|
isModal: true,
|
|
18497
18614
|
visible: false
|
|
18498
18615
|
};
|
|
18499
|
-
|
|
18616
|
+
this.dialogObj = this.dialogRenderObj.render(dialogModel);
|
|
18500
18617
|
var rteDialogWrapper = this.parent.element.querySelector('#' + this.parent.getID()
|
|
18501
18618
|
+ '_pasteCleanupDialog');
|
|
18502
18619
|
if (rteDialogWrapper !== null && rteDialogWrapper.innerHTML !== '') {
|
|
@@ -18508,15 +18625,42 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18508
18625
|
});
|
|
18509
18626
|
this.parent.element.appendChild(rteDialogWrapper);
|
|
18510
18627
|
}
|
|
18511
|
-
|
|
18628
|
+
this.dialogObj.appendTo(rteDialogWrapper);
|
|
18512
18629
|
this.radioRender();
|
|
18513
18630
|
/* eslint-disable */
|
|
18514
|
-
if (this.parent.element.offsetHeight < parseInt(
|
|
18515
|
-
this.parent.height = parseInt(
|
|
18631
|
+
if (this.parent.element.offsetHeight < parseInt(this.dialogObj.height.split('px')[0], null)) {
|
|
18632
|
+
this.parent.height = parseInt(this.dialogObj.height.split('px')[0], null) + 40;
|
|
18516
18633
|
/* eslint-enable */
|
|
18517
18634
|
isHeight = true;
|
|
18518
18635
|
}
|
|
18519
|
-
|
|
18636
|
+
this.dialogObj.show();
|
|
18637
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
18638
|
+
};
|
|
18639
|
+
PasteCleanup.prototype.updateCss = function (currentObj, e) {
|
|
18640
|
+
if (currentObj && e.cssClass) {
|
|
18641
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
18642
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
18643
|
+
}
|
|
18644
|
+
else {
|
|
18645
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
18646
|
+
}
|
|
18647
|
+
}
|
|
18648
|
+
};
|
|
18649
|
+
PasteCleanup.prototype.setCssClass = function (e) {
|
|
18650
|
+
if (this.popupObj && e.cssClass) {
|
|
18651
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
18652
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
18653
|
+
}
|
|
18654
|
+
else {
|
|
18655
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
18656
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
18657
|
+
}
|
|
18658
|
+
}
|
|
18659
|
+
this.updateCss(this.dialogObj, e);
|
|
18660
|
+
this.updateCss(this.uploadObj, e);
|
|
18661
|
+
this.updateCss(this.plainTextRadioButton, e);
|
|
18662
|
+
this.updateCss(this.cleanRadioButton, e);
|
|
18663
|
+
this.updateCss(this.keepRadioButton, e);
|
|
18520
18664
|
};
|
|
18521
18665
|
PasteCleanup.prototype.destroyDialog = function (rteDialogWrapper) {
|
|
18522
18666
|
var rteDialogContainer = this.parent.element.querySelector('.e-dlg-container');
|
|
@@ -19062,6 +19206,17 @@ var FileManager$1 = /** @__PURE__ @class */ (function () {
|
|
|
19062
19206
|
this.dialogObj.createElement = this.parent.createElement;
|
|
19063
19207
|
this.dialogObj.appendTo(dlgTarget);
|
|
19064
19208
|
this.dialogObj.show(Browser.isDevice ? true : false);
|
|
19209
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
19210
|
+
};
|
|
19211
|
+
FileManager$$1.prototype.setCssClass = function (e) {
|
|
19212
|
+
if (this.dialogObj && e.cssClass) {
|
|
19213
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
19214
|
+
this.dialogObj.setProperties({ cssClass: (this.dialogObj.cssClass + ' ' + e.cssClass).trim() });
|
|
19215
|
+
}
|
|
19216
|
+
else {
|
|
19217
|
+
this.dialogObj.setProperties({ cssClass: (this.dialogObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
19218
|
+
}
|
|
19219
|
+
}
|
|
19065
19220
|
};
|
|
19066
19221
|
FileManager$$1.prototype.renderFileManager = function () {
|
|
19067
19222
|
var _this = this;
|
|
@@ -19186,12 +19341,14 @@ var FileManager$1 = /** @__PURE__ @class */ (function () {
|
|
|
19186
19341
|
FileManager$$1.prototype.addEventListener = function () {
|
|
19187
19342
|
this.parent.on(initialEnd, this.initialize, this);
|
|
19188
19343
|
this.parent.on(renderFileManager, this.render, this);
|
|
19344
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
19189
19345
|
this.parent.on(destroy, this.destroy, this);
|
|
19190
19346
|
};
|
|
19191
19347
|
FileManager$$1.prototype.removeEventListener = function () {
|
|
19192
19348
|
EventHandler.remove(this.parent.element.ownerDocument, 'mousedown', this.onDocumentClick);
|
|
19193
19349
|
this.parent.off(initialEnd, this.initialize);
|
|
19194
19350
|
this.parent.off(renderFileManager, this.render);
|
|
19351
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
19195
19352
|
this.parent.off(destroy, this.destroy);
|
|
19196
19353
|
};
|
|
19197
19354
|
FileManager$$1.prototype.destroyComponents = function () {
|
|
@@ -19571,6 +19728,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19571
19728
|
this.parent.on(editLink, this.editLink, this);
|
|
19572
19729
|
this.parent.on(openLink, this.openLink, this);
|
|
19573
19730
|
this.parent.on(editAreaClick, this.editAreaClickHandler, this);
|
|
19731
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
19574
19732
|
this.parent.on(destroy, this.destroy, this);
|
|
19575
19733
|
};
|
|
19576
19734
|
Link.prototype.onToolbarAction = function (args) {
|
|
@@ -19603,6 +19761,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19603
19761
|
this.parent.off(editLink, this.editLink);
|
|
19604
19762
|
this.parent.off(openLink, this.openLink);
|
|
19605
19763
|
this.parent.off(editAreaClick, this.editAreaClickHandler);
|
|
19764
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
19606
19765
|
this.parent.off(destroy, this.destroy);
|
|
19607
19766
|
};
|
|
19608
19767
|
Link.prototype.onIframeMouseDown = function () {
|
|
@@ -19610,6 +19769,20 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19610
19769
|
this.dialogObj.hide({ returnValue: true });
|
|
19611
19770
|
}
|
|
19612
19771
|
};
|
|
19772
|
+
Link.prototype.updateCss = function (currentObj, e) {
|
|
19773
|
+
if (currentObj && e.cssClass) {
|
|
19774
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
19775
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
19776
|
+
}
|
|
19777
|
+
else {
|
|
19778
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
19779
|
+
}
|
|
19780
|
+
}
|
|
19781
|
+
};
|
|
19782
|
+
Link.prototype.setCssClass = function (e) {
|
|
19783
|
+
this.updateCss(this.checkBoxObj, e);
|
|
19784
|
+
this.updateCss(this.dialogObj, e);
|
|
19785
|
+
};
|
|
19613
19786
|
Link.prototype.showLinkQuickToolbar = function (e) {
|
|
19614
19787
|
if (!isNullOrUndefined(e.args) && e.args.action !== 'enter' &&
|
|
19615
19788
|
e.args.action !== 'space') {
|
|
@@ -19738,6 +19911,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19738
19911
|
};
|
|
19739
19912
|
Link.prototype.showDialog = function () {
|
|
19740
19913
|
this.openDialog(false);
|
|
19914
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
19741
19915
|
};
|
|
19742
19916
|
Link.prototype.closeDialog = function () {
|
|
19743
19917
|
if (this.dialogObj) {
|
|
@@ -19793,7 +19967,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19793
19967
|
var linkText = linkContent.querySelector('.e-rte-linkText');
|
|
19794
19968
|
var linkTitle = linkContent.querySelector('.e-rte-linkTitle');
|
|
19795
19969
|
var linkOpenLabel = this.i10n.getConstant('linkOpenInNewWindow');
|
|
19796
|
-
this.checkBoxObj = new CheckBox({ label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl });
|
|
19970
|
+
this.checkBoxObj = new CheckBox({ label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass });
|
|
19797
19971
|
this.checkBoxObj.isStringTemplate = true;
|
|
19798
19972
|
this.checkBoxObj.createElement = this.parent.createElement;
|
|
19799
19973
|
this.checkBoxObj.appendTo(linkTarget);
|
|
@@ -19806,7 +19980,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19806
19980
|
var dialogModel = {
|
|
19807
19981
|
header: this.i10n.getConstant('linkHeader'),
|
|
19808
19982
|
content: linkContent,
|
|
19809
|
-
cssClass: CLS_RTE_ELEMENTS,
|
|
19983
|
+
cssClass: CLS_RTE_ELEMENTS + ' ' + this.parent.cssClass,
|
|
19810
19984
|
enableRtl: this.parent.enableRtl,
|
|
19811
19985
|
locale: this.parent.locale,
|
|
19812
19986
|
showCloseIcon: true, closeOnEscape: true, width: (Browser.isDevice) ? '290px' : '310px', height: 'inherit',
|
|
@@ -20089,6 +20263,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20089
20263
|
this.parent.on(initialEnd, this.afterRender, this);
|
|
20090
20264
|
this.parent.on(dynamicModule, this.afterRender, this);
|
|
20091
20265
|
this.parent.on(paste, this.imagePaste, this);
|
|
20266
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
20092
20267
|
this.parent.on(destroy, this.removeEventListener, this);
|
|
20093
20268
|
};
|
|
20094
20269
|
Image.prototype.removeEventListener = function () {
|
|
@@ -20115,6 +20290,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20115
20290
|
this.parent.off(initialEnd, this.afterRender);
|
|
20116
20291
|
this.parent.off(dynamicModule, this.afterRender);
|
|
20117
20292
|
this.parent.off(paste, this.imagePaste);
|
|
20293
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
20118
20294
|
this.parent.off(destroy, this.removeEventListener);
|
|
20119
20295
|
var dropElement = this.parent.iframeSettings.enable ? this.parent.inputElement.ownerDocument
|
|
20120
20296
|
: this.parent.inputElement;
|
|
@@ -20132,6 +20308,32 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20132
20308
|
}
|
|
20133
20309
|
}
|
|
20134
20310
|
};
|
|
20311
|
+
Image.prototype.updateCss = function (currentObj, e) {
|
|
20312
|
+
if (currentObj && e.cssClass) {
|
|
20313
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
20314
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
20315
|
+
}
|
|
20316
|
+
else {
|
|
20317
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
20318
|
+
}
|
|
20319
|
+
}
|
|
20320
|
+
};
|
|
20321
|
+
Image.prototype.setCssClass = function (e) {
|
|
20322
|
+
if (this.popupObj && e.cssClass) {
|
|
20323
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
20324
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
20325
|
+
}
|
|
20326
|
+
else {
|
|
20327
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
20328
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
20329
|
+
}
|
|
20330
|
+
}
|
|
20331
|
+
this.updateCss(this.checkBoxObj, e);
|
|
20332
|
+
this.updateCss(this.widthNum, e);
|
|
20333
|
+
this.updateCss(this.heightNum, e);
|
|
20334
|
+
this.updateCss(this.uploadObj, e);
|
|
20335
|
+
this.updateCss(this.dialogObj, e);
|
|
20336
|
+
};
|
|
20135
20337
|
Image.prototype.onIframeMouseDown = function () {
|
|
20136
20338
|
if (this.dialogObj) {
|
|
20137
20339
|
this.dialogObj.hide({ returnValue: true });
|
|
@@ -20735,6 +20937,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20735
20937
|
};
|
|
20736
20938
|
Image.prototype.showDialog = function () {
|
|
20737
20939
|
this.openDialog(false);
|
|
20940
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
20738
20941
|
};
|
|
20739
20942
|
Image.prototype.closeDialog = function () {
|
|
20740
20943
|
if (this.dialogObj) {
|
|
@@ -20954,7 +21157,8 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20954
21157
|
var inputLink = linkWrap.querySelector('.e-img-link');
|
|
20955
21158
|
var linkOpenLabel = this.i10n.getConstant('linkOpenInNewWindow');
|
|
20956
21159
|
this.checkBoxObj = new CheckBox({
|
|
20957
|
-
label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl,
|
|
21160
|
+
label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass,
|
|
21161
|
+
change: function (e) {
|
|
20958
21162
|
if (e.checked) {
|
|
20959
21163
|
target_1 = '_blank';
|
|
20960
21164
|
}
|
|
@@ -20989,6 +21193,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20989
21193
|
}
|
|
20990
21194
|
}]
|
|
20991
21195
|
});
|
|
21196
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21197
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21198
|
+
}
|
|
20992
21199
|
if (!isNullOrUndefined(inputDetails)) {
|
|
20993
21200
|
inputLink.value = inputDetails.url;
|
|
20994
21201
|
// eslint-disable-next-line
|
|
@@ -21034,6 +21241,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21034
21241
|
}
|
|
21035
21242
|
}]
|
|
21036
21243
|
});
|
|
21244
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21245
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21246
|
+
}
|
|
21037
21247
|
this.dialogObj.element.style.maxHeight = 'inherit';
|
|
21038
21248
|
this.dialogObj.content.querySelector('input').focus();
|
|
21039
21249
|
}
|
|
@@ -21254,6 +21464,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21254
21464
|
}
|
|
21255
21465
|
}]
|
|
21256
21466
|
});
|
|
21467
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21468
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21469
|
+
}
|
|
21257
21470
|
this.dialogObj.element.style.maxHeight = 'inherit';
|
|
21258
21471
|
this.dialogObj.content.querySelector('input').focus();
|
|
21259
21472
|
}
|
|
@@ -21531,24 +21744,26 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21531
21744
|
+ ' /></div>';
|
|
21532
21745
|
var contentElem = parseHtml(content);
|
|
21533
21746
|
imgSizeWrap.appendChild(contentElem);
|
|
21534
|
-
|
|
21747
|
+
this.widthNum = new TextBox({
|
|
21535
21748
|
value: formatUnit(widthVal),
|
|
21536
21749
|
enableRtl: this.parent.enableRtl,
|
|
21750
|
+
cssClass: this.parent.cssClass,
|
|
21537
21751
|
input: function (e) {
|
|
21538
21752
|
_this.inputWidthValue = formatUnit(_this.inputValue(e.value));
|
|
21539
21753
|
}
|
|
21540
21754
|
});
|
|
21541
|
-
widthNum.createElement = this.parent.createElement;
|
|
21542
|
-
widthNum.appendTo(imgSizeWrap.querySelector('#imgwidth'));
|
|
21543
|
-
|
|
21755
|
+
this.widthNum.createElement = this.parent.createElement;
|
|
21756
|
+
this.widthNum.appendTo(imgSizeWrap.querySelector('#imgwidth'));
|
|
21757
|
+
this.heightNum = new TextBox({
|
|
21544
21758
|
value: formatUnit(heightVal),
|
|
21545
21759
|
enableRtl: this.parent.enableRtl,
|
|
21760
|
+
cssClass: this.parent.cssClass,
|
|
21546
21761
|
input: function (e) {
|
|
21547
21762
|
_this.inputHeightValue = formatUnit(_this.inputValue(e.value));
|
|
21548
21763
|
}
|
|
21549
21764
|
});
|
|
21550
|
-
heightNum.createElement = this.parent.createElement;
|
|
21551
|
-
heightNum.appendTo(imgSizeWrap.querySelector('#imgheight'));
|
|
21765
|
+
this.heightNum.createElement = this.parent.createElement;
|
|
21766
|
+
this.heightNum.appendTo(imgSizeWrap.querySelector('#imgheight'));
|
|
21552
21767
|
return imgSizeWrap;
|
|
21553
21768
|
};
|
|
21554
21769
|
Image.prototype.inputValue = function (value) {
|
|
@@ -21628,10 +21843,10 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21628
21843
|
span.appendChild(btnEle);
|
|
21629
21844
|
uploadParentEle.appendChild(span);
|
|
21630
21845
|
var browserMsg = this.i10n.getConstant('browse');
|
|
21631
|
-
|
|
21632
|
-
|
|
21633
|
-
|
|
21634
|
-
|
|
21846
|
+
this.browseButton = new Button({ content: browserMsg, enableRtl: this.parent.enableRtl });
|
|
21847
|
+
this.browseButton.isStringTemplate = true;
|
|
21848
|
+
this.browseButton.createElement = this.parent.createElement;
|
|
21849
|
+
this.browseButton.appendTo(btnEle);
|
|
21635
21850
|
var btnClick = (Browser.isDevice) ? span : btnEle;
|
|
21636
21851
|
EventHandler.add(btnClick, 'click', this.fileSelect, this);
|
|
21637
21852
|
var uploadEle = this.parent.createElement('input', {
|
|
@@ -21645,7 +21860,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21645
21860
|
var beforeUploadArgs;
|
|
21646
21861
|
this.uploadObj = new Uploader({
|
|
21647
21862
|
asyncSettings: { saveUrl: this.parent.insertImageSettings.saveUrl, removeUrl: this.parent.insertImageSettings.removeUrl },
|
|
21648
|
-
dropArea: span, multiple: false, enableRtl: this.parent.enableRtl,
|
|
21863
|
+
dropArea: span, multiple: false, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass,
|
|
21649
21864
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
21650
21865
|
selected: function (e) {
|
|
21651
21866
|
proxy.isImgUploaded = true;
|
|
@@ -22025,6 +22240,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
22025
22240
|
this.popupObj.element.style.display = 'none';
|
|
22026
22241
|
addClass([this.popupObj.element], CLS_POPUP_OPEN);
|
|
22027
22242
|
addClass([this.popupObj.element], CLS_RTE_UPLOAD_POPUP);
|
|
22243
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
22244
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
22245
|
+
}
|
|
22028
22246
|
var range = this.parent.formatter.editorManager.nodeSelection.getRange(this.parent.contentModule.getDocument());
|
|
22029
22247
|
var timeOut = dragEvent.dataTransfer.files[0].size > 1000000 ? 300 : 100;
|
|
22030
22248
|
setTimeout(function () {
|
|
@@ -22037,7 +22255,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
22037
22255
|
saveUrl: this.parent.insertImageSettings.saveUrl,
|
|
22038
22256
|
removeUrl: this.parent.insertImageSettings.removeUrl
|
|
22039
22257
|
},
|
|
22040
|
-
cssClass: CLS_RTE_DIALOG_UPLOAD,
|
|
22258
|
+
cssClass: CLS_RTE_DIALOG_UPLOAD + ' ' + this.parent.cssClass,
|
|
22041
22259
|
dropArea: this.parent.element,
|
|
22042
22260
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
22043
22261
|
removing: function () {
|
|
@@ -22577,6 +22795,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22577
22795
|
this.parent.on(dropDownSelect, this.dropdownSelect, this);
|
|
22578
22796
|
this.parent.on(keyDown, this.keyDown, this);
|
|
22579
22797
|
this.parent.on(mouseUp, this.selectionTable, this);
|
|
22798
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
22580
22799
|
this.parent.on(destroy, this.destroy, this);
|
|
22581
22800
|
};
|
|
22582
22801
|
Table.prototype.removeEventListener = function () {
|
|
@@ -22597,8 +22816,38 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22597
22816
|
this.parent.off(tableColorPickerChanged, this.setBGColor);
|
|
22598
22817
|
this.parent.off(keyDown, this.keyDown);
|
|
22599
22818
|
this.parent.off(mouseUp, this.selectionTable);
|
|
22819
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
22600
22820
|
this.parent.off(destroy, this.destroy);
|
|
22601
22821
|
};
|
|
22822
|
+
Table.prototype.updateCss = function (currentObj, e) {
|
|
22823
|
+
if (currentObj && e.cssClass) {
|
|
22824
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
22825
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
22826
|
+
}
|
|
22827
|
+
else {
|
|
22828
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
22829
|
+
}
|
|
22830
|
+
}
|
|
22831
|
+
};
|
|
22832
|
+
Table.prototype.setCssClass = function (e) {
|
|
22833
|
+
if (this.popupObj && e.cssClass) {
|
|
22834
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
22835
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
22836
|
+
}
|
|
22837
|
+
else {
|
|
22838
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
22839
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
22840
|
+
}
|
|
22841
|
+
}
|
|
22842
|
+
this.updateCss(this.createTableButton, e);
|
|
22843
|
+
this.updateCss(this.editdlgObj, e);
|
|
22844
|
+
var numericTextBoxObj = [
|
|
22845
|
+
this.columnTextBox, this.rowTextBox, this.tableWidthNum, this.tableCellPadding, this.tableCellSpacing
|
|
22846
|
+
];
|
|
22847
|
+
for (var i = 0; i < numericTextBoxObj.length; i++) {
|
|
22848
|
+
this.updateCss(numericTextBoxObj[i], e);
|
|
22849
|
+
}
|
|
22850
|
+
};
|
|
22602
22851
|
Table.prototype.selectionTable = function (e) {
|
|
22603
22852
|
var target = e.args.target;
|
|
22604
22853
|
if (Browser.info.name === 'mozilla' && !isNullOrUndefined(closest(target, 'table')) && closest(target, 'table').tagName === 'TABLE') {
|
|
@@ -22731,6 +22980,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22731
22980
|
};
|
|
22732
22981
|
Table.prototype.showDialog = function () {
|
|
22733
22982
|
this.openDialog(false);
|
|
22983
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
22734
22984
|
};
|
|
22735
22985
|
Table.prototype.closeDialog = function () {
|
|
22736
22986
|
if (this.editdlgObj) {
|
|
@@ -23304,7 +23554,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23304
23554
|
var tableWidth = parseInt(getComputedStyle(_this.curTable).width, 10);
|
|
23305
23555
|
var tableHeight = parseInt(getComputedStyle(_this.curTable).height, 10);
|
|
23306
23556
|
var paddingSize = +getComputedStyle(_this.contentModule.getEditPanel()).paddingRight.match(/\d/g).join('');
|
|
23307
|
-
var rteWidth = _this.contentModule.getEditPanel().offsetWidth -
|
|
23557
|
+
var rteWidth = _this.contentModule.getEditPanel().offsetWidth - (_this.contentModule.getEditPanel().offsetWidth -
|
|
23558
|
+
_this.contentModule.getEditPanel().clientWidth) - paddingSize * 2;
|
|
23308
23559
|
if (_this.resizeBtnStat.column) {
|
|
23309
23560
|
var cellColl = _this.curTable.rows[_this.calMaxCol(_this.curTable)].cells;
|
|
23310
23561
|
var width = parseFloat(_this.columnEle.offsetWidth.toString());
|
|
@@ -23345,7 +23596,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23345
23596
|
EventHandler.remove(_this.contentModule.getEditPanel(), 'mouseover', _this.resizeHelper);
|
|
23346
23597
|
}
|
|
23347
23598
|
var widthType = _this.curTable.style.width.indexOf('%') > -1;
|
|
23348
|
-
_this.curTable.style.width = widthType
|
|
23599
|
+
_this.curTable.style.width = widthType ? _this.convertPixelToPercentage(tableWidth + mouseX, rteWidth) + '%'
|
|
23349
23600
|
: tableWidth + mouseX + 'px';
|
|
23350
23601
|
_this.curTable.style.height = tableHeight + mouseY + 'px';
|
|
23351
23602
|
tableReBox.classList.add('e-rbox-select');
|
|
@@ -23451,12 +23702,12 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23451
23702
|
this.parent.getToolbarElement().querySelector('.e-expended-nav').setAttribute('tabindex', '1');
|
|
23452
23703
|
}
|
|
23453
23704
|
this.dlgDiv.appendChild(btnEle);
|
|
23454
|
-
|
|
23455
|
-
iconCss: 'e-icons e-create-table', content: insertbtn, cssClass: 'e-flat',
|
|
23705
|
+
this.createTableButton = new Button({
|
|
23706
|
+
iconCss: 'e-icons e-create-table', content: insertbtn, cssClass: 'e-flat' + ' ' + this.parent.cssClass,
|
|
23456
23707
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23457
23708
|
});
|
|
23458
|
-
|
|
23459
|
-
|
|
23709
|
+
this.createTableButton.isStringTemplate = true;
|
|
23710
|
+
this.createTableButton.appendTo(btnEle);
|
|
23460
23711
|
EventHandler.add(btnEle, 'click', this.insertTableDialog, { self: this, args: args.args, selection: args.selection });
|
|
23461
23712
|
this.parent.getToolbar().appendChild(this.dlgDiv);
|
|
23462
23713
|
var target = args.args.originalEvent.target;
|
|
@@ -23479,6 +23730,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23479
23730
|
}
|
|
23480
23731
|
});
|
|
23481
23732
|
addClass([this.popupObj.element], 'e-popup-open');
|
|
23733
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
23734
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
23735
|
+
}
|
|
23482
23736
|
this.popupObj.refreshPosition(target);
|
|
23483
23737
|
};
|
|
23484
23738
|
Table.prototype.docClick = function (e) {
|
|
@@ -23551,7 +23805,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23551
23805
|
_this.cancelDialog(e);
|
|
23552
23806
|
},
|
|
23553
23807
|
buttonModel: { cssClass: 'e-flat e-cancel', content: cancel }
|
|
23554
|
-
}]
|
|
23808
|
+
}],
|
|
23809
|
+
cssClass: this.parent.cssClass
|
|
23555
23810
|
});
|
|
23556
23811
|
this.editdlgObj.element.style.maxHeight = 'none';
|
|
23557
23812
|
this.editdlgObj.content.querySelector('input').focus();
|
|
@@ -23582,6 +23837,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23582
23837
|
buttonModel: { cssClass: 'e-flat e-cancel', content: cancel }
|
|
23583
23838
|
}]
|
|
23584
23839
|
});
|
|
23840
|
+
if (!isNullOrUndefined(proxy.parent.cssClass)) {
|
|
23841
|
+
proxy.editdlgObj.setProperties({ cssClass: proxy.parent.cssClass });
|
|
23842
|
+
}
|
|
23585
23843
|
proxy.editdlgObj.element.style.maxHeight = 'none';
|
|
23586
23844
|
proxy.editdlgObj.content.querySelector('input').focus();
|
|
23587
23845
|
};
|
|
@@ -23601,7 +23859,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23601
23859
|
placeholder: tableColumn,
|
|
23602
23860
|
floatLabelType: 'Auto',
|
|
23603
23861
|
max: 50,
|
|
23604
|
-
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23862
|
+
enableRtl: this.parent.enableRtl, locale: this.parent.locale,
|
|
23863
|
+
cssClass: this.parent.cssClass
|
|
23605
23864
|
});
|
|
23606
23865
|
this.columnTextBox.isStringTemplate = true;
|
|
23607
23866
|
this.columnTextBox.appendTo(tableWrap.querySelector('#tableColumn'));
|
|
@@ -23612,7 +23871,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23612
23871
|
placeholder: tableRow,
|
|
23613
23872
|
floatLabelType: 'Auto',
|
|
23614
23873
|
max: 50,
|
|
23615
|
-
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23874
|
+
enableRtl: this.parent.enableRtl, locale: this.parent.locale,
|
|
23875
|
+
cssClass: this.parent.cssClass
|
|
23616
23876
|
});
|
|
23617
23877
|
this.rowTextBox.isStringTemplate = true;
|
|
23618
23878
|
this.rowTextBox.appendTo(tableWrap.querySelector('#tableRow'));
|
|
@@ -23641,7 +23901,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23641
23901
|
var header = this.l10n.getConstant('tabledialogHeader');
|
|
23642
23902
|
var dialogModel = {
|
|
23643
23903
|
header: header,
|
|
23644
|
-
cssClass: CLS_RTE_ELEMENTS,
|
|
23904
|
+
cssClass: CLS_RTE_ELEMENTS + ' ' + this.parent.cssClass,
|
|
23645
23905
|
enableRtl: this.parent.enableRtl,
|
|
23646
23906
|
locale: this.parent.locale,
|
|
23647
23907
|
showCloseIcon: true, closeOnEscape: true, width: (Browser.isDevice) ? '290px' : '340px', height: 'initial',
|
|
@@ -23731,7 +23991,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23731
23991
|
+ ' </div><div class="e-rte-field"><input type="text" data-role ="none" id="cellSpacing" class="e-cell-spacing" /></div>';
|
|
23732
23992
|
var contentElem = parseHtml(content);
|
|
23733
23993
|
tableWrap.appendChild(contentElem);
|
|
23734
|
-
|
|
23994
|
+
this.tableWidthNum = new NumericTextBox({
|
|
23735
23995
|
format: 'n0',
|
|
23736
23996
|
min: 0,
|
|
23737
23997
|
value: widthVal,
|
|
@@ -23739,9 +23999,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23739
23999
|
floatLabelType: 'Auto',
|
|
23740
24000
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23741
24001
|
});
|
|
23742
|
-
|
|
23743
|
-
|
|
23744
|
-
|
|
24002
|
+
this.tableWidthNum.isStringTemplate = true;
|
|
24003
|
+
this.tableWidthNum.appendTo(tableWrap.querySelector('#tableWidth'));
|
|
24004
|
+
this.tableCellPadding = new NumericTextBox({
|
|
23745
24005
|
format: 'n0',
|
|
23746
24006
|
min: 0,
|
|
23747
24007
|
// eslint-disable-next-line
|
|
@@ -23750,9 +24010,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23750
24010
|
floatLabelType: 'Auto',
|
|
23751
24011
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23752
24012
|
});
|
|
23753
|
-
|
|
23754
|
-
|
|
23755
|
-
|
|
24013
|
+
this.tableCellPadding.isStringTemplate = true;
|
|
24014
|
+
this.tableCellPadding.appendTo(tableWrap.querySelector('#cellPadding'));
|
|
24015
|
+
this.tableCellSpacing = new NumericTextBox({
|
|
23756
24016
|
format: 'n0',
|
|
23757
24017
|
min: 0,
|
|
23758
24018
|
// eslint-disable-next-line
|
|
@@ -23761,8 +24021,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23761
24021
|
floatLabelType: 'Auto',
|
|
23762
24022
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23763
24023
|
});
|
|
23764
|
-
|
|
23765
|
-
|
|
24024
|
+
this.tableCellSpacing.isStringTemplate = true;
|
|
24025
|
+
this.tableCellSpacing.appendTo(tableWrap.querySelector('#cellSpacing'));
|
|
23766
24026
|
return tableWrap;
|
|
23767
24027
|
};
|
|
23768
24028
|
/**
|
|
@@ -25253,6 +25513,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25253
25513
|
}
|
|
25254
25514
|
// eslint-disable-next-line
|
|
25255
25515
|
(!this.enabled) ? this.unWireEvents() : this.eventInitializer();
|
|
25516
|
+
this.notify(bindCssClass, { cssClass: this.cssClass });
|
|
25256
25517
|
this.renderComplete();
|
|
25257
25518
|
};
|
|
25258
25519
|
/**
|
|
@@ -25835,6 +26096,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25835
26096
|
case 'cssClass':
|
|
25836
26097
|
this.element.classList.remove(oldProp[prop]);
|
|
25837
26098
|
this.setCssClass(newProp[prop]);
|
|
26099
|
+
this.notify(bindCssClass, { cssClass: newProp[prop], oldCssClass: oldProp[prop] });
|
|
25838
26100
|
break;
|
|
25839
26101
|
case 'enabled':
|
|
25840
26102
|
this.setEnable();
|
|
@@ -27216,5 +27478,5 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
27216
27478
|
* Rich Text Editor component exported items
|
|
27217
27479
|
*/
|
|
27218
27480
|
|
|
27219
|
-
export { Toolbar$2 as Toolbar, KeyboardEvents$1 as KeyboardEvents, BaseToolbar, BaseQuickToolbar, QuickToolbar, Count, ColorPickerInput, MarkdownToolbarStatus, ExecCommandCallBack, ToolbarAction, MarkdownEditor, HtmlEditor, PasteCleanup, Resize, DropDownButtons, FileManager$1 as FileManager, FullScreen, setAttributes, HtmlToolbarStatus, XhtmlValidation, HTMLFormatter, Formatter, MarkdownFormatter, ContentRender, Render, ToolbarRenderer, Link, Image, ViewSource, Table, DialogRenderer, IframeContentRender, MarkdownRender, PopupRenderer, RichTextEditor, RenderType, ToolbarType, DialogType, executeGroup, created, destroyed, load, initialLoad, contentChanged, initialEnd, iframeMouseDown, destroy, toolbarClick, toolbarRefresh, refreshBegin, toolbarUpdated, bindOnEnd, renderColorPicker, htmlToolbarClick, markdownToolbarClick, destroyColorPicker, modelChanged, keyUp, keyDown, mouseUp, toolbarCreated, toolbarRenderComplete, enableFullScreen, disableFullScreen, dropDownSelect, beforeDropDownItemRender, execCommandCallBack, imageToolbarAction, linkToolbarAction, windowResize, resizeStart, onResize, resizeStop, undo, redo, insertLink, unLink, editLink, openLink, actionBegin, actionComplete, updatedToolbarStatus, actionSuccess, updateToolbarItem, insertImage, insertCompleted, imageLeft, imageRight, imageCenter, imageBreak, imageInline, imageLink, imageAlt, imageDelete, imageCaption, imageSize, sourceCode, updateSource, toolbarOpen, beforeDropDownOpen, selectionSave, selectionRestore, expandPopupClick, count, contentFocus, contentBlur, mouseDown, sourceCodeMouseDown, editAreaClick, scroll, contentscroll, colorPickerChanged, tableColorPickerChanged, focusChange, selectAll$1 as selectAll, selectRange, getSelectedHtml, renderInlineToolbar, paste, imgModule, rtlMode, createTable, docClick, tableToolbarAction, checkUndo, readOnlyMode, pasteClean, enterHandler, beforeDialogOpen, clearDialogObj, dialogOpen, beforeDialogClose, dialogClose, beforeQuickToolbarOpen, quickToolbarOpen, quickToolbarClose, popupHide, imageSelected, imageUploading, imageUploadSuccess, imageUploadFailed, imageRemoving, afterImageDelete, drop, xhtmlValidation, beforeImageUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, showTableDialog, closeTableDialog, CLS_RTE, CLS_RTL, CLS_CONTENT, CLS_DISABLED, CLS_SCRIPT_SHEET, CLS_STYLE_SHEET, CLS_TOOLBAR, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_ABS_FLOAT, CLS_INLINE, CLS_TB_INLINE, CLS_RTE_EXPAND_TB, CLS_FULL_SCREEN, CLS_QUICK_TB, CLS_POP, CLS_TB_STATIC, CLS_QUICK_POP, CLS_QUICK_DROPDOWN, CLS_IMAGE_POP, CLS_INLINE_POP, CLS_INLINE_DROPDOWN, CLS_DROPDOWN_POPUP, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_BTN, CLS_RTE_CONTENT, CLS_TB_ITEM, CLS_TB_EXTENDED, CLS_TB_WRAP, CLS_POPUP, CLS_SEPARATOR, CLS_MINIMIZE, CLS_MAXIMIZE, CLS_BACK, CLS_SHOW, CLS_HIDE, CLS_VISIBLE, CLS_FOCUS, CLS_RM_WHITE_SPACE, CLS_IMGRIGHT, CLS_IMGLEFT, CLS_IMGCENTER, CLS_IMGBREAK, CLS_CAPTION, CLS_RTE_CAPTION, CLS_CAPINLINE, CLS_IMGINLINE, CLS_COUNT, CLS_WARNING, CLS_ERROR, CLS_ICONS, CLS_ACTIVE, CLS_EXPAND_OPEN, CLS_RTE_ELEMENTS, CLS_TB_BTN, CLS_HR_SEPARATOR, CLS_TB_IOS_FIX, CLS_LIST_PRIMARY_CONTENT, CLS_NUMBERFORMATLIST_TB_BTN, CLS_BULLETFORMATLIST_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_ALIGN_TB_BTN, CLS_FONT_COLOR_TARGET, CLS_BACKGROUND_COLOR_TARGET, CLS_COLOR_CONTENT, CLS_FONT_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_COLOR_PALETTE, CLS_FONT_COLOR_PICKER, CLS_BACKGROUND_COLOR_PICKER, CLS_RTE_READONLY, CLS_TABLE_SEL, CLS_TB_DASH_BOR, CLS_TB_ALT_BOR, CLS_TB_COL_RES, CLS_TB_ROW_RES, CLS_TB_BOX_RES, CLS_RTE_HIDDEN, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_CANCEL, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_RES_HANDLE, CLS_RTE_RES_EAST, CLS_RTE_IMAGE, CLS_RESIZE, CLS_IMG_FOCUS, CLS_RTE_DRAG_IMAGE, CLS_RTE_UPLOAD_POPUP, CLS_POPUP_OPEN, CLS_IMG_RESIZE, CLS_DROPAREA, CLS_IMG_INNER, CLS_UPLOAD_FILES, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_RES_CNT, CLS_CUSTOM_TILE, CLS_NOCOLOR_ITEM, CLS_TABLE, CLS_TABLE_BORDER, CLS_RTE_TABLE_RESIZE, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_TB_ENABLED, getIndex, hasClass, getDropDownValue, isIDevice, getFormattedFontSize, pageYOffset, getTooltipText, setToolbarStatus, getCollection, getTBarItemsIndex, updateUndoRedoStatus, dispatchEvent, parseHtml, getTextNodesUnder, toObjectLowerCase, getEditValue, updateTextNode, getDefaultValue, isEditableValueEmpty, decode, sanitizeHelper, convertToBlob, getLocaleFontFormat, updateDropDownFontFormatLocale, ServiceLocator, RendererFactory, EditorManager, IMAGE, TABLE, LINK, INSERT_ROW, INSERT_COLUMN, DELETEROW, DELETECOLUMN, REMOVETABLE, TABLEHEADER, TABLE_VERTICAL_ALIGN, TABLE_MERGE, TABLE_VERTICAL_SPLIT, TABLE_HORIZONTAL_SPLIT, TABLE_MOVE, ALIGNMENT_TYPE, INDENT_TYPE, DEFAULT_TAG, BLOCK_TAGS, IGNORE_BLOCK_TAGS, TABLE_BLOCK_TAGS, SELECTION_TYPE, INSERTHTML_TYPE, INSERT_TEXT_TYPE, CLEAR_TYPE, SELF_CLOSING_TAGS, CLASS_IMAGE_RIGHT, CLASS_IMAGE_LEFT, CLASS_IMAGE_CENTER, CLASS_IMAGE_BREAK, CLASS_CAPTION, CLASS_RTE_CAPTION, CLASS_CAPTION_INLINE, CLASS_IMAGE_INLINE, Lists, markerClassName, DOMNode, Alignments, Indents, Formats, LinkCommand, InsertMethods, InsertTextExec, InsertHtmlExec, InsertHtml, IsFormatted, MsWordPaste, NodeCutter, ImageCommand, SelectionCommands, SelectionBasedExec, ClearFormatExec, UndoRedoManager, TableCommand, statusCollection, ToolbarStatus, NodeSelection, MarkdownParser, LISTS_COMMAND, selectionCommand, LINK_COMMAND, CLEAR_COMMAND, MD_TABLE, ClearFormat, MDLists, MDFormats, MarkdownSelection, UndoRedoCommands, MDSelectionFormats, MDLink, MDTable, markdownFormatTags, markdownSelectionTags, markdownListsTags, htmlKeyConfig, markdownKeyConfig, pasteCleanupGroupingTags, listConversionFilters, selfClosingTags, KEY_DOWN, ACTION, FORMAT_TYPE, KEY_DOWN_HANDLER, LIST_TYPE, KEY_UP_HANDLER, KEY_UP, MODEL_CHANGED_PLUGIN, MODEL_CHANGED, MS_WORD_CLEANUP_PLUGIN, MS_WORD_CLEANUP, ON_BEGIN, SPACE_ACTION };
|
|
27481
|
+
export { Toolbar$2 as Toolbar, KeyboardEvents$1 as KeyboardEvents, BaseToolbar, BaseQuickToolbar, QuickToolbar, Count, ColorPickerInput, MarkdownToolbarStatus, ExecCommandCallBack, ToolbarAction, MarkdownEditor, HtmlEditor, PasteCleanup, Resize, DropDownButtons, FileManager$1 as FileManager, FullScreen, setAttributes, HtmlToolbarStatus, XhtmlValidation, HTMLFormatter, Formatter, MarkdownFormatter, ContentRender, Render, ToolbarRenderer, Link, Image, ViewSource, Table, DialogRenderer, IframeContentRender, MarkdownRender, PopupRenderer, RichTextEditor, RenderType, ToolbarType, DialogType, executeGroup, created, destroyed, load, initialLoad, contentChanged, initialEnd, iframeMouseDown, destroy, toolbarClick, toolbarRefresh, refreshBegin, toolbarUpdated, bindOnEnd, renderColorPicker, htmlToolbarClick, markdownToolbarClick, destroyColorPicker, modelChanged, keyUp, keyDown, mouseUp, toolbarCreated, toolbarRenderComplete, enableFullScreen, disableFullScreen, dropDownSelect, beforeDropDownItemRender, execCommandCallBack, imageToolbarAction, linkToolbarAction, windowResize, resizeStart, onResize, resizeStop, undo, redo, insertLink, unLink, editLink, openLink, actionBegin, actionComplete, updatedToolbarStatus, actionSuccess, updateToolbarItem, insertImage, insertCompleted, imageLeft, imageRight, imageCenter, imageBreak, imageInline, imageLink, imageAlt, imageDelete, imageCaption, imageSize, sourceCode, updateSource, toolbarOpen, beforeDropDownOpen, selectionSave, selectionRestore, expandPopupClick, count, contentFocus, contentBlur, mouseDown, sourceCodeMouseDown, editAreaClick, scroll, contentscroll, colorPickerChanged, tableColorPickerChanged, focusChange, selectAll$1 as selectAll, selectRange, getSelectedHtml, renderInlineToolbar, paste, imgModule, rtlMode, createTable, docClick, tableToolbarAction, checkUndo, readOnlyMode, pasteClean, enterHandler, beforeDialogOpen, clearDialogObj, dialogOpen, beforeDialogClose, dialogClose, beforeQuickToolbarOpen, quickToolbarOpen, quickToolbarClose, popupHide, imageSelected, imageUploading, imageUploadSuccess, imageUploadFailed, imageRemoving, afterImageDelete, drop, xhtmlValidation, beforeImageUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, showTableDialog, closeTableDialog, bindCssClass, CLS_RTE, CLS_RTL, CLS_CONTENT, CLS_DISABLED, CLS_SCRIPT_SHEET, CLS_STYLE_SHEET, CLS_TOOLBAR, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_ABS_FLOAT, CLS_INLINE, CLS_TB_INLINE, CLS_RTE_EXPAND_TB, CLS_FULL_SCREEN, CLS_QUICK_TB, CLS_POP, CLS_TB_STATIC, CLS_QUICK_POP, CLS_QUICK_DROPDOWN, CLS_IMAGE_POP, CLS_INLINE_POP, CLS_INLINE_DROPDOWN, CLS_DROPDOWN_POPUP, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_BTN, CLS_RTE_CONTENT, CLS_TB_ITEM, CLS_TB_EXTENDED, CLS_TB_WRAP, CLS_POPUP, CLS_SEPARATOR, CLS_MINIMIZE, CLS_MAXIMIZE, CLS_BACK, CLS_SHOW, CLS_HIDE, CLS_VISIBLE, CLS_FOCUS, CLS_RM_WHITE_SPACE, CLS_IMGRIGHT, CLS_IMGLEFT, CLS_IMGCENTER, CLS_IMGBREAK, CLS_CAPTION, CLS_RTE_CAPTION, CLS_CAPINLINE, CLS_IMGINLINE, CLS_COUNT, CLS_WARNING, CLS_ERROR, CLS_ICONS, CLS_ACTIVE, CLS_EXPAND_OPEN, CLS_RTE_ELEMENTS, CLS_TB_BTN, CLS_HR_SEPARATOR, CLS_TB_IOS_FIX, CLS_LIST_PRIMARY_CONTENT, CLS_NUMBERFORMATLIST_TB_BTN, CLS_BULLETFORMATLIST_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_ALIGN_TB_BTN, CLS_FONT_COLOR_TARGET, CLS_BACKGROUND_COLOR_TARGET, CLS_COLOR_CONTENT, CLS_FONT_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_COLOR_PALETTE, CLS_FONT_COLOR_PICKER, CLS_BACKGROUND_COLOR_PICKER, CLS_RTE_READONLY, CLS_TABLE_SEL, CLS_TB_DASH_BOR, CLS_TB_ALT_BOR, CLS_TB_COL_RES, CLS_TB_ROW_RES, CLS_TB_BOX_RES, CLS_RTE_HIDDEN, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_CANCEL, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_RES_HANDLE, CLS_RTE_RES_EAST, CLS_RTE_IMAGE, CLS_RESIZE, CLS_IMG_FOCUS, CLS_RTE_DRAG_IMAGE, CLS_RTE_UPLOAD_POPUP, CLS_POPUP_OPEN, CLS_IMG_RESIZE, CLS_DROPAREA, CLS_IMG_INNER, CLS_UPLOAD_FILES, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_RES_CNT, CLS_CUSTOM_TILE, CLS_NOCOLOR_ITEM, CLS_TABLE, CLS_TABLE_BORDER, CLS_RTE_TABLE_RESIZE, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_TB_ENABLED, getIndex, hasClass, getDropDownValue, isIDevice, getFormattedFontSize, pageYOffset, getTooltipText, setToolbarStatus, getCollection, getTBarItemsIndex, updateUndoRedoStatus, dispatchEvent, parseHtml, getTextNodesUnder, toObjectLowerCase, getEditValue, updateTextNode, getDefaultValue, isEditableValueEmpty, decode, sanitizeHelper, convertToBlob, getLocaleFontFormat, updateDropDownFontFormatLocale, ServiceLocator, RendererFactory, EditorManager, IMAGE, TABLE, LINK, INSERT_ROW, INSERT_COLUMN, DELETEROW, DELETECOLUMN, REMOVETABLE, TABLEHEADER, TABLE_VERTICAL_ALIGN, TABLE_MERGE, TABLE_VERTICAL_SPLIT, TABLE_HORIZONTAL_SPLIT, TABLE_MOVE, ALIGNMENT_TYPE, INDENT_TYPE, DEFAULT_TAG, BLOCK_TAGS, IGNORE_BLOCK_TAGS, TABLE_BLOCK_TAGS, SELECTION_TYPE, INSERTHTML_TYPE, INSERT_TEXT_TYPE, CLEAR_TYPE, SELF_CLOSING_TAGS, CLASS_IMAGE_RIGHT, CLASS_IMAGE_LEFT, CLASS_IMAGE_CENTER, CLASS_IMAGE_BREAK, CLASS_CAPTION, CLASS_RTE_CAPTION, CLASS_CAPTION_INLINE, CLASS_IMAGE_INLINE, Lists, markerClassName, DOMNode, Alignments, Indents, Formats, LinkCommand, InsertMethods, InsertTextExec, InsertHtmlExec, InsertHtml, IsFormatted, MsWordPaste, NodeCutter, ImageCommand, SelectionCommands, SelectionBasedExec, ClearFormatExec, UndoRedoManager, TableCommand, statusCollection, ToolbarStatus, NodeSelection, MarkdownParser, LISTS_COMMAND, selectionCommand, LINK_COMMAND, CLEAR_COMMAND, MD_TABLE, ClearFormat, MDLists, MDFormats, MarkdownSelection, UndoRedoCommands, MDSelectionFormats, MDLink, MDTable, markdownFormatTags, markdownSelectionTags, markdownListsTags, htmlKeyConfig, markdownKeyConfig, pasteCleanupGroupingTags, listConversionFilters, selfClosingTags, KEY_DOWN, ACTION, FORMAT_TYPE, KEY_DOWN_HANDLER, LIST_TYPE, KEY_UP_HANDLER, KEY_UP, MODEL_CHANGED_PLUGIN, MODEL_CHANGED, MS_WORD_CLEANUP_PLUGIN, MS_WORD_CLEANUP, ON_BEGIN, SPACE_ACTION };
|
|
27220
27482
|
//# sourceMappingURL=ej2-richtexteditor.es5.js.map
|