@syncfusion/ej2-richtexteditor 27.1.55 → 27.1.57-637881

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.
Files changed (174) hide show
  1. package/README.md +1 -1
  2. package/dist/ej2-richtexteditor.min.js +1 -10
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +159 -48
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +158 -47
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +1 -10
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +0 -9
  12. package/package.json +84 -84
  13. package/src/common/config.d.ts +7 -0
  14. package/src/common/config.js +12 -0
  15. package/src/common/interface.d.ts +8 -8
  16. package/src/editor-manager/base/classes.d.ts +1 -1
  17. package/src/editor-manager/base/classes.js +1 -1
  18. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  19. package/src/editor-manager/base/editor-manager.js +3 -3
  20. package/src/editor-manager/base/enum.d.ts +2 -2
  21. package/src/editor-manager/base/interface.d.ts +9 -9
  22. package/src/editor-manager/base/types.d.ts +1 -1
  23. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  24. package/src/editor-manager/plugin/alignments.js +2 -2
  25. package/src/editor-manager/plugin/audio.d.ts +3 -3
  26. package/src/editor-manager/plugin/audio.js +3 -3
  27. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  28. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  29. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  30. package/src/editor-manager/plugin/clearformat.js +1 -1
  31. package/src/editor-manager/plugin/dom-node.d.ts +36 -36
  32. package/src/editor-manager/plugin/dom-node.js +36 -36
  33. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  34. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  35. package/src/editor-manager/plugin/formats.d.ts +2 -2
  36. package/src/editor-manager/plugin/formats.js +2 -2
  37. package/src/editor-manager/plugin/image.d.ts +3 -3
  38. package/src/editor-manager/plugin/image.js +5 -5
  39. package/src/editor-manager/plugin/indents.d.ts +2 -2
  40. package/src/editor-manager/plugin/indents.js +2 -2
  41. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  42. package/src/editor-manager/plugin/insert-methods.js +4 -4
  43. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  44. package/src/editor-manager/plugin/insert-text.js +2 -2
  45. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  46. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  47. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  48. package/src/editor-manager/plugin/inserthtml.js +2 -2
  49. package/src/editor-manager/plugin/isformatted.d.ts +9 -9
  50. package/src/editor-manager/plugin/isformatted.js +9 -9
  51. package/src/editor-manager/plugin/link.d.ts +2 -2
  52. package/src/editor-manager/plugin/link.js +2 -2
  53. package/src/editor-manager/plugin/lists.d.ts +2 -2
  54. package/src/editor-manager/plugin/lists.js +2 -2
  55. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +2 -1
  56. package/src/editor-manager/plugin/ms-word-clean-up.js +17 -1
  57. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  58. package/src/editor-manager/plugin/nodecutter.js +6 -6
  59. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  60. package/src/editor-manager/plugin/selection-commands.js +1 -1
  61. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  62. package/src/editor-manager/plugin/selection-exec.js +2 -2
  63. package/src/editor-manager/plugin/table.d.ts +2 -2
  64. package/src/editor-manager/plugin/table.js +2 -2
  65. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  66. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  67. package/src/editor-manager/plugin/undo.d.ts +6 -6
  68. package/src/editor-manager/plugin/undo.js +6 -6
  69. package/src/editor-manager/plugin/video.d.ts +3 -3
  70. package/src/editor-manager/plugin/video.js +3 -3
  71. package/src/markdown-parser/base/interface.d.ts +10 -10
  72. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  73. package/src/markdown-parser/base/markdown-parser.js +3 -3
  74. package/src/markdown-parser/base/types.d.ts +1 -1
  75. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  76. package/src/markdown-parser/plugin/clearformat.js +2 -2
  77. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  78. package/src/markdown-parser/plugin/formats.js +2 -2
  79. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  80. package/src/markdown-parser/plugin/insert-text.js +2 -2
  81. package/src/markdown-parser/plugin/link.d.ts +2 -2
  82. package/src/markdown-parser/plugin/link.js +2 -2
  83. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  84. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  85. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  86. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  87. package/src/markdown-parser/plugin/table.d.ts +3 -3
  88. package/src/markdown-parser/plugin/table.js +3 -3
  89. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  90. package/src/markdown-parser/plugin/undo.js +6 -6
  91. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  92. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  93. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  94. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  95. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  96. package/src/rich-text-editor/actions/color-picker.js +2 -2
  97. package/src/rich-text-editor/actions/count.d.ts +3 -3
  98. package/src/rich-text-editor/actions/count.js +3 -3
  99. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  100. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  101. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  102. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  103. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  104. package/src/rich-text-editor/actions/full-screen.js +3 -3
  105. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  106. package/src/rich-text-editor/actions/html-editor.js +3 -3
  107. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  108. package/src/rich-text-editor/actions/keyboard.js +1 -1
  109. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  110. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  111. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  112. package/src/rich-text-editor/actions/paste-clean-up.js +46 -22
  113. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  114. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  115. package/src/rich-text-editor/actions/resize.js +4 -0
  116. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  117. package/src/rich-text-editor/actions/toolbar.js +13 -13
  118. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  119. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  120. package/src/rich-text-editor/base/classes.d.ts +125 -125
  121. package/src/rich-text-editor/base/classes.js +125 -125
  122. package/src/rich-text-editor/base/constant.d.ts +158 -158
  123. package/src/rich-text-editor/base/constant.js +158 -158
  124. package/src/rich-text-editor/base/enum.d.ts +1 -1
  125. package/src/rich-text-editor/base/enum.js +1 -1
  126. package/src/rich-text-editor/base/interface.d.ts +51 -51
  127. package/src/rich-text-editor/base/interface.js +1 -1
  128. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
  129. package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
  130. package/src/rich-text-editor/base/rich-text-editor.js +37 -34
  131. package/src/rich-text-editor/base/util.d.ts +1 -1
  132. package/src/rich-text-editor/base/util.js +1 -1
  133. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  134. package/src/rich-text-editor/formatter/formatter.js +8 -8
  135. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  136. package/src/rich-text-editor/formatter/html-formatter.js +2 -2
  137. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  138. package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
  139. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  140. package/src/rich-text-editor/renderer/audio-module.js +8 -2
  141. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  142. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  143. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  144. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  145. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  146. package/src/rich-text-editor/renderer/iframe-content-renderer.js +4 -4
  147. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  148. package/src/rich-text-editor/renderer/image-module.js +58 -21
  149. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  150. package/src/rich-text-editor/renderer/link-module.js +4 -1
  151. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  152. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  153. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  154. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  155. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  156. package/src/rich-text-editor/renderer/render.js +2 -2
  157. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  158. package/src/rich-text-editor/renderer/table-module.js +4 -3
  159. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  160. package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
  161. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  162. package/src/rich-text-editor/renderer/video-module.js +8 -2
  163. package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
  164. package/src/rich-text-editor/renderer/view-source.js +5 -5
  165. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  166. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  167. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  168. package/src/rich-text-editor/services/service-locator.js +3 -3
  169. package/src/selection/selection.d.ts +22 -22
  170. package/src/selection/selection.js +22 -22
  171. package/styles/material3-dark.scss +1 -1
  172. package/styles/material3.scss +1 -1
  173. package/styles/rich-text-editor/material3-dark.scss +1 -1
  174. package/styles/rich-text-editor/material3.scss +1 -1
