@syncfusion/ej2-richtexteditor 28.1.38 → 28.1.41-642043

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 (186) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.json +260 -260
  3. package/README.md +76 -76
  4. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  5. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-richtexteditor.es2015.js +209 -193
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +444 -428
  9. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  10. package/helpers/e2e/index.js +3 -3
  11. package/helpers/e2e/rte-helper.js +13 -13
  12. package/license +9 -9
  13. package/package.json +85 -85
  14. package/src/common/interface.d.ts +8 -8
  15. package/src/common/util.d.ts +1 -2
  16. package/src/common/util.js +49 -95
  17. package/src/editor-manager/base/classes.d.ts +1 -1
  18. package/src/editor-manager/base/classes.js +1 -1
  19. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  20. package/src/editor-manager/base/editor-manager.js +3 -3
  21. package/src/editor-manager/base/enum.d.ts +2 -2
  22. package/src/editor-manager/base/interface.d.ts +17 -9
  23. package/src/editor-manager/base/types.d.ts +1 -1
  24. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  25. package/src/editor-manager/plugin/alignments.js +2 -2
  26. package/src/editor-manager/plugin/audio.d.ts +3 -3
  27. package/src/editor-manager/plugin/audio.js +3 -3
  28. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  29. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  30. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  31. package/src/editor-manager/plugin/clearformat.js +1 -1
  32. package/src/editor-manager/plugin/dom-node.d.ts +36 -36
  33. package/src/editor-manager/plugin/dom-node.js +36 -36
  34. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  35. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  36. package/src/editor-manager/plugin/formats.d.ts +2 -2
  37. package/src/editor-manager/plugin/formats.js +2 -2
  38. package/src/editor-manager/plugin/image.d.ts +3 -3
  39. package/src/editor-manager/plugin/image.js +3 -3
  40. package/src/editor-manager/plugin/indents.d.ts +2 -2
  41. package/src/editor-manager/plugin/indents.js +2 -2
  42. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  43. package/src/editor-manager/plugin/insert-methods.js +4 -4
  44. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  45. package/src/editor-manager/plugin/insert-text.js +2 -2
  46. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  47. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  48. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  49. package/src/editor-manager/plugin/inserthtml.js +5 -5
  50. package/src/editor-manager/plugin/isformatted.d.ts +9 -9
  51. package/src/editor-manager/plugin/isformatted.js +9 -9
  52. package/src/editor-manager/plugin/link.d.ts +2 -2
  53. package/src/editor-manager/plugin/link.js +2 -2
  54. package/src/editor-manager/plugin/lists.d.ts +3 -2
  55. package/src/editor-manager/plugin/lists.js +15 -3
  56. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  57. package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
  58. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  59. package/src/editor-manager/plugin/nodecutter.js +6 -6
  60. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  61. package/src/editor-manager/plugin/selection-commands.js +1 -1
  62. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  63. package/src/editor-manager/plugin/selection-exec.js +2 -2
  64. package/src/editor-manager/plugin/table.d.ts +2 -2
  65. package/src/editor-manager/plugin/table.js +2 -2
  66. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  67. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  68. package/src/editor-manager/plugin/undo.d.ts +6 -6
  69. package/src/editor-manager/plugin/undo.js +6 -6
  70. package/src/editor-manager/plugin/video.d.ts +3 -3
  71. package/src/editor-manager/plugin/video.js +3 -3
  72. package/src/markdown-parser/base/interface.d.ts +10 -10
  73. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  74. package/src/markdown-parser/base/markdown-parser.js +3 -3
  75. package/src/markdown-parser/base/types.d.ts +1 -1
  76. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  77. package/src/markdown-parser/plugin/clearformat.js +2 -2
  78. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  79. package/src/markdown-parser/plugin/formats.js +2 -2
  80. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  81. package/src/markdown-parser/plugin/insert-text.js +2 -2
  82. package/src/markdown-parser/plugin/link.d.ts +2 -2
  83. package/src/markdown-parser/plugin/link.js +2 -2
  84. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  85. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  86. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  87. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  88. package/src/markdown-parser/plugin/table.d.ts +3 -3
  89. package/src/markdown-parser/plugin/table.js +3 -3
  90. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  91. package/src/markdown-parser/plugin/undo.js +6 -6
  92. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  93. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  94. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  95. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  96. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  97. package/src/rich-text-editor/actions/color-picker.js +2 -2
  98. package/src/rich-text-editor/actions/count.d.ts +3 -3
  99. package/src/rich-text-editor/actions/count.js +3 -3
  100. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  101. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  102. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  103. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  104. package/src/rich-text-editor/actions/enter-key.js +34 -3
  105. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  106. package/src/rich-text-editor/actions/full-screen.js +3 -3
  107. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  108. package/src/rich-text-editor/actions/html-editor.js +26 -4
  109. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  110. package/src/rich-text-editor/actions/keyboard.js +20 -20
  111. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  112. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  113. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  114. package/src/rich-text-editor/actions/paste-clean-up.js +23 -32
  115. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  116. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  117. package/src/rich-text-editor/actions/resize.d.ts +2 -0
  118. package/src/rich-text-editor/actions/resize.js +13 -2
  119. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  120. package/src/rich-text-editor/actions/toolbar.js +13 -13
  121. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  122. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  123. package/src/rich-text-editor/base/classes.d.ts +125 -125
  124. package/src/rich-text-editor/base/classes.js +125 -125
  125. package/src/rich-text-editor/base/constant.d.ts +158 -158
  126. package/src/rich-text-editor/base/constant.js +158 -158
  127. package/src/rich-text-editor/base/enum.d.ts +1 -1
  128. package/src/rich-text-editor/base/enum.js +1 -1
  129. package/src/rich-text-editor/base/interface.d.ts +51 -51
  130. package/src/rich-text-editor/base/interface.js +1 -1
  131. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
  132. package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
  133. package/src/rich-text-editor/base/rich-text-editor.js +64 -65
  134. package/src/rich-text-editor/base/util.d.ts +1 -1
  135. package/src/rich-text-editor/base/util.js +1 -1
  136. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  137. package/src/rich-text-editor/formatter/formatter.js +8 -8
  138. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  139. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  140. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  141. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  142. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  143. package/src/rich-text-editor/models/inline-mode.js +19 -19
  144. package/src/rich-text-editor/models/slash-menu-settings.js +19 -19
  145. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  146. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  147. package/src/rich-text-editor/renderer/audio-module.js +1 -1
  148. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  149. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  150. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  151. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  152. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  153. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  154. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  155. package/src/rich-text-editor/renderer/image-module.js +1 -1
  156. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  157. package/src/rich-text-editor/renderer/link-module.js +3 -3
  158. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  159. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  160. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  161. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  162. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  163. package/src/rich-text-editor/renderer/render.js +2 -2
  164. package/src/rich-text-editor/renderer/table-module.d.ts +3 -2
  165. package/src/rich-text-editor/renderer/table-module.js +15 -18
  166. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  167. package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -10
  168. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  169. package/src/rich-text-editor/renderer/video-module.js +1 -1
  170. package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
  171. package/src/rich-text-editor/renderer/view-source.js +5 -5
  172. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  173. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  174. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  175. package/src/rich-text-editor/services/service-locator.js +3 -3
  176. package/src/selection/selection.d.ts +22 -22
  177. package/src/selection/selection.js +22 -22
  178. package/styles/material3-dark.scss +1 -1
  179. package/styles/material3.scss +1 -1
  180. package/styles/rich-text-editor/material3-dark.scss +1 -1
  181. package/styles/rich-text-editor/material3.scss +1 -1
  182. package/dist/ej2-richtexteditor.min.js +0 -10
  183. package/dist/global/ej2-richtexteditor.min.js +0 -11
  184. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  185. package/dist/global/index.d.ts +0 -14
  186. package/tslint.json +0 -111
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Objects used for configuring the iframe resources properties.
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Configures the inlineMode property of the RTE.
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { ChildProperty, Property } from '@syncfusion/ej2-base';
21
21
  import { DialogType } from '../base/enum';
