@syncfusion/ej2-richtexteditor 20.1.51 → 20.1.56
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 +32 -0
- 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 +356 -94
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +356 -94
- 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/editor-manager/plugin/inserthtml.js +2 -1
- package/src/editor-manager/plugin/nodecutter.js +1 -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/enter-key.js +3 -2
- 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 +13 -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 +60 -18
- 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
|
}());
|
|
@@ -4253,7 +4297,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4253
4297
|
if ((parent_1.bottom < (floatOffset + tbHeight + topValue)) || parent_1.bottom < 0 || parent_1.top > floatOffset + topValue) {
|
|
4254
4298
|
isFloat = false;
|
|
4255
4299
|
}
|
|
4256
|
-
else if (parent_1.top < floatOffset) {
|
|
4300
|
+
else if (parent_1.top < floatOffset || parent_1.top < floatOffset + topValue) {
|
|
4257
4301
|
isFloat = true;
|
|
4258
4302
|
}
|
|
4259
4303
|
}
|
|
@@ -4651,6 +4695,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4651
4695
|
this.parent.on(focusChange, this.focusChangeHandler, this);
|
|
4652
4696
|
this.parent.on(mouseDown, this.mouseDownHandler, this);
|
|
4653
4697
|
this.parent.on(sourceCodeMouseDown, this.mouseDownHandler, this);
|
|
4698
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
4654
4699
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4655
4700
|
this.parent.on(toolbarClick, this.toolbarClickHandler, this);
|
|
4656
4701
|
}
|
|
@@ -4674,10 +4719,21 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4674
4719
|
this.parent.off(focusChange, this.focusChangeHandler);
|
|
4675
4720
|
this.parent.off(mouseDown, this.mouseDownHandler);
|
|
4676
4721
|
this.parent.off(sourceCodeMouseDown, this.mouseDownHandler);
|
|
4722
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
4677
4723
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4678
4724
|
this.parent.off(toolbarClick, this.toolbarClickHandler);
|
|
4679
4725
|
}
|
|
4680
4726
|
};
|
|
4727
|
+
Toolbar$$1.prototype.setCssClass = function (e) {
|
|
4728
|
+
if (this.toolbarObj && e.cssClass) {
|
|
4729
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
4730
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass + ' ' + e.cssClass).trim() });
|
|
4731
|
+
}
|
|
4732
|
+
else {
|
|
4733
|
+
this.toolbarObj.setProperties({ cssClass: (this.toolbarObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
4734
|
+
}
|
|
4735
|
+
}
|
|
4736
|
+
};
|
|
4681
4737
|
Toolbar$$1.prototype.onRefresh = function () {
|
|
4682
4738
|
this.refreshToolbarOverflow();
|
|
4683
4739
|
this.parent.setContentHeight('', true);
|
|
@@ -5042,6 +5098,9 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5042
5098
|
}
|
|
5043
5099
|
}
|
|
5044
5100
|
});
|
|
5101
|
+
if (this.parent.inlineMode.enable) {
|
|
5102
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
5103
|
+
}
|
|
5045
5104
|
};
|
|
5046
5105
|
ColorPickerInput.prototype.destroy = function () {
|
|
5047
5106
|
this.removeEventListener();
|
|
@@ -5087,12 +5146,29 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5087
5146
|
this.backgroundColorDropDown.setProperties({ enableRtl: args.enableRtl });
|
|
5088
5147
|
}
|
|
5089
5148
|
};
|
|
5149
|
+
ColorPickerInput.prototype.setCssClass = function (e) {
|
|
5150
|
+
this.updateCss(this.fontColorPicker, this.fontColorDropDown, e);
|
|
5151
|
+
this.updateCss(this.backgroundColorPicker, this.backgroundColorDropDown, e);
|
|
5152
|
+
};
|
|
5153
|
+
ColorPickerInput.prototype.updateCss = function (colorPickerObj, dropDownObj, e) {
|
|
5154
|
+
if (colorPickerObj && e.cssClass) {
|
|
5155
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
5156
|
+
colorPickerObj.setProperties({ cssClass: (colorPickerObj.cssClass + ' ' + e.cssClass).trim() });
|
|
5157
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass + ' ' + e.cssClass).trim() });
|
|
5158
|
+
}
|
|
5159
|
+
else {
|
|
5160
|
+
colorPickerObj.setProperties({ cssClass: (colorPickerObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
5161
|
+
dropDownObj.setProperties({ cssClass: (dropDownObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
5162
|
+
}
|
|
5163
|
+
}
|
|
5164
|
+
};
|
|
5090
5165
|
ColorPickerInput.prototype.addEventListener = function () {
|
|
5091
5166
|
this.parent.on(toolbarRenderComplete, this.renderColorPickerInput, this);
|
|
5092
5167
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
5093
5168
|
this.parent.on(destroy, this.destroy, this);
|
|
5094
5169
|
this.parent.on(destroyColorPicker, this.destroyColorPicker, this);
|
|
5095
5170
|
this.parent.on(modelChanged, this.onPropertyChanged, this);
|
|
5171
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
5096
5172
|
};
|
|
5097
5173
|
ColorPickerInput.prototype.onPropertyChanged = function (model) {
|
|
5098
5174
|
var newProp = model.newProp;
|
|
@@ -5165,6 +5241,7 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
5165
5241
|
this.parent.off(rtlMode, this.setRtl);
|
|
5166
5242
|
this.parent.off(destroyColorPicker, this.destroyColorPicker);
|
|
5167
5243
|
this.parent.off(modelChanged, this.onPropertyChanged);
|
|
5244
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
5168
5245
|
};
|
|
5169
5246
|
return ColorPickerInput;
|
|
5170
5247
|
}());
|
|
@@ -5211,17 +5288,18 @@ var BaseQuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5211
5288
|
this.element = this.parent.createElement('div', { id: popupId, className: className + ' ' + CLS_RTE_ELEMENTS });
|
|
5212
5289
|
this.element.setAttribute('aria-owns', this.parent.getID());
|
|
5213
5290
|
this.appendPopupContent();
|
|
5214
|
-
this.createToolbar(args.toolbarItems, args.mode);
|
|
5291
|
+
this.createToolbar(args.toolbarItems, args.mode, args.cssClass);
|
|
5215
5292
|
this.popupRenderer.renderPopup(this);
|
|
5216
5293
|
this.addEventListener();
|
|
5217
5294
|
};
|
|
5218
|
-
BaseQuickToolbar.prototype.createToolbar = function (items, mode) {
|
|
5295
|
+
BaseQuickToolbar.prototype.createToolbar = function (items, mode, cssClass) {
|
|
5219
5296
|
this.quickTBarObj = new BaseToolbar(this.parent, this.locator);
|
|
5220
5297
|
this.quickTBarObj.render({
|
|
5221
5298
|
container: 'quick',
|
|
5222
5299
|
target: this.toolbarElement,
|
|
5223
5300
|
items: items,
|
|
5224
|
-
mode: mode
|
|
5301
|
+
mode: mode,
|
|
5302
|
+
cssClass: cssClass
|
|
5225
5303
|
});
|
|
5226
5304
|
this.quickTBarObj.toolbarObj.refresh();
|
|
5227
5305
|
};
|
|
@@ -5413,6 +5491,10 @@ var BaseQuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5413
5491
|
_this.popupObj.element.classList.remove('e-popup-open');
|
|
5414
5492
|
removeClass([_this.element], [CLS_HIDE]);
|
|
5415
5493
|
_this.popupObj.show({ name: 'ZoomIn', duration: (Browser.isIE ? 250 : 400) });
|
|
5494
|
+
if (_this.popupObj && _this.parent.cssClass) {
|
|
5495
|
+
removeClass([_this.popupObj.element], _this.parent.cssClass);
|
|
5496
|
+
addClass([_this.popupObj.element], _this.parent.cssClass);
|
|
5497
|
+
}
|
|
5416
5498
|
setStyleAttribute(_this.element, {
|
|
5417
5499
|
maxWidth: window.outerWidth + 'px'
|
|
5418
5500
|
});
|
|
@@ -5674,7 +5756,8 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5674
5756
|
popupType: popType,
|
|
5675
5757
|
toolbarItems: items,
|
|
5676
5758
|
mode: mode,
|
|
5677
|
-
renderType: type
|
|
5759
|
+
renderType: type,
|
|
5760
|
+
cssClass: this.parent.cssClass
|
|
5678
5761
|
};
|
|
5679
5762
|
};
|
|
5680
5763
|
/**
|
|
@@ -5985,6 +6068,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5985
6068
|
this.parent.on(destroy, this.destroy, this);
|
|
5986
6069
|
this.parent.on(keyDown, this.onKeyDown, this);
|
|
5987
6070
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
6071
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
5988
6072
|
};
|
|
5989
6073
|
QuickToolbar.prototype.onKeyDown = function (e) {
|
|
5990
6074
|
var args = e.args;
|
|
@@ -5998,6 +6082,24 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
5998
6082
|
this.hideQuickToolbars();
|
|
5999
6083
|
this.hideInlineQTBar();
|
|
6000
6084
|
};
|
|
6085
|
+
QuickToolbar.prototype.updateCss = function (baseQTObj, e) {
|
|
6086
|
+
if (baseQTObj && e.cssClass) {
|
|
6087
|
+
if (isNullOrUndefined(e.oldCssClass && baseQTObj.quickTBarObj.toolbarObj.cssClass !== e.cssClass)) {
|
|
6088
|
+
baseQTObj.quickTBarObj.toolbarObj.setProperties({ cssClass: (baseQTObj.quickTBarObj.toolbarObj.cssClass + ' ' + e.cssClass).trim() });
|
|
6089
|
+
}
|
|
6090
|
+
else {
|
|
6091
|
+
baseQTObj.quickTBarObj.toolbarObj.setProperties({ cssClass: (baseQTObj.quickTBarObj.toolbarObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
6092
|
+
}
|
|
6093
|
+
}
|
|
6094
|
+
};
|
|
6095
|
+
QuickToolbar.prototype.setCssClass = function (e) {
|
|
6096
|
+
var baseQuickToolbarObj = [
|
|
6097
|
+
this.inlineQTBar, this.imageQTBar, this.linkQTBar, this.textQTBar, this.tableQTBar
|
|
6098
|
+
];
|
|
6099
|
+
for (var i = 0; i < baseQuickToolbarObj.length; i++) {
|
|
6100
|
+
this.updateCss(baseQuickToolbarObj[i], e);
|
|
6101
|
+
}
|
|
6102
|
+
};
|
|
6001
6103
|
QuickToolbar.prototype.setRtl = function (args) {
|
|
6002
6104
|
if (this.inlineQTBar) {
|
|
6003
6105
|
this.inlineQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
@@ -6006,7 +6108,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6006
6108
|
this.imageQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
6007
6109
|
}
|
|
6008
6110
|
if (this.linkQTBar) {
|
|
6009
|
-
this.
|
|
6111
|
+
this.linkQTBar.quickTBarObj.toolbarObj.setProperties({ enableRtl: args.enableRtl });
|
|
6010
6112
|
}
|
|
6011
6113
|
};
|
|
6012
6114
|
/**
|
|
@@ -6035,6 +6137,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6035
6137
|
this.parent.off(iframeMouseDown, this.onIframeMouseDown);
|
|
6036
6138
|
this.parent.off(keyDown, this.onKeyDown);
|
|
6037
6139
|
this.parent.off(rtlMode, this.setRtl);
|
|
6140
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
6038
6141
|
};
|
|
6039
6142
|
/**
|
|
6040
6143
|
* Called internally if any of the property value changed.
|
|
@@ -10303,7 +10406,13 @@ var DOMNode = /** @__PURE__ @class */ (function () {
|
|
|
10303
10406
|
markerStart.appendChild(start);
|
|
10304
10407
|
}
|
|
10305
10408
|
else {
|
|
10306
|
-
|
|
10409
|
+
if (start.nodeType != 3 && start.nodeName != '#text') {
|
|
10410
|
+
var marker = this.marker(markerClassName.startSelection, '');
|
|
10411
|
+
append([this.parseHTMLFragment(marker)], start);
|
|
10412
|
+
}
|
|
10413
|
+
else {
|
|
10414
|
+
this.replaceWith(start, this.marker(markerClassName.startSelection, this.encode(start.textContent)));
|
|
10415
|
+
}
|
|
10307
10416
|
}
|
|
10308
10417
|
if (end.nodeType !== Node.TEXT_NODE && end.tagName === 'BR' &&
|
|
10309
10418
|
IGNORE_BLOCK_TAGS.indexOf(end.parentNode.tagName.toLocaleLowerCase()) >= 0) {
|
|
@@ -11510,7 +11619,7 @@ var NodeCutter = /** @__PURE__ @class */ (function () {
|
|
|
11510
11619
|
else if (len > -1) {
|
|
11511
11620
|
this.spliceEmptyNode(fragment.childNodes[0], isStart);
|
|
11512
11621
|
}
|
|
11513
|
-
else if (fragment.nodeType !== 3 && fragment.nodeType !== 11) {
|
|
11622
|
+
else if (fragment.nodeType !== 3 && fragment.nodeType !== 11 && fragment.nodeName !== 'IMG') {
|
|
11514
11623
|
fragment.parentNode.removeChild(fragment);
|
|
11515
11624
|
}
|
|
11516
11625
|
return fragment;
|
|
@@ -12336,7 +12445,8 @@ var InsertHtml = /** @__PURE__ @class */ (function () {
|
|
|
12336
12445
|
tempSpan.parentNode.replaceChild(node, tempSpan);
|
|
12337
12446
|
}
|
|
12338
12447
|
else {
|
|
12339
|
-
var
|
|
12448
|
+
var nodeSelection = new NodeSelection();
|
|
12449
|
+
var currentNode = this.getNodeCollection(range, nodeSelection, node)[this.getNodeCollection(range, nodeSelection, node).length - 1];
|
|
12340
12450
|
var splitedElm = void 0;
|
|
12341
12451
|
if ((currentNode.nodeName === 'BR' || currentNode.nodeName === 'HR') && !isNullOrUndefined(currentNode.parentElement) &&
|
|
12342
12452
|
currentNode.parentElement.textContent.trim().length === 0) {
|
|
@@ -16983,7 +17093,8 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
16983
17093
|
* @returns {string} - specifies the string element.
|
|
16984
17094
|
*/
|
|
16985
17095
|
ContentRender.prototype.getText = function () {
|
|
16986
|
-
|
|
17096
|
+
var textString = this.getEditPanel().innerText;
|
|
17097
|
+
return textString === '\n' ? '' : textString;
|
|
16987
17098
|
};
|
|
16988
17099
|
/**
|
|
16989
17100
|
* Set the content div element of RichTextEditor
|
|
@@ -18007,6 +18118,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18007
18118
|
return;
|
|
18008
18119
|
}
|
|
18009
18120
|
this.parent.on(pasteClean, this.pasteClean, this);
|
|
18121
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
18010
18122
|
this.parent.on(destroy, this.destroy, this);
|
|
18011
18123
|
};
|
|
18012
18124
|
PasteCleanup.prototype.destroy = function () {
|
|
@@ -18017,6 +18129,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18017
18129
|
return;
|
|
18018
18130
|
}
|
|
18019
18131
|
this.parent.off(pasteClean, this.pasteClean);
|
|
18132
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
18020
18133
|
this.parent.off(destroy, this.destroy);
|
|
18021
18134
|
};
|
|
18022
18135
|
PasteCleanup.prototype.pasteClean = function (e) {
|
|
@@ -18196,7 +18309,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18196
18309
|
id: this.parent.element.id + '_upload', attrs: { type: 'File', name: 'UploadFiles' }
|
|
18197
18310
|
});
|
|
18198
18311
|
var offsetY = this.parent.iframeSettings.enable ? -50 : -90;
|
|
18199
|
-
|
|
18312
|
+
this.popupObj = new Popup(popupEle, {
|
|
18200
18313
|
relateTo: imgElem,
|
|
18201
18314
|
height: '85px',
|
|
18202
18315
|
width: '300px',
|
|
@@ -18209,19 +18322,22 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18209
18322
|
// eslint-disable-next-line
|
|
18210
18323
|
close: function (event) {
|
|
18211
18324
|
_this.parent.isBlur = false;
|
|
18212
|
-
popupObj.destroy();
|
|
18213
|
-
detach(popupObj.element);
|
|
18325
|
+
_this.popupObj.destroy();
|
|
18326
|
+
detach(_this.popupObj.element);
|
|
18214
18327
|
}
|
|
18215
18328
|
});
|
|
18216
|
-
popupObj.element.style.display = 'none';
|
|
18217
|
-
addClass([popupObj.element], [CLS_POPUP_OPEN, CLS_RTE_UPLOAD_POPUP]);
|
|
18329
|
+
this.popupObj.element.style.display = 'none';
|
|
18330
|
+
addClass([this.popupObj.element], [CLS_POPUP_OPEN, CLS_RTE_UPLOAD_POPUP]);
|
|
18331
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
18332
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
18333
|
+
}
|
|
18218
18334
|
var timeOut = fileList.size > 1000000 ? 300 : 100;
|
|
18219
18335
|
setTimeout(function () {
|
|
18220
|
-
_this.refreshPopup(imgElem, popupObj);
|
|
18336
|
+
_this.refreshPopup(imgElem, _this.popupObj);
|
|
18221
18337
|
}, timeOut);
|
|
18222
18338
|
var rawFile;
|
|
18223
18339
|
var beforeUploadArgs;
|
|
18224
|
-
|
|
18340
|
+
this.uploadObj = new Uploader({
|
|
18225
18341
|
asyncSettings: {
|
|
18226
18342
|
saveUrl: this.parent.insertImageSettings.saveUrl,
|
|
18227
18343
|
removeUrl: this.parent.insertImageSettings.removeUrl
|
|
@@ -18231,7 +18347,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18231
18347
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
18232
18348
|
success: function (e) {
|
|
18233
18349
|
setTimeout(function () {
|
|
18234
|
-
_this.popupClose(popupObj, uploadObj, imgElem, e);
|
|
18350
|
+
_this.popupClose(_this.popupObj, _this.uploadObj, imgElem, e);
|
|
18235
18351
|
}, 900);
|
|
18236
18352
|
},
|
|
18237
18353
|
uploading: function (e) {
|
|
@@ -18241,8 +18357,8 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18241
18357
|
if (!isNullOrUndefined(imgElem)) {
|
|
18242
18358
|
detach(imgElem);
|
|
18243
18359
|
}
|
|
18244
|
-
if (!isNullOrUndefined(popupObj.element)) {
|
|
18245
|
-
detach(popupObj.element);
|
|
18360
|
+
if (!isNullOrUndefined(_this.popupObj.element)) {
|
|
18361
|
+
detach(_this.popupObj.element);
|
|
18246
18362
|
}
|
|
18247
18363
|
}
|
|
18248
18364
|
else {
|
|
@@ -18262,11 +18378,11 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18262
18378
|
}
|
|
18263
18379
|
_this.toolbarEnableDisable(true);
|
|
18264
18380
|
/* eslint-disable */
|
|
18265
|
-
uploadObj.currentRequestHeader = beforeUploadArgs.currentRequest ?
|
|
18266
|
-
beforeUploadArgs.currentRequest : uploadObj.currentRequestHeader;
|
|
18267
|
-
uploadObj.customFormDatas = beforeUploadArgs.customFormData && beforeUploadArgs.customFormData.length > 0 ?
|
|
18268
|
-
beforeUploadArgs.customFormData : uploadObj.customFormDatas;
|
|
18269
|
-
uploadObj.uploadFiles(rawFile, null);
|
|
18381
|
+
_this.uploadObj.currentRequestHeader = beforeUploadArgs.currentRequest ?
|
|
18382
|
+
beforeUploadArgs.currentRequest : _this.uploadObj.currentRequestHeader;
|
|
18383
|
+
_this.uploadObj.customFormDatas = beforeUploadArgs.customFormData && beforeUploadArgs.customFormData.length > 0 ?
|
|
18384
|
+
beforeUploadArgs.customFormData : _this.uploadObj.customFormDatas;
|
|
18385
|
+
_this.uploadObj.uploadFiles(rawFile, null);
|
|
18270
18386
|
/* eslint-enable */
|
|
18271
18387
|
});
|
|
18272
18388
|
}
|
|
@@ -18278,7 +18394,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18278
18394
|
// eslint-disable-next-line
|
|
18279
18395
|
failure: function (e) {
|
|
18280
18396
|
setTimeout(function () {
|
|
18281
|
-
_this.uploadFailure(imgElem, uploadObj, popupObj, e);
|
|
18397
|
+
_this.uploadFailure(imgElem, _this.uploadObj, _this.popupObj, e);
|
|
18282
18398
|
}, 900);
|
|
18283
18399
|
},
|
|
18284
18400
|
canceling: function () {
|
|
@@ -18287,7 +18403,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18287
18403
|
detach(imgElem.nextSibling);
|
|
18288
18404
|
}
|
|
18289
18405
|
detach(imgElem);
|
|
18290
|
-
popupObj.close();
|
|
18406
|
+
_this.popupObj.close();
|
|
18291
18407
|
},
|
|
18292
18408
|
selected: function (e) {
|
|
18293
18409
|
e.cancel = true;
|
|
@@ -18301,10 +18417,10 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18301
18417
|
detach(imgElem.nextSibling);
|
|
18302
18418
|
}
|
|
18303
18419
|
detach(imgElem);
|
|
18304
|
-
popupObj.close();
|
|
18420
|
+
_this.popupObj.close();
|
|
18305
18421
|
}
|
|
18306
18422
|
});
|
|
18307
|
-
uploadObj.appendTo(popupObj.element.childNodes[0]);
|
|
18423
|
+
this.uploadObj.appendTo(this.popupObj.element.childNodes[0]);
|
|
18308
18424
|
/* eslint-disable */
|
|
18309
18425
|
var fileData = [{
|
|
18310
18426
|
name: fileList.name,
|
|
@@ -18314,13 +18430,13 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18314
18430
|
validationMessages: { minSize: "", maxSize: "" },
|
|
18315
18431
|
statusCode: '1'
|
|
18316
18432
|
}];
|
|
18317
|
-
uploadObj.createFileList(fileData);
|
|
18318
|
-
uploadObj.filesData.push(fileData[0]);
|
|
18433
|
+
this.uploadObj.createFileList(fileData);
|
|
18434
|
+
this.uploadObj.filesData.push(fileData[0]);
|
|
18319
18435
|
/* eslint-enable */
|
|
18320
18436
|
rawFile = fileData;
|
|
18321
|
-
uploadObj.upload(fileData);
|
|
18322
|
-
popupObj.element.getElementsByClassName('e-file-select-wrap')[0].style.display = 'none';
|
|
18323
|
-
detach(popupObj.element.querySelector('.e-rte-dialog-upload .e-file-select-wrap'));
|
|
18437
|
+
this.uploadObj.upload(fileData);
|
|
18438
|
+
this.popupObj.element.getElementsByClassName('e-file-select-wrap')[0].style.display = 'none';
|
|
18439
|
+
detach(this.popupObj.element.querySelector('.e-rte-dialog-upload .e-file-select-wrap'));
|
|
18324
18440
|
};
|
|
18325
18441
|
PasteCleanup.prototype.uploadFailure = function (imgElem, uploadObj, popupObj, e) {
|
|
18326
18442
|
this.parent.inputElement.contentEditable = 'true';
|
|
@@ -18413,19 +18529,19 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18413
18529
|
}
|
|
18414
18530
|
};
|
|
18415
18531
|
PasteCleanup.prototype.radioRender = function () {
|
|
18416
|
-
|
|
18532
|
+
this.keepRadioButton = new RadioButton({ label: this.i10n.getConstant('keepFormat'),
|
|
18417
18533
|
name: 'pasteOption', checked: true });
|
|
18418
|
-
keepRadioButton.isStringTemplate = true;
|
|
18534
|
+
this.keepRadioButton.isStringTemplate = true;
|
|
18419
18535
|
var keepFormatElement = this.parent.element.querySelector('#keepFormating');
|
|
18420
|
-
keepRadioButton.appendTo(keepFormatElement);
|
|
18421
|
-
|
|
18422
|
-
cleanRadioButton.isStringTemplate = true;
|
|
18536
|
+
this.keepRadioButton.appendTo(keepFormatElement);
|
|
18537
|
+
this.cleanRadioButton = new RadioButton({ label: this.i10n.getConstant('cleanFormat'), name: 'pasteOption' });
|
|
18538
|
+
this.cleanRadioButton.isStringTemplate = true;
|
|
18423
18539
|
var cleanFormatElement = this.parent.element.querySelector('#cleanFormat');
|
|
18424
|
-
cleanRadioButton.appendTo(cleanFormatElement);
|
|
18425
|
-
|
|
18426
|
-
plainTextRadioButton.isStringTemplate = true;
|
|
18540
|
+
this.cleanRadioButton.appendTo(cleanFormatElement);
|
|
18541
|
+
this.plainTextRadioButton = new RadioButton({ label: this.i10n.getConstant('plainText'), name: 'pasteOption' });
|
|
18542
|
+
this.plainTextRadioButton.isStringTemplate = true;
|
|
18427
18543
|
var plainTextElement = this.parent.element.querySelector('#plainTextFormat');
|
|
18428
|
-
plainTextRadioButton.appendTo(plainTextElement);
|
|
18544
|
+
this.plainTextRadioButton.appendTo(plainTextElement);
|
|
18429
18545
|
};
|
|
18430
18546
|
PasteCleanup.prototype.selectFormatting = function (value, args, keepChecked, cleanChecked) {
|
|
18431
18547
|
if (keepChecked) {
|
|
@@ -18446,15 +18562,15 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18446
18562
|
buttons: [
|
|
18447
18563
|
{
|
|
18448
18564
|
click: function () {
|
|
18449
|
-
if (!
|
|
18565
|
+
if (!_this.dialogObj.isDestroyed) {
|
|
18450
18566
|
var keepChecked = _this.parent.element.querySelector('#keepFormating').checked;
|
|
18451
18567
|
var cleanChecked = _this.parent.element.querySelector('#cleanFormat').checked;
|
|
18452
|
-
|
|
18568
|
+
_this.dialogObj.hide();
|
|
18453
18569
|
_this.parent.height = isHeight ? preRTEHeight : _this.parent.height;
|
|
18454
18570
|
isHeight = false;
|
|
18455
|
-
var argument =
|
|
18571
|
+
var argument = _this.dialogObj;
|
|
18456
18572
|
_this.dialogRenderObj.close(argument);
|
|
18457
|
-
|
|
18573
|
+
_this.dialogObj.destroy();
|
|
18458
18574
|
_this.selectFormatting(value, args, keepChecked, cleanChecked);
|
|
18459
18575
|
}
|
|
18460
18576
|
},
|
|
@@ -18466,13 +18582,13 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18466
18582
|
},
|
|
18467
18583
|
{
|
|
18468
18584
|
click: function () {
|
|
18469
|
-
if (!
|
|
18470
|
-
|
|
18585
|
+
if (!_this.dialogObj.isDestroyed) {
|
|
18586
|
+
_this.dialogObj.hide();
|
|
18471
18587
|
_this.parent.height = isHeight ? preRTEHeight : _this.parent.height;
|
|
18472
18588
|
isHeight = false;
|
|
18473
|
-
var args_1 =
|
|
18589
|
+
var args_1 = _this.dialogObj;
|
|
18474
18590
|
_this.dialogRenderObj.close(args_1);
|
|
18475
|
-
|
|
18591
|
+
_this.dialogObj.destroy();
|
|
18476
18592
|
}
|
|
18477
18593
|
},
|
|
18478
18594
|
buttonModel: {
|
|
@@ -18495,7 +18611,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18495
18611
|
isModal: true,
|
|
18496
18612
|
visible: false
|
|
18497
18613
|
};
|
|
18498
|
-
|
|
18614
|
+
this.dialogObj = this.dialogRenderObj.render(dialogModel);
|
|
18499
18615
|
var rteDialogWrapper = this.parent.element.querySelector('#' + this.parent.getID()
|
|
18500
18616
|
+ '_pasteCleanupDialog');
|
|
18501
18617
|
if (rteDialogWrapper !== null && rteDialogWrapper.innerHTML !== '') {
|
|
@@ -18507,15 +18623,42 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
18507
18623
|
});
|
|
18508
18624
|
this.parent.element.appendChild(rteDialogWrapper);
|
|
18509
18625
|
}
|
|
18510
|
-
|
|
18626
|
+
this.dialogObj.appendTo(rteDialogWrapper);
|
|
18511
18627
|
this.radioRender();
|
|
18512
18628
|
/* eslint-disable */
|
|
18513
|
-
if (this.parent.element.offsetHeight < parseInt(
|
|
18514
|
-
this.parent.height = parseInt(
|
|
18629
|
+
if (this.parent.element.offsetHeight < parseInt(this.dialogObj.height.split('px')[0], null)) {
|
|
18630
|
+
this.parent.height = parseInt(this.dialogObj.height.split('px')[0], null) + 40;
|
|
18515
18631
|
/* eslint-enable */
|
|
18516
18632
|
isHeight = true;
|
|
18517
18633
|
}
|
|
18518
|
-
|
|
18634
|
+
this.dialogObj.show();
|
|
18635
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
18636
|
+
};
|
|
18637
|
+
PasteCleanup.prototype.updateCss = function (currentObj, e) {
|
|
18638
|
+
if (currentObj && e.cssClass) {
|
|
18639
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
18640
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
18641
|
+
}
|
|
18642
|
+
else {
|
|
18643
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
18644
|
+
}
|
|
18645
|
+
}
|
|
18646
|
+
};
|
|
18647
|
+
PasteCleanup.prototype.setCssClass = function (e) {
|
|
18648
|
+
if (this.popupObj && e.cssClass) {
|
|
18649
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
18650
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
18651
|
+
}
|
|
18652
|
+
else {
|
|
18653
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
18654
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
18655
|
+
}
|
|
18656
|
+
}
|
|
18657
|
+
this.updateCss(this.dialogObj, e);
|
|
18658
|
+
this.updateCss(this.uploadObj, e);
|
|
18659
|
+
this.updateCss(this.plainTextRadioButton, e);
|
|
18660
|
+
this.updateCss(this.cleanRadioButton, e);
|
|
18661
|
+
this.updateCss(this.keepRadioButton, e);
|
|
18519
18662
|
};
|
|
18520
18663
|
PasteCleanup.prototype.destroyDialog = function (rteDialogWrapper) {
|
|
18521
18664
|
var rteDialogContainer = this.parent.element.querySelector('.e-dlg-container');
|
|
@@ -19061,6 +19204,17 @@ var FileManager$1 = /** @__PURE__ @class */ (function () {
|
|
|
19061
19204
|
this.dialogObj.createElement = this.parent.createElement;
|
|
19062
19205
|
this.dialogObj.appendTo(dlgTarget);
|
|
19063
19206
|
this.dialogObj.show(Browser.isDevice ? true : false);
|
|
19207
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
19208
|
+
};
|
|
19209
|
+
FileManager$$1.prototype.setCssClass = function (e) {
|
|
19210
|
+
if (this.dialogObj && e.cssClass) {
|
|
19211
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
19212
|
+
this.dialogObj.setProperties({ cssClass: (this.dialogObj.cssClass + ' ' + e.cssClass).trim() });
|
|
19213
|
+
}
|
|
19214
|
+
else {
|
|
19215
|
+
this.dialogObj.setProperties({ cssClass: (this.dialogObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
19216
|
+
}
|
|
19217
|
+
}
|
|
19064
19218
|
};
|
|
19065
19219
|
FileManager$$1.prototype.renderFileManager = function () {
|
|
19066
19220
|
var _this = this;
|
|
@@ -19185,12 +19339,14 @@ var FileManager$1 = /** @__PURE__ @class */ (function () {
|
|
|
19185
19339
|
FileManager$$1.prototype.addEventListener = function () {
|
|
19186
19340
|
this.parent.on(initialEnd, this.initialize, this);
|
|
19187
19341
|
this.parent.on(renderFileManager, this.render, this);
|
|
19342
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
19188
19343
|
this.parent.on(destroy, this.destroy, this);
|
|
19189
19344
|
};
|
|
19190
19345
|
FileManager$$1.prototype.removeEventListener = function () {
|
|
19191
19346
|
EventHandler.remove(this.parent.element.ownerDocument, 'mousedown', this.onDocumentClick);
|
|
19192
19347
|
this.parent.off(initialEnd, this.initialize);
|
|
19193
19348
|
this.parent.off(renderFileManager, this.render);
|
|
19349
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
19194
19350
|
this.parent.off(destroy, this.destroy);
|
|
19195
19351
|
};
|
|
19196
19352
|
FileManager$$1.prototype.destroyComponents = function () {
|
|
@@ -19570,6 +19726,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19570
19726
|
this.parent.on(editLink, this.editLink, this);
|
|
19571
19727
|
this.parent.on(openLink, this.openLink, this);
|
|
19572
19728
|
this.parent.on(editAreaClick, this.editAreaClickHandler, this);
|
|
19729
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
19573
19730
|
this.parent.on(destroy, this.destroy, this);
|
|
19574
19731
|
};
|
|
19575
19732
|
Link.prototype.onToolbarAction = function (args) {
|
|
@@ -19602,6 +19759,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19602
19759
|
this.parent.off(editLink, this.editLink);
|
|
19603
19760
|
this.parent.off(openLink, this.openLink);
|
|
19604
19761
|
this.parent.off(editAreaClick, this.editAreaClickHandler);
|
|
19762
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
19605
19763
|
this.parent.off(destroy, this.destroy);
|
|
19606
19764
|
};
|
|
19607
19765
|
Link.prototype.onIframeMouseDown = function () {
|
|
@@ -19609,6 +19767,20 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19609
19767
|
this.dialogObj.hide({ returnValue: true });
|
|
19610
19768
|
}
|
|
19611
19769
|
};
|
|
19770
|
+
Link.prototype.updateCss = function (currentObj, e) {
|
|
19771
|
+
if (currentObj && e.cssClass) {
|
|
19772
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
19773
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
19774
|
+
}
|
|
19775
|
+
else {
|
|
19776
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
19777
|
+
}
|
|
19778
|
+
}
|
|
19779
|
+
};
|
|
19780
|
+
Link.prototype.setCssClass = function (e) {
|
|
19781
|
+
this.updateCss(this.checkBoxObj, e);
|
|
19782
|
+
this.updateCss(this.dialogObj, e);
|
|
19783
|
+
};
|
|
19612
19784
|
Link.prototype.showLinkQuickToolbar = function (e) {
|
|
19613
19785
|
if (!isNullOrUndefined(e.args) && e.args.action !== 'enter' &&
|
|
19614
19786
|
e.args.action !== 'space') {
|
|
@@ -19737,6 +19909,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19737
19909
|
};
|
|
19738
19910
|
Link.prototype.showDialog = function () {
|
|
19739
19911
|
this.openDialog(false);
|
|
19912
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
19740
19913
|
};
|
|
19741
19914
|
Link.prototype.closeDialog = function () {
|
|
19742
19915
|
if (this.dialogObj) {
|
|
@@ -19792,7 +19965,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19792
19965
|
var linkText = linkContent.querySelector('.e-rte-linkText');
|
|
19793
19966
|
var linkTitle = linkContent.querySelector('.e-rte-linkTitle');
|
|
19794
19967
|
var linkOpenLabel = this.i10n.getConstant('linkOpenInNewWindow');
|
|
19795
|
-
this.checkBoxObj = new CheckBox({ label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl });
|
|
19968
|
+
this.checkBoxObj = new CheckBox({ label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass });
|
|
19796
19969
|
this.checkBoxObj.isStringTemplate = true;
|
|
19797
19970
|
this.checkBoxObj.createElement = this.parent.createElement;
|
|
19798
19971
|
this.checkBoxObj.appendTo(linkTarget);
|
|
@@ -19805,7 +19978,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19805
19978
|
var dialogModel = {
|
|
19806
19979
|
header: this.i10n.getConstant('linkHeader'),
|
|
19807
19980
|
content: linkContent,
|
|
19808
|
-
cssClass: CLS_RTE_ELEMENTS,
|
|
19981
|
+
cssClass: CLS_RTE_ELEMENTS + ' ' + this.parent.cssClass,
|
|
19809
19982
|
enableRtl: this.parent.enableRtl,
|
|
19810
19983
|
locale: this.parent.locale,
|
|
19811
19984
|
showCloseIcon: true, closeOnEscape: true, width: (Browser.isDevice) ? '290px' : '310px', height: 'inherit',
|
|
@@ -20088,6 +20261,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20088
20261
|
this.parent.on(initialEnd, this.afterRender, this);
|
|
20089
20262
|
this.parent.on(dynamicModule, this.afterRender, this);
|
|
20090
20263
|
this.parent.on(paste, this.imagePaste, this);
|
|
20264
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
20091
20265
|
this.parent.on(destroy, this.removeEventListener, this);
|
|
20092
20266
|
};
|
|
20093
20267
|
Image.prototype.removeEventListener = function () {
|
|
@@ -20114,6 +20288,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20114
20288
|
this.parent.off(initialEnd, this.afterRender);
|
|
20115
20289
|
this.parent.off(dynamicModule, this.afterRender);
|
|
20116
20290
|
this.parent.off(paste, this.imagePaste);
|
|
20291
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
20117
20292
|
this.parent.off(destroy, this.removeEventListener);
|
|
20118
20293
|
var dropElement = this.parent.iframeSettings.enable ? this.parent.inputElement.ownerDocument
|
|
20119
20294
|
: this.parent.inputElement;
|
|
@@ -20131,6 +20306,32 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20131
20306
|
}
|
|
20132
20307
|
}
|
|
20133
20308
|
};
|
|
20309
|
+
Image.prototype.updateCss = function (currentObj, e) {
|
|
20310
|
+
if (currentObj && e.cssClass) {
|
|
20311
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
20312
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
20313
|
+
}
|
|
20314
|
+
else {
|
|
20315
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
20316
|
+
}
|
|
20317
|
+
}
|
|
20318
|
+
};
|
|
20319
|
+
Image.prototype.setCssClass = function (e) {
|
|
20320
|
+
if (this.popupObj && e.cssClass) {
|
|
20321
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
20322
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
20323
|
+
}
|
|
20324
|
+
else {
|
|
20325
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
20326
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
20327
|
+
}
|
|
20328
|
+
}
|
|
20329
|
+
this.updateCss(this.checkBoxObj, e);
|
|
20330
|
+
this.updateCss(this.widthNum, e);
|
|
20331
|
+
this.updateCss(this.heightNum, e);
|
|
20332
|
+
this.updateCss(this.uploadObj, e);
|
|
20333
|
+
this.updateCss(this.dialogObj, e);
|
|
20334
|
+
};
|
|
20134
20335
|
Image.prototype.onIframeMouseDown = function () {
|
|
20135
20336
|
if (this.dialogObj) {
|
|
20136
20337
|
this.dialogObj.hide({ returnValue: true });
|
|
@@ -20734,6 +20935,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20734
20935
|
};
|
|
20735
20936
|
Image.prototype.showDialog = function () {
|
|
20736
20937
|
this.openDialog(false);
|
|
20938
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
20737
20939
|
};
|
|
20738
20940
|
Image.prototype.closeDialog = function () {
|
|
20739
20941
|
if (this.dialogObj) {
|
|
@@ -20953,7 +21155,8 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20953
21155
|
var inputLink = linkWrap.querySelector('.e-img-link');
|
|
20954
21156
|
var linkOpenLabel = this.i10n.getConstant('linkOpenInNewWindow');
|
|
20955
21157
|
this.checkBoxObj = new CheckBox({
|
|
20956
|
-
label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl,
|
|
21158
|
+
label: linkOpenLabel, checked: true, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass,
|
|
21159
|
+
change: function (e) {
|
|
20957
21160
|
if (e.checked) {
|
|
20958
21161
|
target_1 = '_blank';
|
|
20959
21162
|
}
|
|
@@ -20988,6 +21191,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20988
21191
|
}
|
|
20989
21192
|
}]
|
|
20990
21193
|
});
|
|
21194
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21195
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21196
|
+
}
|
|
20991
21197
|
if (!isNullOrUndefined(inputDetails)) {
|
|
20992
21198
|
inputLink.value = inputDetails.url;
|
|
20993
21199
|
// eslint-disable-next-line
|
|
@@ -21033,6 +21239,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21033
21239
|
}
|
|
21034
21240
|
}]
|
|
21035
21241
|
});
|
|
21242
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21243
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21244
|
+
}
|
|
21036
21245
|
this.dialogObj.element.style.maxHeight = 'inherit';
|
|
21037
21246
|
this.dialogObj.content.querySelector('input').focus();
|
|
21038
21247
|
}
|
|
@@ -21253,6 +21462,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21253
21462
|
}
|
|
21254
21463
|
}]
|
|
21255
21464
|
});
|
|
21465
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
21466
|
+
this.dialogObj.setProperties({ cssClass: this.parent.cssClass });
|
|
21467
|
+
}
|
|
21256
21468
|
this.dialogObj.element.style.maxHeight = 'inherit';
|
|
21257
21469
|
this.dialogObj.content.querySelector('input').focus();
|
|
21258
21470
|
}
|
|
@@ -21530,24 +21742,26 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21530
21742
|
+ ' /></div>';
|
|
21531
21743
|
var contentElem = parseHtml(content);
|
|
21532
21744
|
imgSizeWrap.appendChild(contentElem);
|
|
21533
|
-
|
|
21745
|
+
this.widthNum = new TextBox({
|
|
21534
21746
|
value: formatUnit(widthVal),
|
|
21535
21747
|
enableRtl: this.parent.enableRtl,
|
|
21748
|
+
cssClass: this.parent.cssClass,
|
|
21536
21749
|
input: function (e) {
|
|
21537
21750
|
_this.inputWidthValue = formatUnit(_this.inputValue(e.value));
|
|
21538
21751
|
}
|
|
21539
21752
|
});
|
|
21540
|
-
widthNum.createElement = this.parent.createElement;
|
|
21541
|
-
widthNum.appendTo(imgSizeWrap.querySelector('#imgwidth'));
|
|
21542
|
-
|
|
21753
|
+
this.widthNum.createElement = this.parent.createElement;
|
|
21754
|
+
this.widthNum.appendTo(imgSizeWrap.querySelector('#imgwidth'));
|
|
21755
|
+
this.heightNum = new TextBox({
|
|
21543
21756
|
value: formatUnit(heightVal),
|
|
21544
21757
|
enableRtl: this.parent.enableRtl,
|
|
21758
|
+
cssClass: this.parent.cssClass,
|
|
21545
21759
|
input: function (e) {
|
|
21546
21760
|
_this.inputHeightValue = formatUnit(_this.inputValue(e.value));
|
|
21547
21761
|
}
|
|
21548
21762
|
});
|
|
21549
|
-
heightNum.createElement = this.parent.createElement;
|
|
21550
|
-
heightNum.appendTo(imgSizeWrap.querySelector('#imgheight'));
|
|
21763
|
+
this.heightNum.createElement = this.parent.createElement;
|
|
21764
|
+
this.heightNum.appendTo(imgSizeWrap.querySelector('#imgheight'));
|
|
21551
21765
|
return imgSizeWrap;
|
|
21552
21766
|
};
|
|
21553
21767
|
Image.prototype.inputValue = function (value) {
|
|
@@ -21627,10 +21841,10 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21627
21841
|
span.appendChild(btnEle);
|
|
21628
21842
|
uploadParentEle.appendChild(span);
|
|
21629
21843
|
var browserMsg = this.i10n.getConstant('browse');
|
|
21630
|
-
|
|
21631
|
-
|
|
21632
|
-
|
|
21633
|
-
|
|
21844
|
+
this.browseButton = new Button({ content: browserMsg, enableRtl: this.parent.enableRtl });
|
|
21845
|
+
this.browseButton.isStringTemplate = true;
|
|
21846
|
+
this.browseButton.createElement = this.parent.createElement;
|
|
21847
|
+
this.browseButton.appendTo(btnEle);
|
|
21634
21848
|
var btnClick = (Browser.isDevice) ? span : btnEle;
|
|
21635
21849
|
EventHandler.add(btnClick, 'click', this.fileSelect, this);
|
|
21636
21850
|
var uploadEle = this.parent.createElement('input', {
|
|
@@ -21644,7 +21858,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21644
21858
|
var beforeUploadArgs;
|
|
21645
21859
|
this.uploadObj = new Uploader({
|
|
21646
21860
|
asyncSettings: { saveUrl: this.parent.insertImageSettings.saveUrl, removeUrl: this.parent.insertImageSettings.removeUrl },
|
|
21647
|
-
dropArea: span, multiple: false, enableRtl: this.parent.enableRtl,
|
|
21861
|
+
dropArea: span, multiple: false, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass,
|
|
21648
21862
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
21649
21863
|
selected: function (e) {
|
|
21650
21864
|
proxy.isImgUploaded = true;
|
|
@@ -22024,6 +22238,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
22024
22238
|
this.popupObj.element.style.display = 'none';
|
|
22025
22239
|
addClass([this.popupObj.element], CLS_POPUP_OPEN);
|
|
22026
22240
|
addClass([this.popupObj.element], CLS_RTE_UPLOAD_POPUP);
|
|
22241
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
22242
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
22243
|
+
}
|
|
22027
22244
|
var range = this.parent.formatter.editorManager.nodeSelection.getRange(this.parent.contentModule.getDocument());
|
|
22028
22245
|
var timeOut = dragEvent.dataTransfer.files[0].size > 1000000 ? 300 : 100;
|
|
22029
22246
|
setTimeout(function () {
|
|
@@ -22036,7 +22253,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
22036
22253
|
saveUrl: this.parent.insertImageSettings.saveUrl,
|
|
22037
22254
|
removeUrl: this.parent.insertImageSettings.removeUrl
|
|
22038
22255
|
},
|
|
22039
|
-
cssClass: CLS_RTE_DIALOG_UPLOAD,
|
|
22256
|
+
cssClass: CLS_RTE_DIALOG_UPLOAD + ' ' + this.parent.cssClass,
|
|
22040
22257
|
dropArea: this.parent.element,
|
|
22041
22258
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
22042
22259
|
removing: function () {
|
|
@@ -22576,6 +22793,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22576
22793
|
this.parent.on(dropDownSelect, this.dropdownSelect, this);
|
|
22577
22794
|
this.parent.on(keyDown, this.keyDown, this);
|
|
22578
22795
|
this.parent.on(mouseUp, this.selectionTable, this);
|
|
22796
|
+
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
22579
22797
|
this.parent.on(destroy, this.destroy, this);
|
|
22580
22798
|
};
|
|
22581
22799
|
Table.prototype.removeEventListener = function () {
|
|
@@ -22596,8 +22814,38 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22596
22814
|
this.parent.off(tableColorPickerChanged, this.setBGColor);
|
|
22597
22815
|
this.parent.off(keyDown, this.keyDown);
|
|
22598
22816
|
this.parent.off(mouseUp, this.selectionTable);
|
|
22817
|
+
this.parent.off(bindCssClass, this.setCssClass);
|
|
22599
22818
|
this.parent.off(destroy, this.destroy);
|
|
22600
22819
|
};
|
|
22820
|
+
Table.prototype.updateCss = function (currentObj, e) {
|
|
22821
|
+
if (currentObj && e.cssClass) {
|
|
22822
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
22823
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass + ' ' + e.cssClass).trim() });
|
|
22824
|
+
}
|
|
22825
|
+
else {
|
|
22826
|
+
currentObj.setProperties({ cssClass: (currentObj.cssClass.replace(e.oldCssClass, '').trim() + ' ' + e.cssClass).trim() });
|
|
22827
|
+
}
|
|
22828
|
+
}
|
|
22829
|
+
};
|
|
22830
|
+
Table.prototype.setCssClass = function (e) {
|
|
22831
|
+
if (this.popupObj && e.cssClass) {
|
|
22832
|
+
if (isNullOrUndefined(e.oldCssClass)) {
|
|
22833
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
22834
|
+
}
|
|
22835
|
+
else {
|
|
22836
|
+
removeClass([this.popupObj.element], e.oldCssClass);
|
|
22837
|
+
addClass([this.popupObj.element], e.cssClass);
|
|
22838
|
+
}
|
|
22839
|
+
}
|
|
22840
|
+
this.updateCss(this.createTableButton, e);
|
|
22841
|
+
this.updateCss(this.editdlgObj, e);
|
|
22842
|
+
var numericTextBoxObj = [
|
|
22843
|
+
this.columnTextBox, this.rowTextBox, this.tableWidthNum, this.tableCellPadding, this.tableCellSpacing
|
|
22844
|
+
];
|
|
22845
|
+
for (var i = 0; i < numericTextBoxObj.length; i++) {
|
|
22846
|
+
this.updateCss(numericTextBoxObj[i], e);
|
|
22847
|
+
}
|
|
22848
|
+
};
|
|
22601
22849
|
Table.prototype.selectionTable = function (e) {
|
|
22602
22850
|
var target = e.args.target;
|
|
22603
22851
|
if (Browser.info.name === 'mozilla' && !isNullOrUndefined(closest(target, 'table')) && closest(target, 'table').tagName === 'TABLE') {
|
|
@@ -22730,6 +22978,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
22730
22978
|
};
|
|
22731
22979
|
Table.prototype.showDialog = function () {
|
|
22732
22980
|
this.openDialog(false);
|
|
22981
|
+
this.setCssClass({ cssClass: this.parent.cssClass });
|
|
22733
22982
|
};
|
|
22734
22983
|
Table.prototype.closeDialog = function () {
|
|
22735
22984
|
if (this.editdlgObj) {
|
|
@@ -23303,7 +23552,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23303
23552
|
var tableWidth = parseInt(getComputedStyle(_this.curTable).width, 10);
|
|
23304
23553
|
var tableHeight = parseInt(getComputedStyle(_this.curTable).height, 10);
|
|
23305
23554
|
var paddingSize = +getComputedStyle(_this.contentModule.getEditPanel()).paddingRight.match(/\d/g).join('');
|
|
23306
|
-
var rteWidth = _this.contentModule.getEditPanel().offsetWidth -
|
|
23555
|
+
var rteWidth = _this.contentModule.getEditPanel().offsetWidth - (_this.contentModule.getEditPanel().offsetWidth -
|
|
23556
|
+
_this.contentModule.getEditPanel().clientWidth) - paddingSize * 2;
|
|
23307
23557
|
if (_this.resizeBtnStat.column) {
|
|
23308
23558
|
var cellColl = _this.curTable.rows[_this.calMaxCol(_this.curTable)].cells;
|
|
23309
23559
|
var width = parseFloat(_this.columnEle.offsetWidth.toString());
|
|
@@ -23450,12 +23700,12 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23450
23700
|
this.parent.getToolbarElement().querySelector('.e-expended-nav').setAttribute('tabindex', '1');
|
|
23451
23701
|
}
|
|
23452
23702
|
this.dlgDiv.appendChild(btnEle);
|
|
23453
|
-
|
|
23454
|
-
iconCss: 'e-icons e-create-table', content: insertbtn, cssClass: 'e-flat',
|
|
23703
|
+
this.createTableButton = new Button({
|
|
23704
|
+
iconCss: 'e-icons e-create-table', content: insertbtn, cssClass: 'e-flat' + ' ' + this.parent.cssClass,
|
|
23455
23705
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23456
23706
|
});
|
|
23457
|
-
|
|
23458
|
-
|
|
23707
|
+
this.createTableButton.isStringTemplate = true;
|
|
23708
|
+
this.createTableButton.appendTo(btnEle);
|
|
23459
23709
|
EventHandler.add(btnEle, 'click', this.insertTableDialog, { self: this, args: args.args, selection: args.selection });
|
|
23460
23710
|
this.parent.getToolbar().appendChild(this.dlgDiv);
|
|
23461
23711
|
var target = args.args.originalEvent.target;
|
|
@@ -23478,6 +23728,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23478
23728
|
}
|
|
23479
23729
|
});
|
|
23480
23730
|
addClass([this.popupObj.element], 'e-popup-open');
|
|
23731
|
+
if (!isNullOrUndefined(this.parent.cssClass)) {
|
|
23732
|
+
addClass([this.popupObj.element], this.parent.cssClass);
|
|
23733
|
+
}
|
|
23481
23734
|
this.popupObj.refreshPosition(target);
|
|
23482
23735
|
};
|
|
23483
23736
|
Table.prototype.docClick = function (e) {
|
|
@@ -23550,7 +23803,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23550
23803
|
_this.cancelDialog(e);
|
|
23551
23804
|
},
|
|
23552
23805
|
buttonModel: { cssClass: 'e-flat e-cancel', content: cancel }
|
|
23553
|
-
}]
|
|
23806
|
+
}],
|
|
23807
|
+
cssClass: this.parent.cssClass
|
|
23554
23808
|
});
|
|
23555
23809
|
this.editdlgObj.element.style.maxHeight = 'none';
|
|
23556
23810
|
this.editdlgObj.content.querySelector('input').focus();
|
|
@@ -23581,6 +23835,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23581
23835
|
buttonModel: { cssClass: 'e-flat e-cancel', content: cancel }
|
|
23582
23836
|
}]
|
|
23583
23837
|
});
|
|
23838
|
+
if (!isNullOrUndefined(proxy.parent.cssClass)) {
|
|
23839
|
+
proxy.editdlgObj.setProperties({ cssClass: proxy.parent.cssClass });
|
|
23840
|
+
}
|
|
23584
23841
|
proxy.editdlgObj.element.style.maxHeight = 'none';
|
|
23585
23842
|
proxy.editdlgObj.content.querySelector('input').focus();
|
|
23586
23843
|
};
|
|
@@ -23600,7 +23857,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23600
23857
|
placeholder: tableColumn,
|
|
23601
23858
|
floatLabelType: 'Auto',
|
|
23602
23859
|
max: 50,
|
|
23603
|
-
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23860
|
+
enableRtl: this.parent.enableRtl, locale: this.parent.locale,
|
|
23861
|
+
cssClass: this.parent.cssClass
|
|
23604
23862
|
});
|
|
23605
23863
|
this.columnTextBox.isStringTemplate = true;
|
|
23606
23864
|
this.columnTextBox.appendTo(tableWrap.querySelector('#tableColumn'));
|
|
@@ -23611,7 +23869,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23611
23869
|
placeholder: tableRow,
|
|
23612
23870
|
floatLabelType: 'Auto',
|
|
23613
23871
|
max: 50,
|
|
23614
|
-
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23872
|
+
enableRtl: this.parent.enableRtl, locale: this.parent.locale,
|
|
23873
|
+
cssClass: this.parent.cssClass
|
|
23615
23874
|
});
|
|
23616
23875
|
this.rowTextBox.isStringTemplate = true;
|
|
23617
23876
|
this.rowTextBox.appendTo(tableWrap.querySelector('#tableRow'));
|
|
@@ -23640,7 +23899,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23640
23899
|
var header = this.l10n.getConstant('tabledialogHeader');
|
|
23641
23900
|
var dialogModel = {
|
|
23642
23901
|
header: header,
|
|
23643
|
-
cssClass: CLS_RTE_ELEMENTS,
|
|
23902
|
+
cssClass: CLS_RTE_ELEMENTS + ' ' + this.parent.cssClass,
|
|
23644
23903
|
enableRtl: this.parent.enableRtl,
|
|
23645
23904
|
locale: this.parent.locale,
|
|
23646
23905
|
showCloseIcon: true, closeOnEscape: true, width: (Browser.isDevice) ? '290px' : '340px', height: 'initial',
|
|
@@ -23730,7 +23989,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23730
23989
|
+ ' </div><div class="e-rte-field"><input type="text" data-role ="none" id="cellSpacing" class="e-cell-spacing" /></div>';
|
|
23731
23990
|
var contentElem = parseHtml(content);
|
|
23732
23991
|
tableWrap.appendChild(contentElem);
|
|
23733
|
-
|
|
23992
|
+
this.tableWidthNum = new NumericTextBox({
|
|
23734
23993
|
format: 'n0',
|
|
23735
23994
|
min: 0,
|
|
23736
23995
|
value: widthVal,
|
|
@@ -23738,9 +23997,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23738
23997
|
floatLabelType: 'Auto',
|
|
23739
23998
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23740
23999
|
});
|
|
23741
|
-
|
|
23742
|
-
|
|
23743
|
-
|
|
24000
|
+
this.tableWidthNum.isStringTemplate = true;
|
|
24001
|
+
this.tableWidthNum.appendTo(tableWrap.querySelector('#tableWidth'));
|
|
24002
|
+
this.tableCellPadding = new NumericTextBox({
|
|
23744
24003
|
format: 'n0',
|
|
23745
24004
|
min: 0,
|
|
23746
24005
|
// eslint-disable-next-line
|
|
@@ -23749,9 +24008,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23749
24008
|
floatLabelType: 'Auto',
|
|
23750
24009
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23751
24010
|
});
|
|
23752
|
-
|
|
23753
|
-
|
|
23754
|
-
|
|
24011
|
+
this.tableCellPadding.isStringTemplate = true;
|
|
24012
|
+
this.tableCellPadding.appendTo(tableWrap.querySelector('#cellPadding'));
|
|
24013
|
+
this.tableCellSpacing = new NumericTextBox({
|
|
23755
24014
|
format: 'n0',
|
|
23756
24015
|
min: 0,
|
|
23757
24016
|
// eslint-disable-next-line
|
|
@@ -23760,8 +24019,8 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23760
24019
|
floatLabelType: 'Auto',
|
|
23761
24020
|
enableRtl: this.parent.enableRtl, locale: this.parent.locale
|
|
23762
24021
|
});
|
|
23763
|
-
|
|
23764
|
-
|
|
24022
|
+
this.tableCellSpacing.isStringTemplate = true;
|
|
24023
|
+
this.tableCellSpacing.appendTo(tableWrap.querySelector('#cellSpacing'));
|
|
23765
24024
|
return tableWrap;
|
|
23766
24025
|
};
|
|
23767
24026
|
/**
|
|
@@ -24776,8 +25035,9 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
|
|
|
24776
25035
|
};
|
|
24777
25036
|
EnterKeyAction.prototype.removeBRElement = function (currentElement) {
|
|
24778
25037
|
if (Browser.userAgent.indexOf('Firefox') != -1 &&
|
|
24779
|
-
this.range.endOffset === currentElement.textContent.length &&
|
|
24780
|
-
currentElement.
|
|
25038
|
+
this.range.endOffset === currentElement.textContent.length && (currentElement.textContent.length !== 0 ||
|
|
25039
|
+
currentElement.querySelectorAll('BR').length > 1) &&
|
|
25040
|
+
!isNullOrUndefined(currentElement.lastChild) && currentElement.lastChild.nodeName === 'BR') {
|
|
24781
25041
|
detach(currentElement.lastChild);
|
|
24782
25042
|
}
|
|
24783
25043
|
};
|
|
@@ -25251,6 +25511,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25251
25511
|
}
|
|
25252
25512
|
// eslint-disable-next-line
|
|
25253
25513
|
(!this.enabled) ? this.unWireEvents() : this.eventInitializer();
|
|
25514
|
+
this.notify(bindCssClass, { cssClass: this.cssClass });
|
|
25254
25515
|
this.renderComplete();
|
|
25255
25516
|
};
|
|
25256
25517
|
/**
|
|
@@ -25833,6 +26094,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25833
26094
|
case 'cssClass':
|
|
25834
26095
|
this.element.classList.remove(oldProp[prop]);
|
|
25835
26096
|
this.setCssClass(newProp[prop]);
|
|
26097
|
+
this.notify(bindCssClass, { cssClass: newProp[prop], oldCssClass: oldProp[prop] });
|
|
25836
26098
|
break;
|
|
25837
26099
|
case 'enabled':
|
|
25838
26100
|
this.setEnable();
|
|
@@ -27214,5 +27476,5 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
27214
27476
|
* Rich Text Editor component exported items
|
|
27215
27477
|
*/
|
|
27216
27478
|
|
|
27217
|
-
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 };
|
|
27479
|
+
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 };
|
|
27218
27480
|
//# sourceMappingURL=ej2-richtexteditor.es5.js.map
|