@@ -6615,6 +6615,9 @@ class Link {
6615
6615
  if (document.body.contains(proxy.dialogObj.element)) {
6616
6616
  this.selfLink.dialogObj.hide({ returnValue: false });
6617
6617
  }
6618
+ if (this.selfLink.dialogObj !== null) {
6619
+ return;
6620
+ }
6618
6621
  if (isIDevice$1() && proxy.parent.iframeSettings.enable) {
6619
6622
  select('iframe', proxy.parent.element).contentWindow.focus();
6620
6623
  }
@@ -6911,6 +6914,18 @@ const imageResizeFactor = {
6911
6914
  botRight: [1, 1],
6912
6915
  botLeft: [-1, 1]
6913
6916
  };
6917
+ /**
6918
+ * Resize factor for image in iframe editor.
6919
+ *
6920
+ *@hidden
6921
+ *
6922
+ */
6923
+ const iframeResizeFactor = {
6924
+ topLeft: [-1.2, -1.2],
6925
+ topRight: [1.2, -1.2],
6926
+ botRight: [1.2, 1.2],
6927
+ botLeft: [-1.2, 1.2]
6928
+ };
6914
6929
  /**
6915
6930
  * Mention restrict key configuration.
6916
6931
  *
@@ -7123,8 +7138,14 @@ class Image$1 {
7123
7138
  if (this.parent.formatter.getUndoRedoStack().length === 0) {
7124
7139
  this.parent.formatter.saveData();
7125
7140
  }
7126
- this.pageX = this.getPointX(e);
7127
- this.pageY = this.getPointY(e);
7141
+ if (this.parent.iframeSettings.enable) {
7142
+ this.pageX = e.screenX;
7143
+ this.pageY = e.screenY;
7144
+ }
7145
+ else {
7146
+ this.pageX = this.getPointX(e);
7147
+ this.pageY = this.getPointY(e);
7148
+ }
7128
7149
  e.preventDefault();
7129
7150
  e.stopImmediatePropagation();
7130
7151
  this.resizeBtnInit();
@@ -7353,7 +7374,7 @@ class Image$1 {
7353
7374
  width = Math.round(height * aspectRatio);
7354
7375
  height = Math.round(width / aspectRatio);
7355
7376
  }
7356
- return { width, height };
7377
+ return { width: width, height: height };
7357
7378
  }
7358
7379
  pixToPerc(expected, parentEle) {
7359
7380
  return expected / parseFloat(getComputedStyle(parentEle).width) * 100;
@@ -7388,29 +7409,50 @@ class Image$1 {
7388
7409
  return;
7389
7410
  }
7390
7411
  if (this.resizeBtnStat.botRight || this.resizeBtnStat.botLeft || this.resizeBtnStat.topRight || this.resizeBtnStat.topLeft) {
7391
- const pageX = this.getPointX(e);
7392
- const pageY = this.getPointY(e);
7393
- const resizeFactor = this.getResizeFactor(this.currentResizeHandler);
7394
- const diffX = (pageX - this.pageX);
7395
- const diffY = (pageY - this.pageY);
7396
- const currentWidth = this.imgEle.clientWidth;
7397
- const currentHeight = this.imgEle.clientHeight;
7398
- const width = diffX * resizeFactor[0] + currentWidth;
7399
- const height = diffY * resizeFactor[1] + currentHeight;
7400
- const dimensions = this.adjustDimensions(width, height, diffX, diffY, this.aspectRatio);
7401
- this.pageX = pageX;
7402
- this.pageY = pageY;
7403
- this.imgDupMouseMove(dimensions.width + 'px', dimensions.height + 'px', e);
7412
+ if (this.parent.iframeSettings.enable) {
7413
+ const resizeFactor = this.getResizeFactor(this.currentResizeHandler);
7414
+ const currentScreenX = e.screenX;
7415
+ const currentScreenY = e.screenY;
7416
+ const currentWidth = this.imgEle.clientWidth;
7417
+ const currentHeight = this.imgEle.clientHeight;
7418
+ const deltaX = currentScreenX - this.pageX;
7419
+ const deltaY = currentScreenY - this.pageY;
7420
+ const width = deltaX * resizeFactor[0] + currentWidth;
7421
+ const height = deltaY * resizeFactor[1] + currentHeight;
7422
+ const dimensions = this.adjustDimensions(width, height, deltaX, deltaY, this.aspectRatio);
7423
+ this.pageX = currentScreenX;
7424
+ this.pageY = currentScreenY;
7425
+ this.imgDupMouseMove(dimensions.width + 'px', dimensions.height + 'px', e);
7426
+ this.parent.autoResize();
7427
+ }
7428
+ else {
7429
+ const pageX = this.getPointX(e);
7430
+ const pageY = this.getPointY(e);
7431
+ const resizeFactor = this.getResizeFactor(this.currentResizeHandler);
7432
+ const diffX = (pageX - this.pageX);
7433
+ const diffY = (pageY - this.pageY);
7434
+ const currentWidth = this.imgEle.clientWidth;
7435
+ const currentHeight = this.imgEle.clientHeight;
7436
+ const width = diffX * resizeFactor[0] + currentWidth;
7437
+ const height = diffY * resizeFactor[1] + currentHeight;
7438
+ const dimensions = this.adjustDimensions(width, height, diffX, diffY, this.aspectRatio);
7439
+ this.pageX = pageX;
7440
+ this.pageY = pageY;
7441
+ this.imgDupMouseMove(dimensions.width + 'px', dimensions.height + 'px', e);
7442
+ }
7404
7443
  }
7405
7444
  }
7406
7445
  adjustDimensions(width, height, diffX, diffY, aspectRatio) {
7407
7446
  width = (width < 16) ? 16 : width;
7408
7447
  height = (height < 16) ? 16 : height;
7409
- const isWidthPrimary = Math.abs(diffX) > Math.abs(diffY);
7448
+ const isWidthPrimary = width > height;
7410
7449
  const dimensions = this.adjustDimensionsByAspectRatio(width, height, aspectRatio, isWidthPrimary);
7411
7450
  return dimensions;
7412
7451
  }
7413
7452
  getResizeFactor(value) {
7453
+ if (this.parent.iframeSettings.enable) {
7454
+ return iframeResizeFactor[value];
7455
+ }
7414
7456
  return imageResizeFactor[value];
7415
7457
  }
7416
7458
  findAspectRatio(image) {
@@ -7825,7 +7867,9 @@ class Image$1 {
7825
7867
  this.parent.formatter.editorManager.nodeSelection.Clear(this.contentModule.getDocument());
7826
7868
  this.parent.formatter.editorManager.nodeSelection.setSelectionContents(this.contentModule.getDocument(), target);
7827
7869
  this.quickToolObj.imageQTBar.showPopup(args.pageX, pageY, target);
7828
- this.resizeStart(e.args, target);
7870
+ if (this.parent.insertImageSettings.resize === true) {
7871
+ this.resizeStart(e.args, target);
7872
+ }
7829
7873
  }, 400);
7830
7874
  }
7831
7875
  else {
@@ -8497,6 +8541,9 @@ class Image$1 {
8497
8541
  proxy.uploadUrl.cssClass = (proxy.parent.insertImageSettings.display === 'inline' ?
8498
8542
  CLS_IMGINLINE : CLS_IMGBREAK);
8499
8543
  proxy.dialogObj.hide({ returnValue: false });
8544
+ if (proxy.dialogObj !== null) {
8545
+ return;
8546
+ }
8500
8547
  proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, proxy.uploadUrl);
8501
8548
  proxy.uploadUrl.url = '';
8502
8549
  if (proxy.contentModule.getEditPanel().querySelector('.e-img-resize')) {
@@ -8527,8 +8574,11 @@ class Image$1 {
8527
8574
  maxHeight: proxy.parent.insertImageSettings.maxHeight
8528
8575
  }
8529
8576
  };
8530
- proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
8531
8577
  proxy.dialogObj.hide({ returnValue: false });
8578
+ if (proxy.dialogObj !== null) {
8579
+ return;
8580
+ }
8581
+ proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
8532
8582
  }
8533
8583
  }
8534
8584
  imgsizeInput(e) {
@@ -9285,7 +9335,9 @@ class Image$1 {
9285
9335
  if (imageElement) {
9286
9336
  this.showImageQTbarTime = setTimeout(() => {
9287
9337
  this.showImageQuickToolbar(args);
9288
- this.resizeStart(e.args, imageElement);
9338
+ if (this.parent.insertImageSettings.resize) {
9339
+ this.resizeStart(e.args, imageElement);
9340
+ }
9289
9341
  }, 0);
9290
9342
  }
9291
9343
  }
@@ -10173,6 +10225,9 @@ class Audio {
10173
10225
  proxy.uploadUrl.cssClass = (proxy.parent.insertAudioSettings.layoutOption === 'Inline' ?
10174
10226
  CLS_AUDIOINLINE : CLS_AUDIOBREAK);
10175
10227
  proxy.dialogObj.hide({ returnValue: false });
10228
+ if (proxy.dialogObj !== null) {
10229
+ return;
10230
+ }
10176
10231
  proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, proxy.uploadUrl);
10177
10232
  proxy.uploadUrl.url = '';
10178
10233
  }
@@ -10191,8 +10246,11 @@ class Audio {
10191
10246
  url: url, selection: this.selection, fileName: name,
10192
10247
  selectParent: this.selectParent
10193
10248
  };
10194
- proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
10195
10249
  proxy.dialogObj.hide({ returnValue: false });
10250
+ if (proxy.dialogObj !== null) {
10251
+ return;
10252
+ }
10253
+ proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
10196
10254
  }
10197
10255
  }
10198
10256
  /* eslint-disable */
@@ -11657,6 +11715,9 @@ class Video {
11657
11715
  maxHeight: proxy.parent.insertVideoSettings.maxHeight
11658
11716
  };
11659
11717
  proxy.dialogObj.hide({ returnValue: false });
11718
+ if (proxy.dialogObj !== null) {
11719
+ return;
11720
+ }
11660
11721
  proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, proxy.uploadUrl);