22
22
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty, Complex, Event } from '@syncfusion/ej2-base';
21
21
  import { AjaxSettings, ContextMenuSettings } from '@syncfusion/ej2-filemanager';
22
22
  import { DetailsViewSettings, NavigationPaneSettings } from '@syncfusion/ej2-filemanager';
@@ -69,7 +69,7 @@ export declare class Audio {
69
69
  * @method destroy
70
70
  * @returns {void}
71
71
  * @hidden
72
-
72
+ * @deprecated
73
73
  */
74
74
  destroy(): void;
75
75
  /**
@@ -882,7 +882,7 @@ var Audio = /** @class */ (function () {
882
882
  * @method destroy
883
883
  * @returns {void}
884
884
  * @hidden
885
-
885
+ * @deprecated
886
886
  */
887
887
  /* eslint-enable */
888
888
  Audio.prototype.destroy = function () {
@@ -3,7 +3,7 @@ import { IRenderer, IRichTextEditor } from '../base/interface';
3
3
  * Content module is used to render Rich Text Editor content
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class ContentRender implements IRenderer {
9
9
  protected contentPanel: Element;
@@ -20,7 +20,7 @@ export declare class ContentRender implements IRenderer {
20
20
  *
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  renderPanel(): void;
26
26
  /**
@@ -28,7 +28,7 @@ export declare class ContentRender implements IRenderer {
28
28
  *
29
29
  * @returns {Element} - specifies the element.
30
30
  * @hidden
31
-
31
+ * @deprecated
32
32
  */
33
33
  getPanel(): Element;
34
34
  /**
@@ -36,7 +36,7 @@ export declare class ContentRender implements IRenderer {
36
36
  *
37
37
  * @returns {Element} - specifies the return element.
38
38
  * @hidden
39
-
39
+ * @deprecated
40
40
  */
41
41
  getEditPanel(): Element;
42
42
  /**
@@ -51,7 +51,7 @@ export declare class ContentRender implements IRenderer {
51
51
  * @param {Element} panel - specifies the panel element.
52
52
  * @returns {void}
53
53
  * @hidden
54
-
54
+ * @deprecated
55
55
  */
56
56
  setPanel(panel: Element): void;
57
57
  /**
@@ -59,7 +59,7 @@ export declare class ContentRender implements IRenderer {
59
59
  *
60
60
  * @returns {Document} - specifies the document.
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  getDocument(): Document;
65
65
  }
@@ -4,7 +4,7 @@ import { isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
4
4
  * Content module is used to render Rich Text Editor content
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  var ContentRender = /** @class */ (function () {
10
10
  /**
@@ -20,7 +20,7 @@ var ContentRender = /** @class */ (function () {
20
20
  *
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  ContentRender.prototype.renderPanel = function () {
26
26
  var rteObj = this.parent;
@@ -49,7 +49,7 @@ var ContentRender = /** @class */ (function () {
49
49
  *
50
50
  * @returns {Element} - specifies the element.
51
51
  * @hidden
52
-
52
+ * @deprecated
53
53
  */
54
54
  ContentRender.prototype.getPanel = function () {
55
55
  return this.contentPanel;
@@ -59,7 +59,7 @@ var ContentRender = /** @class */ (function () {
59
59
  *
60
60
  * @returns {Element} - specifies the return element.
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  ContentRender.prototype.getEditPanel = function () {
65
65
  return this.editableElement;
@@ -79,7 +79,7 @@ var ContentRender = /** @class */ (function () {
79
79
  * @param {Element} panel - specifies the panel element.
80
80
  * @returns {void}
81
81
  * @hidden
82
-
82
+ * @deprecated
83
83
  */
84
84
  ContentRender.prototype.setPanel = function (panel) {
85
85
  this.contentPanel = panel;
@@ -89,7 +89,7 @@ var ContentRender = /** @class */ (function () {
89
89
  *
90
90
  * @returns {Document} - specifies the document.
91
91
  * @hidden
92
-
92
+ * @deprecated
93
93
  */
94
94
  ContentRender.prototype.getDocument = function () {
95
95
  return this.getEditPanel().ownerDocument;
@@ -17,7 +17,7 @@ export declare class DialogRenderer {
17
17
  * @param {DialogModel} e - specifies the dialog model.
18
18
  * @returns {void}
19
19
  * @hidden
20
-
20
+ * @deprecated
21
21
  */
22
22
  render(e: DialogModel): Dialog;
23
23
  private beforeOpen;
@@ -33,7 +33,7 @@ export declare class DialogRenderer {
33
33
  * @param {Object} args - specifies the arguments.
34
34
  * @returns {void}
35
35
  * @hidden
36
-
36
+ * @deprecated
37
37
  */
38
38
  close(args: Object): void;
39
39
  }
@@ -29,7 +29,7 @@ var DialogRenderer = /** @class */ (function () {
29
29
  * @param {DialogModel} e - specifies the dialog model.
30
30
  * @returns {void}
31
31
  * @hidden
32
-
32
+ * @deprecated
33
33
  */
34
34
  DialogRenderer.prototype.render = function (e) {
35
35
  var dlgObj;
@@ -114,7 +114,7 @@ var DialogRenderer = /** @class */ (function () {
114
114
  * @param {Object} args - specifies the arguments.
115
115
  * @returns {void}
116
116
  * @hidden
117
-
117
+ * @deprecated
118
118
  */
119
119
  DialogRenderer.prototype.close = function (args) {
120
120
  this.parent.trigger(events.dialogClose, args);
@@ -3,14 +3,14 @@ import { ContentRender } from '../renderer/content-renderer';
3
3
  * Content module is used to render Rich Text Editor content
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class IframeContentRender extends ContentRender {
9
9
  /**
10
10
  * The function is used to render Rich Text Editor iframe
11
11
  *
12
12
  * @hidden
13
-
13
+ * @deprecated
14
14
  */
15
15
  renderPanel(): void;
16
16
  private setThemeColor;
@@ -19,7 +19,7 @@ export declare class IframeContentRender extends ContentRender {
19
19
  *
20
20
  * @returns {Element} - specifies the element.
21
21
  * @hidden
22
-
22
+ * @deprecated
23
23
  */
24
24
  getEditPanel(): Element;
25
25
  /**
@@ -27,7 +27,7 @@ export declare class IframeContentRender extends ContentRender {
27
27
  *
28
28
  * @returns {void}
29
29
  * @hidden
30
-
30
+ * @deprecated
31
31
  */
32
32
  getDocument(): Document;
33
33
  }
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { ContentRender } from '../renderer/content-renderer';
15
15
  import { isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
16
16
  import { getEditValue } from '../base/util';
@@ -21,7 +21,7 @@ var IFRAMEHEADER = "\n <!DOCTYPE html> \n <html>\n <head>\n
21
21
  * Content module is used to render Rich Text Editor content
22
22
  *
23
23
  * @hidden
24
-
24
+ * @deprecated
25
25
  */
26
26
  var IframeContentRender = /** @class */ (function (_super) {
27
27
  __extends(IframeContentRender, _super);
@@ -32,7 +32,7 @@ var IframeContentRender = /** @class */ (function (_super) {
32
32
  * The function is used to render Rich Text Editor iframe
33
33
  *
34
34
  * @hidden
35
-
35
+ * @deprecated
36
36
  */
37
37
  IframeContentRender.prototype.renderPanel = function () {
38
38
  var rteObj = this.parent;
@@ -100,7 +100,7 @@ var IframeContentRender = /** @class */ (function (_super) {
100
100
  *
101
101
  * @returns {Element} - specifies the element.
102
102
  * @hidden
103
-
103
+ * @deprecated
104
104
  */
105
105
  IframeContentRender.prototype.getEditPanel = function () {
106
106
  var editNode;
@@ -117,7 +117,7 @@ var IframeContentRender = /** @class */ (function (_super) {
117
117
  *
118
118
  * @returns {void}
119
119
  * @hidden
120
-
120
+ * @deprecated
121
121
  */
122
122
  IframeContentRender.prototype.getDocument = function () {
123
123
  return this.getEditPanel().ownerDocument;
@@ -182,7 +182,7 @@ export declare class Image {
182
182
  * @method destroy
183
183
  * @returns {void}
184
184
  * @hidden
185
-
185
+ * @deprecated
186
186
  */
187
187
  destroy(): void;
188
188
  /**
@@ -2455,7 +2455,7 @@ var Image = /** @class */ (function () {
2455
2455
  * @method destroy
2456
2456
  * @returns {void}
2457
2457
  * @hidden
2458
-
2458
+ * @deprecated
2459
2459
  */
2460
2460
  /* eslint-enable */
2461
2461
  Image.prototype.destroy = function () {
@@ -47,7 +47,7 @@ export declare class Link {
47
47
  * @function destroy
48
48
  * @returns {void}
49
49
  * @hidden
50
-
50
+ * @deprecated
51
51
  */
52
52
  destroy(): void;
53
53
  /**
@@ -397,10 +397,10 @@ var Link = /** @class */ (function () {
397
397
  }
398
398
  if (!this.selfLink.isUrl(linkUrl)) {
399
399
  if (this.selfLink.parent.editorMode === 'Markdown') {
400
- linkText = (linkText !== '') ? linkText : '';
400
+ linkText = (linkText.trim() !== '') ? linkText : '';
401
401
  }
402
402
  else {
403
- linkText = (linkText === '') ? linkUrl : linkText;
403
+ linkText = (linkText.trim() === '') ? linkUrl : linkText;
404
404
  }
405
405
  if (!this.selfLink.parent.enableAutoUrl) {
406
406
  linkUrl = linkUrl.indexOf('http') > -1 ? linkUrl : 'http://' + linkUrl;
@@ -564,7 +564,7 @@ var Link = /** @class */ (function () {
564
564
  * @function destroy
565
565
  * @returns {void}
566
566
  * @hidden
567
-
567
+ * @deprecated
568
568
  */
569
569
  Link.prototype.destroy = function () {
570
570
  if (this.isDestroyed) {
@@ -3,7 +3,7 @@ import { IRenderer, IRichTextEditor } from '../base/interface';
3
3
  * Markdown module is used to render Rich Text Editor as Markdown editor content
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MarkdownRender implements IRenderer {
9
9
  private contentPanel;
@@ -20,7 +20,7 @@ export declare class MarkdownRender implements IRenderer {
20
20
  *
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  renderPanel(): void;
26
26
  /**
@@ -28,7 +28,7 @@ export declare class MarkdownRender implements IRenderer {
28
28
  *
29
29
  * @returns {Element} - specifies the element
30
30
  * @hidden
31
-
31
+ * @deprecated
32
32
  */
33
33
  getPanel(): Element;
34
34
  /**
@@ -36,7 +36,7 @@ export declare class MarkdownRender implements IRenderer {
36
36
  *
37
37
  * @returns {Element} - specifies the element
38
38
  * @hidden
39
-
39
+ * @deprecated
40
40
  */
41
41
  getEditPanel(): Element;
42
42
  /**
@@ -51,7 +51,7 @@ export declare class MarkdownRender implements IRenderer {
51
51
  * @param {Element} panel - specifies the element.
52
52
  * @returns {void}
53
53
  * @hidden
54
-
54
+ * @deprecated
55
55
  */
56
56
  setPanel(panel: Element): void;
57
57
  /**
@@ -59,7 +59,7 @@ export declare class MarkdownRender implements IRenderer {
59
59
  *
60
60
  * @returns {void}
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  getDocument(): Document;
65
65
  }
@@ -2,7 +2,7 @@
2
2
  * Markdown module is used to render Rich Text Editor as Markdown editor content
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  var MarkdownRender = /** @class */ (function () {
8
8
  /**
@@ -18,7 +18,7 @@ var MarkdownRender = /** @class */ (function () {
18
18
  *
19
19
  * @returns {void}
20
20
  * @hidden
21
-
21
+ * @deprecated
22
22
  */
23
23
  MarkdownRender.prototype.renderPanel = function () {
24
24
  var rteObj = this.parent;
@@ -37,7 +37,7 @@ var MarkdownRender = /** @class */ (function () {
37
37
  *
38
38
  * @returns {Element} - specifies the element
39
39
  * @hidden
40
-
40
+ * @deprecated
41
41
  */
42
42
  MarkdownRender.prototype.getPanel = function () {
43
43
  return this.contentPanel;
@@ -47,7 +47,7 @@ var MarkdownRender = /** @class */ (function () {
47
47
  *
48
48
  * @returns {Element} - specifies the element
49
49
  * @hidden
50
-
50
+ * @deprecated
51
51
  */
52
52
  MarkdownRender.prototype.getEditPanel = function () {
53
53
  return this.editableElement;
@@ -66,7 +66,7 @@ var MarkdownRender = /** @class */ (function () {
66
66
  * @param {Element} panel - specifies the element.
67
67
  * @returns {void}
68
68
  * @hidden
69
-
69
+ * @deprecated
70
70
  */
71
71
  MarkdownRender.prototype.setPanel = function (panel) {
72
72
  this.contentPanel = panel;
@@ -76,7 +76,7 @@ var MarkdownRender = /** @class */ (function () {
76
76
  *
77
77
  * @returns {void}
78
78
  * @hidden
79
-
79
+ * @deprecated
80
80
  */
81
81
  MarkdownRender.prototype.getDocument = function () {
82
82
  return this.getEditPanel().ownerDocument;
@@ -4,7 +4,7 @@ import { BaseQuickToolbar } from '../actions/base-quick-toolbar';
4
4
  * `Popup renderer` module is used to render popup in RichTextEditor.
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class PopupRenderer implements IRenderer {
10
10
  private popupObj;
@@ -23,7 +23,7 @@ export declare class PopupRenderer implements IRenderer {
23
23
  * @param {BaseQuickToolbar} args - specifies the arguments.
24
24
  * @returns {void}
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  renderPopup(args: BaseQuickToolbar): void;
29
29
  /**
@@ -31,7 +31,7 @@ export declare class PopupRenderer implements IRenderer {
31
31
  *
32
32
  * @returns {void}
33
33
  * @hidden
34
-
34
+ * @deprecated
35
35
  */
36
36
  renderPanel(): void;
37
37
  /**
@@ -39,7 +39,7 @@ export declare class PopupRenderer implements IRenderer {
39
39
  *
40
40
  * @returns {Element} - specifies the element
41
41
  * @hidden
42
-
42
+ * @deprecated
43
43
  */
44
44
  getPanel(): Element;
45
45
  /**
@@ -48,7 +48,7 @@ export declare class PopupRenderer implements IRenderer {
48
48
  * @returns {void}
49
49
  * @param {Element} panel - specifies the element
50
50
  * @hidden
51
-
51
+ * @deprecated
52
52
  */
53
53
  setPanel(panel: Element): void;
54
54
  }