@syncfusion/ej2-richtexteditor 20.2.40 → 20.2.45
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 +20 -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 +121 -35
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +121 -35
- 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/lists.d.ts +3 -0
- package/src/editor-manager/plugin/lists.js +29 -0
- package/src/rich-text-editor/actions/base-toolbar.d.ts +6 -1
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +6 -1
- package/src/rich-text-editor/actions/enter-key.d.ts +1 -0
- package/src/rich-text-editor/actions/enter-key.js +7 -1
- package/src/rich-text-editor/actions/full-screen.d.ts +1 -0
- package/src/rich-text-editor/actions/full-screen.js +5 -0
- package/src/rich-text-editor/actions/markdown-editor.d.ts +1 -0
- package/src/rich-text-editor/actions/markdown-editor.js +6 -0
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +1 -0
- package/src/rich-text-editor/actions/quick-toolbar.js +5 -0
- package/src/rich-text-editor/actions/toolbar-action.d.ts +6 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +1 -0
- package/src/rich-text-editor/actions/toolbar.js +8 -0
- 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/rich-text-editor.js +12 -12
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +3 -0
- package/src/rich-text-editor/renderer/dialog-renderer.js +18 -0
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -8
- package/src/rich-text-editor/renderer/image-module.js +9 -9
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -8
- package/src/rich-text-editor/renderer/link-module.js +2 -7
- package/src/rich-text-editor/renderer/render.d.ts +1 -6
- package/src/rich-text-editor/renderer/render.js +2 -5
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -0
- package/src/rich-text-editor/renderer/table-module.js +5 -0
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +6 -1
- package/src/rich-text-editor/renderer/toolbar-renderer.js +2 -1
- package/src/rich-text-editor/renderer/view-source.d.ts +1 -0
- package/src/rich-text-editor/renderer/view-source.js +5 -0
|
@@ -444,6 +444,11 @@ var checkUndo = 'checkUndoStack';
|
|
|
444
444
|
* @deprecated
|
|
445
445
|
*/
|
|
446
446
|
var readOnlyMode = 'readOnlyMode';
|
|
447
|
+
/**
|
|
448
|
+
* @hidden
|
|
449
|
+
* @deprecated
|
|
450
|
+
*/
|
|
451
|
+
var moduleDestroy = 'moduleDestroy';
|
|
447
452
|
/**
|
|
448
453
|
* @hidden
|
|
449
454
|
* @deprecated
|
|
@@ -3076,10 +3081,11 @@ var ToolbarRenderer = /** @__PURE__ @class */ (function () {
|
|
|
3076
3081
|
proxy.parent.notify(selectionRestore, {});
|
|
3077
3082
|
range = proxy.parent.formatter.editorManager.nodeSelection.getRange(proxy.parent.contentModule.getDocument());
|
|
3078
3083
|
var parentNode = range.startContainer.parentNode;
|
|
3084
|
+
var closestElement = closest(range.startContainer.parentNode, 'table');
|
|
3079
3085
|
if ((range.startContainer.nodeName === 'TD' || range.startContainer.nodeName === 'TH' ||
|
|
3080
3086
|
(closest(range.startContainer.parentNode, 'td,th')) ||
|
|
3081
3087
|
(proxy.parent.iframeSettings.enable && !hasClass(parentNode.ownerDocument.querySelector('body'), 'e-lib')))
|
|
3082
|
-
&& range.collapsed && args.subCommand === 'BackgroundColor') {
|
|
3088
|
+
&& range.collapsed && args.subCommand === 'BackgroundColor' && closest(closestElement, '.' + CLS_RTE)) {
|
|
3083
3089
|
proxy.parent.notify(tableColorPickerChanged, {
|
|
3084
3090
|
item: { command: args.command, subCommand: args.subCommand,
|
|
3085
3091
|
value: colorpickerValue }
|
|
@@ -4671,6 +4677,12 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4671
4677
|
}
|
|
4672
4678
|
}
|
|
4673
4679
|
};
|
|
4680
|
+
Toolbar$$1.prototype.moduleDestroy = function () {
|
|
4681
|
+
this.parent = null;
|
|
4682
|
+
this.baseToolbar.parent = null;
|
|
4683
|
+
this.toolbarActionModule.parent = null;
|
|
4684
|
+
this.dropDownModule.parent = null;
|
|
4685
|
+
};
|
|
4674
4686
|
Toolbar$$1.prototype.scrollHandler = function (e) {
|
|
4675
4687
|
if (!this.parent.inlineMode.enable) {
|
|
4676
4688
|
if (this.parent.toolbarSettings.enableFloating && this.getDOMVisibility(this.tbElement)) {
|
|
@@ -4772,6 +4784,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4772
4784
|
this.parent.on(mouseDown, this.mouseDownHandler, this);
|
|
4773
4785
|
this.parent.on(sourceCodeMouseDown, this.mouseDownHandler, this);
|
|
4774
4786
|
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
4787
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
4775
4788
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4776
4789
|
this.parent.on(toolbarClick, this.toolbarClickHandler, this);
|
|
4777
4790
|
}
|
|
@@ -4796,6 +4809,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
|
|
|
4796
4809
|
this.parent.off(mouseDown, this.mouseDownHandler);
|
|
4797
4810
|
this.parent.off(sourceCodeMouseDown, this.mouseDownHandler);
|
|
4798
4811
|
this.parent.off(bindCssClass, this.setCssClass);
|
|
4812
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
4799
4813
|
if (!this.parent.inlineMode.enable && !isIDevice()) {
|
|
4800
4814
|
this.parent.off(toolbarClick, this.toolbarClickHandler);
|
|
4801
4815
|
}
|
|
@@ -6108,6 +6122,9 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6108
6122
|
}
|
|
6109
6123
|
this.removeEventListener();
|
|
6110
6124
|
};
|
|
6125
|
+
QuickToolbar.prototype.moduleDestroy = function () {
|
|
6126
|
+
this.parent = null;
|
|
6127
|
+
};
|
|
6111
6128
|
QuickToolbar.prototype.wireInlineQTBarEvents = function () {
|
|
6112
6129
|
this.parent.on(mouseUp, this.mouseUpHandler, this);
|
|
6113
6130
|
this.parent.on(mouseDown, this.inlineQTBarMouseDownHandler, this);
|
|
@@ -6163,6 +6180,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6163
6180
|
this.parent.on(keyDown, this.onKeyDown, this);
|
|
6164
6181
|
this.parent.on(rtlMode, this.setRtl, this);
|
|
6165
6182
|
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
6183
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
6166
6184
|
};
|
|
6167
6185
|
QuickToolbar.prototype.onKeyDown = function (e) {
|
|
6168
6186
|
var args = e.args;
|
|
@@ -6232,6 +6250,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
6232
6250
|
this.parent.off(keyDown, this.onKeyDown);
|
|
6233
6251
|
this.parent.off(rtlMode, this.setRtl);
|
|
6234
6252
|
this.parent.off(bindCssClass, this.setCssClass);
|
|
6253
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
6235
6254
|
};
|
|
6236
6255
|
/**
|
|
6237
6256
|
* Called internally if any of the property value changed.
|
|
@@ -9358,6 +9377,10 @@ var MarkdownEditor = /** @__PURE__ @class */ (function () {
|
|
|
9358
9377
|
MarkdownEditor.prototype.destroy = function () {
|
|
9359
9378
|
this.removeEventListener();
|
|
9360
9379
|
};
|
|
9380
|
+
MarkdownEditor.prototype.moduleDestroy = function () {
|
|
9381
|
+
this.parent = null;
|
|
9382
|
+
this.toolbarUpdate.parent = null;
|
|
9383
|
+
};
|
|
9361
9384
|
MarkdownEditor.prototype.addEventListener = function () {
|
|
9362
9385
|
if (this.parent.isDestroyed) {
|
|
9363
9386
|
return;
|
|
@@ -9373,6 +9396,7 @@ var MarkdownEditor = /** @__PURE__ @class */ (function () {
|
|
|
9373
9396
|
this.parent.on(selectionSave, this.onSelectionSave, this);
|
|
9374
9397
|
this.parent.on(selectionRestore, this.onSelectionRestore, this);
|
|
9375
9398
|
this.parent.on(readOnlyMode, this.updateReadOnly, this);
|
|
9399
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
9376
9400
|
};
|
|
9377
9401
|
MarkdownEditor.prototype.updateReadOnly = function () {
|
|
9378
9402
|
if (this.parent.readonly) {
|
|
@@ -9444,6 +9468,7 @@ var MarkdownEditor = /** @__PURE__ @class */ (function () {
|
|
|
9444
9468
|
this.parent.off(selectionSave, this.onSelectionSave);
|
|
9445
9469
|
this.parent.off(selectionRestore, this.onSelectionRestore);
|
|
9446
9470
|
this.parent.off(readOnlyMode, this.updateReadOnly);
|
|
9471
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
9447
9472
|
};
|
|
9448
9473
|
MarkdownEditor.prototype.render = function () {
|
|
9449
9474
|
this.contentRenderer = this.renderFactory.getRenderer(RenderType.Content);
|
|
@@ -10838,6 +10863,7 @@ var Lists = /** @__PURE__ @class */ (function () {
|
|
|
10838
10863
|
Lists.prototype.addEventListener = function () {
|
|
10839
10864
|
this.parent.observer.on(LIST_TYPE, this.applyListsHandler, this);
|
|
10840
10865
|
this.parent.observer.on(KEY_DOWN_HANDLER, this.keyDownHandler, this);
|
|
10866
|
+
this.parent.observer.on(KEY_UP_HANDLER, this.onKeyUp, this);
|
|
10841
10867
|
this.parent.observer.on(SPACE_ACTION, this.spaceKeyAction, this);
|
|
10842
10868
|
};
|
|
10843
10869
|
Lists.prototype.testList = function (elem) {
|
|
@@ -10990,6 +11016,7 @@ var Lists = /** @__PURE__ @class */ (function () {
|
|
|
10990
11016
|
}
|
|
10991
11017
|
}
|
|
10992
11018
|
this.removeList(range, e);
|
|
11019
|
+
this.firstListBackSpace(range, e);
|
|
10993
11020
|
};
|
|
10994
11021
|
Lists.prototype.removeList = function (range, e) {
|
|
10995
11022
|
var startNode = this.parent.domNode.getSelectedNode(range.startContainer, range.startOffset);
|
|
@@ -11015,6 +11042,33 @@ var Lists = /** @__PURE__ @class */ (function () {
|
|
|
11015
11042
|
e.event.preventDefault();
|
|
11016
11043
|
}
|
|
11017
11044
|
};
|
|
11045
|
+
Lists.prototype.onKeyUp = function () {
|
|
11046
|
+
if (!isNullOrUndefined(this.commonLIParent) && !isNullOrUndefined(this.commonLIParent.querySelector('.removeList'))) {
|
|
11047
|
+
var currentLIElem = this.commonLIParent.querySelector('.removeList');
|
|
11048
|
+
while (!isNullOrUndefined(currentLIElem.firstChild)) {
|
|
11049
|
+
this.parent.domNode.insertAfter(currentLIElem.firstChild, currentLIElem);
|
|
11050
|
+
}
|
|
11051
|
+
detach(currentLIElem);
|
|
11052
|
+
}
|
|
11053
|
+
};
|
|
11054
|
+
Lists.prototype.firstListBackSpace = function (range, e) {
|
|
11055
|
+
var startNode = this.parent.domNode.getSelectedNode(range.startContainer, range.startOffset);
|
|
11056
|
+
if (!isNullOrUndefined(startNode.closest('OL'))) {
|
|
11057
|
+
this.commonLIParent = startNode.closest('OL');
|
|
11058
|
+
}
|
|
11059
|
+
else if (!isNullOrUndefined(startNode.closest('UL'))) {
|
|
11060
|
+
this.commonLIParent = startNode.closest('UL');
|
|
11061
|
+
}
|
|
11062
|
+
if (startNode.nodeName === 'LI' && range.startOffset === 0 && range.endOffset === 0 &&
|
|
11063
|
+
isNullOrUndefined(startNode.previousSibling) && !isNullOrUndefined(this.commonLIParent) && isNullOrUndefined(this.commonLIParent.previousSibling) &&
|
|
11064
|
+
(isNullOrUndefined(this.commonLIParent.parentElement.closest('OL')) && isNullOrUndefined(this.commonLIParent.parentElement.closest('UL')) &&
|
|
11065
|
+
isNullOrUndefined(this.commonLIParent.parentElement.closest('LI')))) {
|
|
11066
|
+
var currentElem = createElement('P');
|
|
11067
|
+
currentElem.innerHTML = '​';
|
|
11068
|
+
startNode.classList.add('removeList');
|
|
11069
|
+
this.commonLIParent.parentElement.insertBefore(currentElem, this.commonLIParent);
|
|
11070
|
+
}
|
|
11071
|
+
};
|
|
11018
11072
|
Lists.prototype.keyDownHandler = function (e) {
|
|
11019
11073
|
if (e.event.which === 13) {
|
|
11020
11074
|
this.enterList(e);
|
|
@@ -19777,10 +19831,12 @@ var FullScreen = /** @__PURE__ @class */ (function () {
|
|
|
19777
19831
|
FullScreen.prototype.addEventListener = function () {
|
|
19778
19832
|
this.parent.on(keyDown, this.onKeyDown, this);
|
|
19779
19833
|
this.parent.on(destroy, this.destroy, this);
|
|
19834
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
19780
19835
|
};
|
|
19781
19836
|
FullScreen.prototype.removeEventListener = function () {
|
|
19782
19837
|
this.parent.off(keyDown, this.onKeyDown);
|
|
19783
19838
|
this.parent.off(destroy, this.destroy);
|
|
19839
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
19784
19840
|
};
|
|
19785
19841
|
/**
|
|
19786
19842
|
* destroy method
|
|
@@ -19799,6 +19855,9 @@ var FullScreen = /** @__PURE__ @class */ (function () {
|
|
|
19799
19855
|
}
|
|
19800
19856
|
this.removeEventListener();
|
|
19801
19857
|
};
|
|
19858
|
+
FullScreen.prototype.moduleDestroy = function () {
|
|
19859
|
+
this.parent = null;
|
|
19860
|
+
};
|
|
19802
19861
|
return FullScreen;
|
|
19803
19862
|
}());
|
|
19804
19863
|
|
|
@@ -19915,11 +19974,6 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
19915
19974
|
Render.prototype.destroy = function () {
|
|
19916
19975
|
this.removeEventListener();
|
|
19917
19976
|
};
|
|
19918
|
-
/**
|
|
19919
|
-
* Clears the Render Module.
|
|
19920
|
-
*
|
|
19921
|
-
* @returns {void}
|
|
19922
|
-
*/
|
|
19923
19977
|
Render.prototype.moduleDestroy = function () {
|
|
19924
19978
|
this.parent = null;
|
|
19925
19979
|
};
|
|
@@ -19929,6 +19983,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
19929
19983
|
}
|
|
19930
19984
|
this.parent.on(modelChanged, this.refresh, this);
|
|
19931
19985
|
this.parent.on(keyUp, this.keyUp, this);
|
|
19986
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
19932
19987
|
};
|
|
19933
19988
|
Render.prototype.removeEventListener = function () {
|
|
19934
19989
|
if (this.parent.isDestroyed) {
|
|
@@ -19936,6 +19991,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
19936
19991
|
}
|
|
19937
19992
|
this.parent.off(modelChanged, this.refresh);
|
|
19938
19993
|
this.parent.off(keyUp, this.keyUp);
|
|
19994
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
19939
19995
|
};
|
|
19940
19996
|
Render.prototype.keyUp = function (e) {
|
|
19941
19997
|
if (this.parent.editorMode === 'HTML') {
|
|
@@ -19997,6 +20053,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
19997
20053
|
this.parent.on(editAreaClick, this.editAreaClickHandler, this);
|
|
19998
20054
|
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
19999
20055
|
this.parent.on(destroy, this.destroy, this);
|
|
20056
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
20000
20057
|
};
|
|
20001
20058
|
Link.prototype.onToolbarAction = function (args) {
|
|
20002
20059
|
var item = args.args.item;
|
|
@@ -20030,6 +20087,7 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
20030
20087
|
this.parent.off(editAreaClick, this.editAreaClickHandler);
|
|
20031
20088
|
this.parent.off(bindCssClass, this.setCssClass);
|
|
20032
20089
|
this.parent.off(destroy, this.destroy);
|
|
20090
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
20033
20091
|
};
|
|
20034
20092
|
Link.prototype.onIframeMouseDown = function () {
|
|
20035
20093
|
if (this.dialogObj) {
|
|
@@ -20480,13 +20538,6 @@ var Link = /** @__PURE__ @class */ (function () {
|
|
|
20480
20538
|
Link.prototype.destroy = function () {
|
|
20481
20539
|
this.removeEventListener();
|
|
20482
20540
|
};
|
|
20483
|
-
/**
|
|
20484
|
-
* Clears the Link Module.
|
|
20485
|
-
*
|
|
20486
|
-
* @returns {void}
|
|
20487
|
-
* @hidden
|
|
20488
|
-
* @deprecated
|
|
20489
|
-
*/
|
|
20490
20541
|
Link.prototype.moduleDestroy = function () {
|
|
20491
20542
|
this.parent = null;
|
|
20492
20543
|
};
|
|
@@ -20545,6 +20596,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20545
20596
|
this.parent.on(paste, this.imagePaste, this);
|
|
20546
20597
|
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
20547
20598
|
this.parent.on(destroy, this.removeEventListener, this);
|
|
20599
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
20548
20600
|
};
|
|
20549
20601
|
Image.prototype.removeEventListener = function () {
|
|
20550
20602
|
if (this.parent.isDestroyed) {
|
|
@@ -20572,6 +20624,7 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20572
20624
|
this.parent.off(paste, this.imagePaste);
|
|
20573
20625
|
this.parent.off(bindCssClass, this.setCssClass);
|
|
20574
20626
|
this.parent.off(destroy, this.removeEventListener);
|
|
20627
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
20575
20628
|
var dropElement = this.parent.iframeSettings.enable ? this.parent.inputElement.ownerDocument
|
|
20576
20629
|
: this.parent.inputElement;
|
|
20577
20630
|
dropElement.removeEventListener('drop', this.dragDrop.bind(this), true);
|
|
@@ -20946,6 +20999,10 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
20946
20999
|
if (this.imgEle.offsetWidth >= this.parent.getInsertImgMaxWidth()) {
|
|
20947
21000
|
this.imgEle.style.maxHeight = this.imgEle.offsetHeight + 'px';
|
|
20948
21001
|
}
|
|
21002
|
+
else if (isNullOrUndefined(this.parent.insertImageSettings.maxHeight)) {
|
|
21003
|
+
this.imgEle.style.maxHeight = '';
|
|
21004
|
+
}
|
|
21005
|
+
this.imgEle.style.maxWidth = this.parent.getInsertImgMaxWidth() + 'px';
|
|
20949
21006
|
var pageX = this.getPointX(e);
|
|
20950
21007
|
var pageY = this.getPointY(e);
|
|
20951
21008
|
var mouseX = (this.resizeBtnStat.botLeft || this.resizeBtnStat.topLeft) ? -(pageX - this.pageX) : (pageX - this.pageX);
|
|
@@ -21900,6 +21957,9 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
21900
21957
|
if (target.nodeName === 'IMG') {
|
|
21901
21958
|
this.imgEle = target;
|
|
21902
21959
|
}
|
|
21960
|
+
if (!this.parent) {
|
|
21961
|
+
return;
|
|
21962
|
+
}
|
|
21903
21963
|
if (target.nodeName !== '#document') {
|
|
21904
21964
|
this.parent.currentTarget = e.target;
|
|
21905
21965
|
}
|
|
@@ -22787,15 +22847,6 @@ var Image = /** @__PURE__ @class */ (function () {
|
|
|
22787
22847
|
this.prevSelectedImgEle = undefined;
|
|
22788
22848
|
this.removeEventListener();
|
|
22789
22849
|
};
|
|
22790
|
-
/* eslint-disable */
|
|
22791
|
-
/**
|
|
22792
|
-
* Clears the ImageModule.
|
|
22793
|
-
*
|
|
22794
|
-
* @returns {void}
|
|
22795
|
-
* @hidden
|
|
22796
|
-
* @deprecated
|
|
22797
|
-
*/
|
|
22798
|
-
/* eslint-enable */
|
|
22799
22850
|
Image.prototype.moduleDestroy = function () {
|
|
22800
22851
|
this.parent = null;
|
|
22801
22852
|
};
|
|
@@ -22835,6 +22886,7 @@ var ViewSource = /** @__PURE__ @class */ (function () {
|
|
|
22835
22886
|
this.parent.on(initialEnd, this.onInitialEnd, this);
|
|
22836
22887
|
this.parent.on(updateSource, this.updateSourceCode, this);
|
|
22837
22888
|
this.parent.on(destroy, this.destroy, this);
|
|
22889
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
22838
22890
|
};
|
|
22839
22891
|
ViewSource.prototype.onInitialEnd = function () {
|
|
22840
22892
|
this.parent.formatter.editorManager.observer.on(KEY_DOWN_HANDLER, this.onKeyDown, this);
|
|
@@ -22845,6 +22897,7 @@ var ViewSource = /** @__PURE__ @class */ (function () {
|
|
|
22845
22897
|
this.parent.off(updateSource, this.updateSourceCode);
|
|
22846
22898
|
this.parent.off(initialEnd, this.onInitialEnd);
|
|
22847
22899
|
this.parent.off(destroy, this.destroy);
|
|
22900
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
22848
22901
|
this.parent.formatter.editorManager.observer.off(KEY_DOWN_HANDLER, this.onKeyDown);
|
|
22849
22902
|
};
|
|
22850
22903
|
ViewSource.prototype.getSourceCode = function () {
|
|
@@ -23068,6 +23121,9 @@ var ViewSource = /** @__PURE__ @class */ (function () {
|
|
|
23068
23121
|
ViewSource.prototype.destroy = function () {
|
|
23069
23122
|
this.removeEventListener();
|
|
23070
23123
|
};
|
|
23124
|
+
ViewSource.prototype.moduleDestroy = function () {
|
|
23125
|
+
this.parent = null;
|
|
23126
|
+
};
|
|
23071
23127
|
return ViewSource;
|
|
23072
23128
|
}());
|
|
23073
23129
|
|
|
@@ -23107,6 +23163,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23107
23163
|
this.parent.on(mouseUp, this.selectionTable, this);
|
|
23108
23164
|
this.parent.on(bindCssClass, this.setCssClass, this);
|
|
23109
23165
|
this.parent.on(destroy, this.destroy, this);
|
|
23166
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
23110
23167
|
};
|
|
23111
23168
|
Table.prototype.removeEventListener = function () {
|
|
23112
23169
|
if (this.parent.isDestroyed) {
|
|
@@ -23128,6 +23185,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
23128
23185
|
this.parent.off(mouseUp, this.selectionTable);
|
|
23129
23186
|
this.parent.off(bindCssClass, this.setCssClass);
|
|
23130
23187
|
this.parent.off(destroy, this.destroy);
|
|
23188
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
23131
23189
|
};
|
|
23132
23190
|
Table.prototype.updateCss = function (currentObj, e) {
|
|
23133
23191
|
if (currentObj && e.cssClass) {
|
|
@@ -24423,6 +24481,9 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
24423
24481
|
Table.prototype.destroy = function () {
|
|
24424
24482
|
this.removeEventListener();
|
|
24425
24483
|
};
|
|
24484
|
+
Table.prototype.moduleDestroy = function () {
|
|
24485
|
+
this.parent = null;
|
|
24486
|
+
};
|
|
24426
24487
|
/**
|
|
24427
24488
|
* For internal use only - Get the module name.
|
|
24428
24489
|
*
|
|
@@ -24440,7 +24501,22 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
24440
24501
|
var DialogRenderer = /** @__PURE__ @class */ (function () {
|
|
24441
24502
|
function DialogRenderer(parent) {
|
|
24442
24503
|
this.parent = parent;
|
|
24504
|
+
this.addEventListener();
|
|
24443
24505
|
}
|
|
24506
|
+
DialogRenderer.prototype.addEventListener = function () {
|
|
24507
|
+
if (this.parent.isDestroyed) {
|
|
24508
|
+
return;
|
|
24509
|
+
}
|
|
24510
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
24511
|
+
this.parent.on(destroy, this.removeEventListener, this);
|
|
24512
|
+
};
|
|
24513
|
+
DialogRenderer.prototype.removeEventListener = function () {
|
|
24514
|
+
if (this.parent.isDestroyed) {
|
|
24515
|
+
return;
|
|
24516
|
+
}
|
|
24517
|
+
this.parent.off(destroy, this.removeEventListener);
|
|
24518
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
24519
|
+
};
|
|
24444
24520
|
/**
|
|
24445
24521
|
* dialog render method
|
|
24446
24522
|
*
|
|
@@ -24493,6 +24569,9 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
|
|
|
24493
24569
|
DialogRenderer.prototype.close = function (args) {
|
|
24494
24570
|
this.parent.trigger(dialogClose, args);
|
|
24495
24571
|
};
|
|
24572
|
+
DialogRenderer.prototype.moduleDestroy = function () {
|
|
24573
|
+
this.parent = null;
|
|
24574
|
+
};
|
|
24496
24575
|
return DialogRenderer;
|
|
24497
24576
|
}());
|
|
24498
24577
|
|
|
@@ -25144,13 +25223,18 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
|
|
|
25144
25223
|
EnterKeyAction.prototype.addEventListener = function () {
|
|
25145
25224
|
this.parent.on(enterHandler, this.enterHandler, this);
|
|
25146
25225
|
this.parent.on(destroy, this.destroy, this);
|
|
25226
|
+
this.parent.on(moduleDestroy, this.moduleDestroy, this);
|
|
25147
25227
|
};
|
|
25148
25228
|
EnterKeyAction.prototype.destroy = function () {
|
|
25149
25229
|
this.removeEventListener();
|
|
25150
25230
|
};
|
|
25231
|
+
EnterKeyAction.prototype.moduleDestroy = function () {
|
|
25232
|
+
this.parent = null;
|
|
25233
|
+
};
|
|
25151
25234
|
EnterKeyAction.prototype.removeEventListener = function () {
|
|
25152
25235
|
this.parent.off(enterHandler, this.enterHandler);
|
|
25153
25236
|
this.parent.off(destroy, this.destroy);
|
|
25237
|
+
this.parent.off(moduleDestroy, this.moduleDestroy);
|
|
25154
25238
|
};
|
|
25155
25239
|
EnterKeyAction.prototype.getRangeNode = function () {
|
|
25156
25240
|
this.range = this.parent.getRange();
|
|
@@ -25268,7 +25352,8 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
|
|
|
25268
25352
|
isNearBlockLengthZero = false;
|
|
25269
25353
|
}
|
|
25270
25354
|
else {
|
|
25271
|
-
if (nearBlockNode.textContent.trim().length !== 0
|
|
25355
|
+
if (nearBlockNode.textContent.trim().length !== 0 ||
|
|
25356
|
+
nearBlockNode.childNodes[0].nodeName === 'IMG') {
|
|
25272
25357
|
newElem = _this.parent.formatter.editorManager.nodeCutter.SplitNode(_this.range, nearBlockNode, false).cloneNode(true);
|
|
25273
25358
|
isNearBlockLengthZero = false;
|
|
25274
25359
|
}
|
|
@@ -25946,6 +26031,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25946
26031
|
var currentEndContainer = range.endContainer;
|
|
25947
26032
|
var currentStartOffset = range.startOffset;
|
|
25948
26033
|
var isSameContainer = currentStartContainer === currentEndContainer ? true : false;
|
|
26034
|
+
var currentEndOffset = currentEndContainer.textContent.length;
|
|
25949
26035
|
var endNode = range.endContainer.nodeName === '#text' ? range.endContainer.parentElement :
|
|
25950
26036
|
range.endContainer;
|
|
25951
26037
|
var closestLI = closest(endNode, 'LI');
|
|
@@ -25961,7 +26047,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
25961
26047
|
while (currentLastElem.lastChild !== null && currentLastElem.nodeName !== '#text') {
|
|
25962
26048
|
currentLastElem = currentLastElem.lastChild;
|
|
25963
26049
|
}
|
|
25964
|
-
this.formatter.editorManager.nodeSelection.setSelectionText(this.contentModule.getDocument(), isSameContainer ? (currentLastElem.nodeName === 'BR' && !isNullOrUndefined(currentLastElem.previousSibling) ? currentLastElem.previousSibling :
|
|
26050
|
+
this.formatter.editorManager.nodeSelection.setSelectionText(this.contentModule.getDocument(), isSameContainer ? currentStartContainer : (currentLastElem.nodeName === 'BR' && !isNullOrUndefined(currentLastElem.previousSibling) ? currentLastElem.previousSibling : currentStartContainer), currentEndContainer, currentStartOffset, (currentLastElem.nodeName === 'BR' ? 0 : currentEndOffset));
|
|
25965
26051
|
}
|
|
25966
26052
|
};
|
|
25967
26053
|
/**
|
|
@@ -26304,15 +26390,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
26304
26390
|
if (!isNullOrUndefined(this.toolbarModule)) {
|
|
26305
26391
|
this.toolbarModule.destroy();
|
|
26306
26392
|
}
|
|
26307
|
-
|
|
26308
|
-
this.imageModule.moduleDestroy();
|
|
26309
|
-
}
|
|
26310
|
-
if (!isNullOrUndefined(this.linkModule)) {
|
|
26311
|
-
this.linkModule.moduleDestroy();
|
|
26312
|
-
}
|
|
26313
|
-
if (!isNullOrUndefined(this.renderModule)) {
|
|
26314
|
-
this.renderModule.moduleDestroy();
|
|
26315
|
-
}
|
|
26393
|
+
this.notify(moduleDestroy, {});
|
|
26316
26394
|
return;
|
|
26317
26395
|
}
|
|
26318
26396
|
this.notify(destroy, {});
|
|
@@ -27551,7 +27629,10 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
27551
27629
|
RichTextEditor.prototype.restrict = function (e) {
|
|
27552
27630
|
if (this.maxLength >= 0) {
|
|
27553
27631
|
var element = this.editorMode === 'Markdown' ? this.contentModule.getText() :
|
|
27554
|
-
e.currentTarget.textContent;
|
|
27632
|
+
(e && e.currentTarget.textContent);
|
|
27633
|
+
if (!element) {
|
|
27634
|
+
return;
|
|
27635
|
+
}
|
|
27555
27636
|
var array = [8, 16, 17, 37, 38, 39, 40, 46, 65];
|
|
27556
27637
|
var arrayKey = void 0;
|
|
27557
27638
|
for (var i = 0; i <= array.length - 1; i++) {
|
|
@@ -27606,6 +27687,11 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
27606
27687
|
case 'cut':
|
|
27607
27688
|
this.onCut();
|
|
27608
27689
|
break;
|
|
27690
|
+
case 'tab':
|
|
27691
|
+
if (this.iframeSettings.enable) {
|
|
27692
|
+
this.isBlur = true;
|
|
27693
|
+
}
|
|
27694
|
+
break;
|
|
27609
27695
|
}
|
|
27610
27696
|
if (e.callBack && (e.event.action === 'copy' || e.event.action === 'cut' || e.event.action === 'delete')) {
|
|
27611
27697
|
e.callBack({
|
|
@@ -27923,5 +28009,5 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
27923
28009
|
* Rich Text Editor component exported items
|
|
27924
28010
|
*/
|
|
27925
28011
|
|
|
27926
|
-
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, mediaSelected, mediaUploading, mediaUploadSuccess, mediaUploadFailed, mediaRemoving, afterImageDelete, afterMediaDelete, drop, xhtmlValidation, beforeImageUpload, beforeMediaUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, closeAudioDialog, showTableDialog, closeTableDialog, bindCssClass, blockEmptyNodes, inlineEmptyNodes, 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, CLS_RTE_RES_WEST, 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, INSERT_TEXT_COMMAND, 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 };
|
|
28012
|
+
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, moduleDestroy, pasteClean, enterHandler, beforeDialogOpen, clearDialogObj, dialogOpen, beforeDialogClose, dialogClose, beforeQuickToolbarOpen, quickToolbarOpen, quickToolbarClose, popupHide, imageSelected, imageUploading, imageUploadSuccess, imageUploadFailed, imageRemoving, mediaSelected, mediaUploading, mediaUploadSuccess, mediaUploadFailed, mediaRemoving, afterImageDelete, afterMediaDelete, drop, xhtmlValidation, beforeImageUpload, beforeMediaUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, closeAudioDialog, showTableDialog, closeTableDialog, bindCssClass, blockEmptyNodes, inlineEmptyNodes, 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, CLS_RTE_RES_WEST, 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, INSERT_TEXT_COMMAND, 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 };
|
|
27927
28013
|
//# sourceMappingURL=ej2-richtexteditor.es5.js.map
|