11661
11722
  proxy.uploadUrl.url = '';
11662
11723
  }
@@ -11683,8 +11744,11 @@ class Video {
11683
11744
  maxHeight: proxy.parent.insertVideoSettings.maxHeight
11684
11745
  }
11685
11746
  };
11686
- proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
11687
11747
  proxy.dialogObj.hide({ returnValue: false });
11748
+ if (proxy.dialogObj !== null) {
11749
+ return;
11750
+ }
11751
+ proxy.parent.formatter.process(proxy.parent, this.args, this.args.originalEvent, value);
11688
11752
  }
11689
11753
  }
11690
11754
  /* eslint-disable */
@@ -13696,7 +13760,8 @@ class Table {
13696
13760
  else {
13697
13761
  const tableReBox = this.contentModule.getEditPanel().querySelector('.e-table-box');
13698
13762
  const tableWidth = parseInt(getComputedStyle(this.curTable).width, 10);
13699
- const tableHeight = parseInt(getComputedStyle(this.curTable).height, 10);
13763
+ const tableHeight = !isNaN(parseInt(this.curTable.style.height, 10)) ?
13764
+ parseInt(this.curTable.style.height, 10) : parseInt(getComputedStyle(this.curTable).height, 10);
13700
13765
  const paddingSize = +getComputedStyle(this.contentModule.getEditPanel()).paddingRight.match(/\d/g).join('');
13701
13766
  const rteWidth = this.contentModule.getEditPanel().offsetWidth -
13702
13767
  (this.contentModule.getEditPanel().offsetWidth -
@@ -13841,7 +13906,7 @@ class Table {
13841
13906
  this.curTable.style.height = tableHeight + mouseY + 'px';
13842
13907
  if (!isNullOrUndefined(tableReBox)) {
13843
13908
  tableReBox.classList.add('e-rbox-select');
13844
- tableReBox.style.cssText = 'top: ' + (this.calcPos(this.curTable).top + tableHeight - 4) +
13909
+ tableReBox.style.cssText = 'top: ' + (this.calcPos(this.curTable).top + parseInt(getComputedStyle(this.curTable).height, 10) - 4) +
13845
13910
  'px; left:' + (this.calcPos(this.curTable).left + tableWidth - 4) + 'px;';
13846
13911
  }
13847
13912
  if (this.curTable.closest('li')) {
@@ -25884,8 +25949,8 @@ class ImageCommand {
25884
25949
  (Browser.isIE ? selectedNode.previousSibling : selectedNode.previousElementSibling);
25885
25950
  const onImageLoadEvent = () => {
25886
25951
  if (!isNullOrUndefined(this.parent.currentDocument)) {
25887
- imgElm.setAttribute('width', this.calculateStyleValue(imgElm.offsetWidth));
25888
- imgElm.setAttribute('height', this.calculateStyleValue(imgElm.offsetHeight));
25952
+ imgElm.setAttribute('width', imgElm.offsetWidth.toString());
25953
+ imgElm.setAttribute('height', imgElm.offsetHeight.toString());
25889
25954
  e.callBack({
25890
25955
  requestType: (e.value === 'Replace') ? (e.item.subCommand = 'Replace', 'Replace') : 'Images',
25891
25956
  editorMode: 'HTML',
@@ -29478,6 +29543,9 @@ class MsWordPaste {
29478
29543
  e.callBack(elm.innerHTML, this.cropImageDimensions, source);
29479
29544
  }
29480
29545
  else {
29546
+ if (source === PASTE_SOURCE[2]) {
29547
+ this.handleOneNoteContent(elm);
29548
+ }
29481
29549
  e.callBack(elm.innerHTML, null, source);
29482
29550
  }
29483
29551
  }
@@ -30472,6 +30540,18 @@ class MsWordPaste {
30472
30540
  }
30473
30541
  return 'html';
30474
30542
  }
30543
+ handleOneNoteContent(element) {
30544
+ const allListElements = element.querySelectorAll('ul, ol');
30545
+ if (allListElements.length > 0) {
30546
+ for (let i = 0; i < allListElements.length; i++) {
30547
+ // Removing the ul and ol parent node for the p tag
30548
+ const currentList = allListElements[i];
30549
+ if (currentList.querySelectorAll('li').length === 0 && currentList.childNodes.length > 0) {
30550
+ InsertMethods.unwrap(currentList);
30551
+ }
30552
+ }
30553
+ }
30554
+ }
30475
30555
  destroy() {
30476
30556
  this.removeEventListener();
30477
30557
  }
@@ -33142,38 +33222,62 @@ class PasteCleanup {
33142
33222
  }
33143
33223
  }
33144
33224
  splitBreakLine(value) {
33145
- const enterSplitText = value.split('\n');
33146
- let contentInnerElem = '';
33225
+ const enterSplitText = value.split('\r\n\r\n');
33226
+ let finalText = '';
33147
33227
  const startNode = this.parent.enterKey === 'P' ? '<p>' : (this.parent.enterKey === 'DIV' ? '<div>' : '');
33148
33228
  const endNode = this.parent.enterKey === 'P' ? '</p>' : (this.parent.enterKey === 'DIV' ? '</div>' : '<br>');
33149
33229
  for (let i = 0; i < enterSplitText.length; i++) {
33150
- if (enterSplitText[i].trim() === '') {
33151
- contentInnerElem += getDefaultValue(this.parent);
33230
+ const content = enterSplitText[i];
33231
+ const contentWithSpace = this.makeSpace(content);
33232
+ const contentWithLineBreak = contentWithSpace.replace(/\r\n|\n/g, '<br>');
33233
+ if (i === 0) {
33234
+ if (this.parent.enterKey === 'BR') {
33235
+ finalText += (contentWithLineBreak + endNode);
33236
+ }
33237
+ else {
33238
+ finalText += contentWithLineBreak; // In order to merge the content in current line. No P/Div tag is added.
33239
+ }
33152
33240
  }
33153
33241
  else {
33154
- const contentWithSpace = this.makeSpace(enterSplitText[i]);
33155
- contentInnerElem += (i === 0 && this.parent.enterKey !== 'BR' ? '<span>' : startNode) +
33156
- (contentWithSpace.trim() === '' ? '<br>' : contentWithSpace.trim()) +
33157
- (enterSplitText.length - 1 === i && this.parent.enterKey === 'BR' ? '' : (i === 0 && this.parent.enterKey !== 'BR' ? '</span>' : endNode));
33242
+ if (this.parent.enterKey === 'BR') {
33243
+ if (i === enterSplitText.length - 1) {
33244
+ finalText += (contentWithLineBreak + endNode);
33245
+ }
33246
+ else {
33247
+ finalText += (contentWithLineBreak + endNode + endNode);
33248
+ }
33249
+ }
33250
+ else {
33251
+ finalText += startNode + contentWithLineBreak + endNode;
33252
+ }
33158
33253
  }
33159
33254
  }
33160
- return contentInnerElem;
33255
+ return finalText;
33161
33256
  }
33162
- makeSpace(enterSplitText) {
33163
- let contentWithSpace = '';
33164
- let spaceBetweenContent = true;
33165
- enterSplitText = enterSplitText.replace(/\t/g, '&nbsp;&nbsp;&nbsp;&nbsp;');
33166
- const spaceSplit = enterSplitText.split(' ');
33167
- for (let j = 0; j < spaceSplit.length; j++) {
33168
- if (spaceSplit[j].trim() === '') {
33169
- contentWithSpace += spaceBetweenContent ? '&nbsp;' : ' ';
33257
+ makeSpace(text) {
33258
+ let spacedContent = '';
33259
+ if (text === '') {
33260
+ return text;
33261
+ }
33262
+ const lineBreakSplitText = text.split(' ');
33263
+ for (let i = 0; i < lineBreakSplitText.length; i++) {
33264
+ const currentText = lineBreakSplitText[i];
33265
+ if (currentText === '') {
33266
+ spacedContent += '&nbsp;';
33267
+ }
33268
+ else if (currentText === '\t') {
33269
+ spacedContent += '&nbsp;&nbsp;&nbsp;&nbsp;';
33170
33270
  }
33171
33271
  else {
33172
- spaceBetweenContent = false;
33173
- contentWithSpace += spaceSplit[j] + ' ';
33272
+ if (i > 0 && i < lineBreakSplitText.length) {
33273
+ spacedContent += ' ';
33274
+ }
33275
+ spacedContent += currentText;
33174
33276
  }
33175
33277
  }
33176
- return contentWithSpace;
33278
+ spacedContent = spacedContent.replace(/\t/g, '&nbsp;&nbsp;&nbsp;&nbsp;');
33279
+ spacedContent = spacedContent.replace(/&nbsp;&nbsp;/g, '&nbsp; ');
33280
+ return spacedContent;
33177
33281
  }
33178
33282
  imgUploading(elm) {
33179
33283
  const allImgElm = elm.querySelectorAll('.pasteContent_Img');
@@ -34200,6 +34304,10 @@ class Resize {
34200
34304
  this.parent.element.style.height = eventType.clientY - boundRect.top + 'px';
34201
34305
  this.parent.element.style.width = (!this.parent.enableRtl) ? eventType.clientX - boundRect.left + 'px' : boundRect.right - eventType.clientX + 'px';
34202
34306
  }
34307
+ const rteContent = this.parent.element.querySelector('#' + this.parent.getID() + '_source-view');
34308
+ if (!isNullOrUndefined(rteContent)) {
34309
+ rteContent.style.height = this.parent.element.style.height;
34310
+ }
34203
34311
  this.parent.refreshUI();
34204
34312
  }
34205
34313
  stopResize(e) {
@@ -39085,7 +39193,10 @@ let RichTextEditor = class RichTextEditor extends Component {
39085
39193
  const item = compiledTemplate[i];
39086
39194
  append([item], appendElem);
39087
39195
  }
39088
- this.setProperties({ value: appendElem.innerHTML.trim() });
39196
+ const content = appendElem.innerHTML.trim();
39197
+ if (content.length > 0) {
39198
+ this.setProperties({ value: content });
39199
+ }
39089
39200
  this.renderReactTemplates();
39090
39201
  }
39091
39202
  }
@@ -40227,5 +40338,5 @@ RichTextEditor = __decorate$5([
40227
40338
  NotifyPropertyChanges
40228
40339
  ], RichTextEditor);
40229
40340
 
40230
- export { ACTION, ALIGNMENT_TYPE, ALLOWED_ACTIONKEYS, AUDIO, Alignments, Audio, AudioCommand, BLOCKQUOTE_LIST_HANDLE, BLOCK_TAGS, BaseQuickToolbar, BaseToolbar, CLASS_AUDIO, CLASS_AUDIO_BREAK, CLASS_AUDIO_FOCUS, CLASS_AUDIO_INLINE, CLASS_AUDIO_WRAP, CLASS_CAPTION, CLASS_CAPTION_INLINE, CLASS_CLICK_ELEM, CLASS_EMBED_VIDEO_WRAP, CLASS_IMAGE_BREAK, CLASS_IMAGE_CENTER, CLASS_IMAGE_INLINE, CLASS_IMAGE_LEFT, CLASS_IMAGE_RIGHT, CLASS_RTE_CAPTION, CLASS_VIDEO, CLASS_VIDEO_BREAK, CLASS_VIDEO_CENTER, CLASS_VIDEO_CLICK_ELEM, CLASS_VIDEO_FOCUS, CLASS_VIDEO_INLINE, CLASS_VIDEO_LEFT, CLASS_VIDEO_RIGHT, CLASS_VIDEO_WRAP, CLEAR_COMMAND, CLEAR_TYPE, CLS_ACTIVE, CLS_ALIGN_TB_BTN, CLS_AUDIOBREAK, CLS_AUDIOINLINE, CLS_AUDIOWRAP, CLS_AUD_FOCUS, CLS_BACK, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_PICKER, CLS_BACKGROUND_COLOR_TARGET, CLS_BULLETFORMATLIST_TB_BTN, CLS_CAPINLINE, CLS_CAPTION, CLS_CLICKELEM, CLS_COLOR_CONTENT, CLS_COLOR_PALETTE, CLS_CONTENT, CLS_COUNT, CLS_CUSTOM_TILE, CLS_DISABLED, CLS_DROPAREA, CLS_DROPDOWN_BTN, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_POPUP, CLS_ERROR, CLS_EXPAND_OPEN, CLS_FOCUS, CLS_FONT_COLOR_DROPDOWN, CLS_FONT_COLOR_PICKER, CLS_FONT_COLOR_TARGET, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FULL_SCREEN, CLS_HIDE, CLS_HR_SEPARATOR, CLS_ICONS, CLS_IMAGE_POP, CLS_IMGBREAK, CLS_IMGCENTER, CLS_IMGINLINE, CLS_IMGLEFT, CLS_IMGRIGHT, CLS_IMG_FOCUS, CLS_IMG_INNER, CLS_IMG_RESIZE, CLS_INLINE, CLS_INLINE_DROPDOWN, CLS_INLINE_POP, CLS_LIST_PRIMARY_CONTENT, CLS_MAXIMIZE, CLS_MINIMIZE, CLS_NOCOLOR_ITEM, CLS_NUMBERFORMATLIST_TB_BTN, CLS_POP, CLS_POPUP, CLS_POPUP_OPEN, CLS_QUICK_DROPDOWN, CLS_QUICK_POP, CLS_QUICK_TB, CLS_RESIZE, CLS_RM_WHITE_SPACE, CLS_RTE, CLS_RTE_CAPTION, CLS_RTE_CONTAINER, CLS_RTE_CONTENT, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_DRAG_IMAGE, CLS_RTE_ELEMENTS, CLS_RTE_EXPAND_TB, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_HIDDEN, CLS_RTE_IMAGE, CLS_RTE_PASTE_CANCEL, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_READONLY, CLS_RTE_RES_CNT, CLS_RTE_RES_EAST, CLS_RTE_RES_HANDLE, CLS_RTE_RES_WEST, CLS_RTE_SOURCE_CODE_TXTAREA, CLS_RTE_TABLE_RESIZE, CLS_RTE_TB_ENABLED, CLS_RTE_UPLOAD_POPUP, CLS_RTL, CLS_SCRIPT_SHEET, CLS_SEPARATOR, CLS_SHOW, CLS_STYLE_SHEET, CLS_TABLE, CLS_TABLE_BORDER, CLS_TABLE_MULTI_CELL, CLS_TABLE_SEL, CLS_TABLE_SEL_END, CLS_TB_ALT_BOR, CLS_TB_BOX_RES, CLS_TB_BTN, CLS_TB_COL_RES, CLS_TB_DASH_BOR, CLS_TB_EXTENDED, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_INLINE, CLS_TB_IOS_FIX, CLS_TB_ITEM, CLS_TB_ROW_RES, CLS_TB_STATIC, CLS_TB_WRAP, CLS_TEXT_POP, CLS_TEXT_QUICK_TB, CLS_TOOLBAR, CLS_UPLOAD_FILES, CLS_VIDEOBREAK, CLS_VIDEOINLINE, CLS_VIDEOWRAP, CLS_VID_CLICK_ELEM, CLS_VID_FOCUS, CLS_VISIBLE, CLS_WARNING, ClearFormat, ClearFormatExec, ColorPickerInput, ContentRender, Count, DEFAULT_TAG, DELETECOLUMN, DELETEROW, DESTROY, DOMNode, DialogRenderer, DialogType, DropDownButtons, EMOJI_PICKER_ACTIONS, EditorManager, EmojiPicker, EmojiPickerAction, ExecCommandCallBack, FORMAT_PAINTER_ACTIONS, FORMAT_TYPE, FileManager, FormatPainter, FormatPainterActions, Formats, Formatter, FullScreen, HTMLFormatter, HtmlEditor, HtmlToolbarStatus, IGNORE_BLOCK_TAGS, IMAGE, INDENT_TYPE, INSERTHTML_TYPE, INSERT_COLUMN, INSERT_ROW, INSERT_TEXT_COMMAND, INSERT_TEXT_TYPE, INTERNAL_DESTROY, IframeContentRender, Image$1 as Image, ImageCommand, ImageInputSource, ImportExport, Indents, InsertHtml, InsertHtmlExec, InsertMethods, InsertTextExec, IsFormatted, KEY_DOWN, KEY_DOWN_HANDLER, KEY_UP, KEY_UP_HANDLER, KeyboardEvents, LINK, LINK_COMMAND, LISTS_COMMAND, LIST_TYPE, Link, LinkCommand, Lists, MDFormats, MDLink, MDLists, MDSelectionFormats, MDTable, MD_TABLE, MODEL_CHANGED, MODEL_CHANGED_PLUGIN, MOUSE_DOWN, MS_WORD_CLEANUP, MS_WORD_CLEANUP_PLUGIN, MarkdownEditor, MarkdownFormatter, MarkdownParser, MarkdownRender, MarkdownSelection, MarkdownToolbarStatus, MsWordPaste, NodeCutter, NodeSelection, ON_BEGIN, PASTE_SOURCE, PasteCleanup, PopupRenderer, QuickToolbar, REMOVETABLE, Render, RenderType, RendererFactory, Resize, RichTextEditor, SELECTION_TYPE, SELF_CLOSING_TAGS, SPACE_ACTION, SelectionBasedExec, SelectionCommands, ServiceLocator, SlashMenu, TABLE, TABLEHEADER, TABLE_BLOCK_TAGS, TABLE_HORIZONTAL_SPLIT, TABLE_MERGE, TABLE_MOVE, TABLE_VERTICAL_ALIGN, TABLE_VERTICAL_SPLIT, Table, TableCommand, Toolbar, ToolbarAction, ToolbarRenderer, ToolbarStatus, ToolbarType, UndoRedoCommands, UndoRedoManager, VIDEO, Video, VideoCommand, ViewSource, XhtmlValidation, actionBegin, actionComplete, actionSuccess, afterImageDelete, afterKeyDown, afterMediaDelete, afterPasteCleanup, audioDelete, audioToolbarAction, autoResize, beforeDialogClose, beforeDialogOpen, beforeDropDownItemRender, beforeDropDownOpen, beforeFileUpload, beforeImageDrop, beforeImageUpload, beforePasteCleanup, beforeQuickToolbarOpen, bindCssClass, bindOnEnd, blockEmptyNodes, checkUndo, cleanupResizeElements, clearDialogObj, closeAudioDialog, closeImageDialog, closeLinkDialog, closeTableDialog, closeTooltip, closeVideoDialog, colorPickerChanged, contentBlur, contentChanged, contentFocus, contentscroll, conversionFactors, convertToBlob, count, createTable, created, decode, destroy, destroyTooltip, destroyed, dialogClose, dialogOpen, disableFullScreen, dispatchEvent, docClick, documentClickClosedBy, drop, dropDownSelect, dynamicModule, editAreaClick, editLink, emojiPicker, enableFullScreen, enterHandler, execCommandCallBack, executeGroup, expandPopupClick, fileRemoving, fileSelected, fileUploadFailed, fileUploadSuccess, fileUploading, focusChange, formatPainterClick, formatPainterDoubleClick, getCollection, getDefaultValue, getDropDownValue, getEditValue, getFormattedFontSize, getIndex, getLocaleFontFormat, getSelectedHtml, getTBarItemsIndex, getTextNodesUnder, getTooltipText, hasClass, hidePopup, htmlKeyConfig, htmlToolbarClick, iframeMouseDown, imageAlt, imageBreak, imageCaption, imageCenter, imageDelete, imageInline, imageLeft, imageLink, imageRemoving, imageResizeFactor, imageRight, imageSelected, imageSize, imageToolbarAction, imageUploadFailed, imageUploadSuccess, imageUploading, imgModule, initialEnd, initialLoad, inlineEmptyNodes, insertAudio, insertCompleted, insertImage, insertLink, insertVideo, isEditableValueEmpty, isIDevice, keyDown, keyUp, linkToolbarAction, listConversionFilters, load, markdownFormatTags, markdownKeyConfig, markdownListsTags, markdownSelectionTags, markdownToolbarClick, markerClassName, mentionRestrictKeys, modelChanged, mouseDown, mouseUp, onExport, onHandleFontsizeChange, onImport, onResize, openLink, pageYOffset, parseHtml, paste, pasteClean, pasteCleanupGroupingTags, popupHide, quickToolbarClose, quickToolbarOpen, readOnlyMode, redo, refreshBegin, renderFileManager, renderInlineToolbar, resizeInitialized, resizeStart, resizeStop, rtlMode, sanitizeHelper, scroll, selectAll, selectRange, selectionCommand, selectionRestore, selectionSave, selfClosingTags, setAttributes, setToolbarStatus, showAudioDialog, showColorPicker, showImageDialog, showLinkDialog, showTableDialog, showVideoDialog, sourceCode, sourceCodeMouseDown, statusCollection, supportedUnits, tableColorPickerChanged, tableModulekeyUp, tableToolbarAction, tableclass, toObjectLowerCase, toolbarClick, toolbarCreated, toolbarOpen, toolbarRefresh, toolbarRenderComplete, toolbarUpdated, unLink, undo, updateDropDownFontFormatLocale, updateSource, updateTbItemsStatus, updateTextNode, updateToolbarItem, updateUndoRedoStatus, updateValueOnIdle, updatedToolbarStatus, videoDelete, videoSize, videoToolbarAction, windowResize, xhtmlValidation };
40341
+ export { ACTION, ALIGNMENT_TYPE, ALLOWED_ACTIONKEYS, AUDIO, Alignments, Audio, AudioCommand, BLOCKQUOTE_LIST_HANDLE, BLOCK_TAGS, BaseQuickToolbar, BaseToolbar, CLASS_AUDIO, CLASS_AUDIO_BREAK, CLASS_AUDIO_FOCUS, CLASS_AUDIO_INLINE, CLASS_AUDIO_WRAP, CLASS_CAPTION, CLASS_CAPTION_INLINE, CLASS_CLICK_ELEM, CLASS_EMBED_VIDEO_WRAP, CLASS_IMAGE_BREAK, CLASS_IMAGE_CENTER, CLASS_IMAGE_INLINE, CLASS_IMAGE_LEFT, CLASS_IMAGE_RIGHT, CLASS_RTE_CAPTION, CLASS_VIDEO, CLASS_VIDEO_BREAK, CLASS_VIDEO_CENTER, CLASS_VIDEO_CLICK_ELEM, CLASS_VIDEO_FOCUS, CLASS_VIDEO_INLINE, CLASS_VIDEO_LEFT, CLASS_VIDEO_RIGHT, CLASS_VIDEO_WRAP, CLEAR_COMMAND, CLEAR_TYPE, CLS_ACTIVE, CLS_ALIGN_TB_BTN, CLS_AUDIOBREAK, CLS_AUDIOINLINE, CLS_AUDIOWRAP, CLS_AUD_FOCUS, CLS_BACK, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_PICKER, CLS_BACKGROUND_COLOR_TARGET, CLS_BULLETFORMATLIST_TB_BTN, CLS_CAPINLINE, CLS_CAPTION, CLS_CLICKELEM, CLS_COLOR_CONTENT, CLS_COLOR_PALETTE, CLS_CONTENT, CLS_COUNT, CLS_CUSTOM_TILE, CLS_DISABLED, CLS_DROPAREA, CLS_DROPDOWN_BTN, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_POPUP, CLS_ERROR, CLS_EXPAND_OPEN, CLS_FOCUS, CLS_FONT_COLOR_DROPDOWN, CLS_FONT_COLOR_PICKER, CLS_FONT_COLOR_TARGET, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FULL_SCREEN, CLS_HIDE, CLS_HR_SEPARATOR, CLS_ICONS, CLS_IMAGE_POP, CLS_IMGBREAK, CLS_IMGCENTER, CLS_IMGINLINE, CLS_IMGLEFT, CLS_IMGRIGHT, CLS_IMG_FOCUS, CLS_IMG_INNER, CLS_IMG_RESIZE, CLS_INLINE, CLS_INLINE_DROPDOWN, CLS_INLINE_POP, CLS_LIST_PRIMARY_CONTENT, CLS_MAXIMIZE, CLS_MINIMIZE, CLS_NOCOLOR_ITEM, CLS_NUMBERFORMATLIST_TB_BTN, CLS_POP, CLS_POPUP, CLS_POPUP_OPEN, CLS_QUICK_DROPDOWN, CLS_QUICK_POP, CLS_QUICK_TB, CLS_RESIZE, CLS_RM_WHITE_SPACE, CLS_RTE, CLS_RTE_CAPTION, CLS_RTE_CONTAINER, CLS_RTE_CONTENT, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_DRAG_IMAGE, CLS_RTE_ELEMENTS, CLS_RTE_EXPAND_TB, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_HIDDEN, CLS_RTE_IMAGE, CLS_RTE_PASTE_CANCEL, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_READONLY, CLS_RTE_RES_CNT, CLS_RTE_RES_EAST, CLS_RTE_RES_HANDLE, CLS_RTE_RES_WEST, CLS_RTE_SOURCE_CODE_TXTAREA, CLS_RTE_TABLE_RESIZE, CLS_RTE_TB_ENABLED, CLS_RTE_UPLOAD_POPUP, CLS_RTL, CLS_SCRIPT_SHEET, CLS_SEPARATOR, CLS_SHOW, CLS_STYLE_SHEET, CLS_TABLE, CLS_TABLE_BORDER, CLS_TABLE_MULTI_CELL, CLS_TABLE_SEL, CLS_TABLE_SEL_END, CLS_TB_ALT_BOR, CLS_TB_BOX_RES, CLS_TB_BTN, CLS_TB_COL_RES, CLS_TB_DASH_BOR, CLS_TB_EXTENDED, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_INLINE, CLS_TB_IOS_FIX, CLS_TB_ITEM, CLS_TB_ROW_RES, CLS_TB_STATIC, CLS_TB_WRAP, CLS_TEXT_POP, CLS_TEXT_QUICK_TB, CLS_TOOLBAR, CLS_UPLOAD_FILES, CLS_VIDEOBREAK, CLS_VIDEOINLINE, CLS_VIDEOWRAP, CLS_VID_CLICK_ELEM, CLS_VID_FOCUS, CLS_VISIBLE, CLS_WARNING, ClearFormat, ClearFormatExec, ColorPickerInput, ContentRender, Count, DEFAULT_TAG, DELETECOLUMN, DELETEROW, DESTROY, DOMNode, DialogRenderer, DialogType, DropDownButtons, EMOJI_PICKER_ACTIONS, EditorManager, EmojiPicker, EmojiPickerAction, ExecCommandCallBack, FORMAT_PAINTER_ACTIONS, FORMAT_TYPE, FileManager, FormatPainter, FormatPainterActions, Formats, Formatter, FullScreen, HTMLFormatter, HtmlEditor, HtmlToolbarStatus, IGNORE_BLOCK_TAGS, IMAGE, INDENT_TYPE, INSERTHTML_TYPE, INSERT_COLUMN, INSERT_ROW, INSERT_TEXT_COMMAND, INSERT_TEXT_TYPE, INTERNAL_DESTROY, IframeContentRender, Image$1 as Image, ImageCommand, ImageInputSource, ImportExport, Indents, InsertHtml, InsertHtmlExec, InsertMethods, InsertTextExec, IsFormatted, KEY_DOWN, KEY_DOWN_HANDLER, KEY_UP, KEY_UP_HANDLER, KeyboardEvents, LINK, LINK_COMMAND, LISTS_COMMAND, LIST_TYPE, Link, LinkCommand, Lists, MDFormats, MDLink, MDLists, MDSelectionFormats, MDTable, MD_TABLE, MODEL_CHANGED, MODEL_CHANGED_PLUGIN, MOUSE_DOWN, MS_WORD_CLEANUP, MS_WORD_CLEANUP_PLUGIN, MarkdownEditor, MarkdownFormatter, MarkdownParser, MarkdownRender, MarkdownSelection, MarkdownToolbarStatus, MsWordPaste, NodeCutter, NodeSelection, ON_BEGIN, PASTE_SOURCE, PasteCleanup, PopupRenderer, QuickToolbar, REMOVETABLE, Render, RenderType, RendererFactory, Resize, RichTextEditor, SELECTION_TYPE, SELF_CLOSING_TAGS, SPACE_ACTION, SelectionBasedExec, SelectionCommands, ServiceLocator, SlashMenu, TABLE, TABLEHEADER, TABLE_BLOCK_TAGS, TABLE_HORIZONTAL_SPLIT, TABLE_MERGE, TABLE_MOVE, TABLE_VERTICAL_ALIGN, TABLE_VERTICAL_SPLIT, Table, TableCommand, Toolbar, ToolbarAction, ToolbarRenderer, ToolbarStatus, ToolbarType, UndoRedoCommands, UndoRedoManager, VIDEO, Video, VideoCommand, ViewSource, XhtmlValidation, actionBegin, actionComplete, actionSuccess, afterImageDelete, afterKeyDown, afterMediaDelete, afterPasteCleanup, audioDelete, audioToolbarAction, autoResize, beforeDialogClose, beforeDialogOpen, beforeDropDownItemRender, beforeDropDownOpen, beforeFileUpload, beforeImageDrop, beforeImageUpload, beforePasteCleanup, beforeQuickToolbarOpen, bindCssClass, bindOnEnd, blockEmptyNodes, checkUndo, cleanupResizeElements, clearDialogObj, closeAudioDialog, closeImageDialog, closeLinkDialog, closeTableDialog, closeTooltip, closeVideoDialog, colorPickerChanged, contentBlur, contentChanged, contentFocus, contentscroll, conversionFactors, convertToBlob, count, createTable, created, decode, destroy, destroyTooltip, destroyed, dialogClose, dialogOpen, disableFullScreen, dispatchEvent, docClick, documentClickClosedBy, drop, dropDownSelect, dynamicModule, editAreaClick, editLink, emojiPicker, enableFullScreen, enterHandler, execCommandCallBack, executeGroup, expandPopupClick, fileRemoving, fileSelected, fileUploadFailed, fileUploadSuccess, fileUploading, focusChange, formatPainterClick, formatPainterDoubleClick, getCollection, getDefaultValue, getDropDownValue, getEditValue, getFormattedFontSize, getIndex, getLocaleFontFormat, getSelectedHtml, getTBarItemsIndex, getTextNodesUnder, getTooltipText, hasClass, hidePopup, htmlKeyConfig, htmlToolbarClick, iframeMouseDown, iframeResizeFactor, imageAlt, imageBreak, imageCaption, imageCenter, imageDelete, imageInline, imageLeft, imageLink, imageRemoving, imageResizeFactor, imageRight, imageSelected, imageSize, imageToolbarAction, imageUploadFailed, imageUploadSuccess, imageUploading, imgModule, initialEnd, initialLoad, inlineEmptyNodes, insertAudio, insertCompleted, insertImage, insertLink, insertVideo, isEditableValueEmpty, isIDevice, keyDown, keyUp, linkToolbarAction, listConversionFilters, load, markdownFormatTags, markdownKeyConfig, markdownListsTags, markdownSelectionTags, markdownToolbarClick, markerClassName, mentionRestrictKeys, modelChanged, mouseDown, mouseUp, onExport, onHandleFontsizeChange, onImport, onResize, openLink, pageYOffset, parseHtml, paste, pasteClean, pasteCleanupGroupingTags, popupHide, quickToolbarClose, quickToolbarOpen, readOnlyMode, redo, refreshBegin, renderFileManager, renderInlineToolbar, resizeInitialized, resizeStart, resizeStop, rtlMode, sanitizeHelper, scroll, selectAll, selectRange, selectionCommand, selectionRestore, selectionSave, selfClosingTags, setAttributes, setToolbarStatus, showAudioDialog, showColorPicker, showImageDialog, showLinkDialog, showTableDialog, showVideoDialog, sourceCode, sourceCodeMouseDown, statusCollection, supportedUnits, tableColorPickerChanged, tableModulekeyUp, tableToolbarAction, tableclass, toObjectLowerCase, toolbarClick, toolbarCreated, toolbarOpen, toolbarRefresh, toolbarRenderComplete, toolbarUpdated, unLink, undo, updateDropDownFontFormatLocale, updateSource, updateTbItemsStatus, updateTextNode, updateToolbarItem, updateUndoRedoStatus, updateValueOnIdle, updatedToolbarStatus, videoDelete, videoSize, videoToolbarAction, windowResize, xhtmlValidation };
40231
40342
  //# sourceMappingURL=ej2-richtexteditor.es2015.js.map