@syncfusion/ej2-richtexteditor 24.1.41 → 24.1.43-569781

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 (269) hide show
  1. package/.eslintrc.json +259 -259
  2. package/CHANGELOG.md +1927 -1775
  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 +2601 -1077
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +2706 -1181
  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 +74 -74
  14. package/src/common/config.d.ts +7 -0
  15. package/src/common/config.js +11 -0
  16. package/src/common/constant.d.ts +6 -0
  17. package/src/common/constant.js +6 -0
  18. package/src/common/interface.d.ts +19 -7
  19. package/src/common/types.d.ts +6 -0
  20. package/src/common/util.d.ts +6 -0
  21. package/src/common/util.js +61 -20
  22. package/src/editor-manager/base/classes.d.ts +1 -1
  23. package/src/editor-manager/base/classes.js +1 -1
  24. package/src/editor-manager/base/constant.d.ts +6 -0
  25. package/src/editor-manager/base/constant.js +6 -0
  26. package/src/editor-manager/base/editor-manager.d.ts +8 -3
  27. package/src/editor-manager/base/editor-manager.js +62 -3
  28. package/src/editor-manager/base/enum.d.ts +2 -2
  29. package/src/editor-manager/base/interface.d.ts +17 -9
  30. package/src/editor-manager/base/types.d.ts +1 -1
  31. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  32. package/src/editor-manager/plugin/alignments.js +2 -2
  33. package/src/editor-manager/plugin/audio.d.ts +3 -3
  34. package/src/editor-manager/plugin/audio.js +3 -3
  35. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  36. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  37. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  38. package/src/editor-manager/plugin/clearformat.js +1 -1
  39. package/src/editor-manager/plugin/dom-node.d.ts +39 -35
  40. package/src/editor-manager/plugin/dom-node.js +203 -49
  41. package/src/editor-manager/plugin/format-painter-actions.d.ts +2 -1
  42. package/src/editor-manager/plugin/format-painter-actions.js +20 -2
  43. package/src/editor-manager/plugin/formats.d.ts +3 -2
  44. package/src/editor-manager/plugin/formats.js +40 -5
  45. package/src/editor-manager/plugin/image.d.ts +3 -3
  46. package/src/editor-manager/plugin/image.js +15 -19
  47. package/src/editor-manager/plugin/indents.d.ts +2 -2
  48. package/src/editor-manager/plugin/indents.js +2 -2
  49. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  50. package/src/editor-manager/plugin/insert-methods.js +4 -4
  51. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  52. package/src/editor-manager/plugin/insert-text.js +2 -2
  53. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  54. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  55. package/src/editor-manager/plugin/inserthtml.d.ts +3 -2
  56. package/src/editor-manager/plugin/inserthtml.js +64 -7
  57. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  58. package/src/editor-manager/plugin/isformatted.js +8 -8
  59. package/src/editor-manager/plugin/link.d.ts +2 -2
  60. package/src/editor-manager/plugin/link.js +6 -3
  61. package/src/editor-manager/plugin/lists.d.ts +2 -2
  62. package/src/editor-manager/plugin/lists.js +123 -67
  63. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +4 -1
  64. package/src/editor-manager/plugin/ms-word-clean-up.js +213 -86
  65. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  66. package/src/editor-manager/plugin/nodecutter.js +8 -8
  67. package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
  68. package/src/editor-manager/plugin/selection-commands.js +127 -4
  69. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  70. package/src/editor-manager/plugin/selection-exec.js +2 -2
  71. package/src/editor-manager/plugin/table.d.ts +2 -3
  72. package/src/editor-manager/plugin/table.js +35 -32
  73. package/src/editor-manager/plugin/toolbar-status.d.ts +4 -4
  74. package/src/editor-manager/plugin/toolbar-status.js +22 -12
  75. package/src/editor-manager/plugin/undo.d.ts +7 -6
  76. package/src/editor-manager/plugin/undo.js +27 -7
  77. package/src/editor-manager/plugin/video.d.ts +3 -3
  78. package/src/editor-manager/plugin/video.js +3 -3
  79. package/src/markdown-parser/base/interface.d.ts +10 -10
  80. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  81. package/src/markdown-parser/base/markdown-parser.js +3 -3
  82. package/src/markdown-parser/base/types.d.ts +1 -1
  83. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  84. package/src/markdown-parser/plugin/clearformat.js +2 -2
  85. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  86. package/src/markdown-parser/plugin/formats.js +2 -2
  87. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  88. package/src/markdown-parser/plugin/insert-text.js +2 -2
  89. package/src/markdown-parser/plugin/link.d.ts +2 -2
  90. package/src/markdown-parser/plugin/link.js +2 -2
  91. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  92. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  93. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  94. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  95. package/src/markdown-parser/plugin/table.d.ts +3 -3
  96. package/src/markdown-parser/plugin/table.js +3 -3
  97. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  98. package/src/markdown-parser/plugin/undo.js +6 -6
  99. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +12 -12
  100. package/src/rich-text-editor/actions/base-quick-toolbar.js +57 -20
  101. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  102. package/src/rich-text-editor/actions/base-toolbar.js +35 -37
  103. package/src/rich-text-editor/actions/color-picker.d.ts +3 -2
  104. package/src/rich-text-editor/actions/color-picker.js +12 -2
  105. package/src/rich-text-editor/actions/count.d.ts +3 -3
  106. package/src/rich-text-editor/actions/count.js +4 -4
  107. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  108. package/src/rich-text-editor/actions/dropdown-buttons.js +23 -4
  109. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  110. package/src/rich-text-editor/actions/emoji-picker.js +4 -4
  111. package/src/rich-text-editor/actions/enter-key.js +4 -3
  112. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  113. package/src/rich-text-editor/actions/full-screen.js +6 -5
  114. package/src/rich-text-editor/actions/html-editor.d.ts +5 -5
  115. package/src/rich-text-editor/actions/html-editor.js +129 -45
  116. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  117. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  118. package/src/rich-text-editor/actions/keyboard.js +23 -21
  119. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  120. package/src/rich-text-editor/actions/markdown-editor.js +5 -3
  121. package/src/rich-text-editor/actions/paste-clean-up.d.ts +4 -1
  122. package/src/rich-text-editor/actions/paste-clean-up.js +87 -12
  123. package/src/rich-text-editor/actions/quick-toolbar.d.ts +16 -9
  124. package/src/rich-text-editor/actions/quick-toolbar.js +33 -18
  125. package/src/rich-text-editor/actions/resize.js +2 -1
  126. package/src/rich-text-editor/actions/toolbar-action.js +1 -1
  127. package/src/rich-text-editor/actions/toolbar.d.ts +15 -16
  128. package/src/rich-text-editor/actions/toolbar.js +31 -100
  129. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  130. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  131. package/src/rich-text-editor/base/classes.d.ts +121 -126
  132. package/src/rich-text-editor/base/classes.js +121 -126
  133. package/src/rich-text-editor/base/constant.d.ts +190 -150
  134. package/src/rich-text-editor/base/constant.js +359 -150
  135. package/src/rich-text-editor/base/enum.d.ts +1 -1
  136. package/src/rich-text-editor/base/enum.js +1 -1
  137. package/src/rich-text-editor/base/interface.d.ts +87 -53
  138. package/src/rich-text-editor/base/interface.js +1 -1
  139. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
  140. package/src/rich-text-editor/base/rich-text-editor.d.ts +68 -65
  141. package/src/rich-text-editor/base/rich-text-editor.js +232 -199
  142. package/src/rich-text-editor/base/util.d.ts +5 -1
  143. package/src/rich-text-editor/base/util.js +47 -4
  144. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  145. package/src/rich-text-editor/formatter/formatter.js +23 -12
  146. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  147. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  148. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  149. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  150. package/src/rich-text-editor/models/default-locale.js +30 -26
  151. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  152. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  153. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  154. package/src/rich-text-editor/models/inline-mode.js +19 -19
  155. package/src/rich-text-editor/models/items.js +2 -2
  156. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
  157. package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
  158. package/src/rich-text-editor/models/toolbar-settings.js +20 -20
  159. package/src/rich-text-editor/renderer/audio-module.d.ts +2 -1
  160. package/src/rich-text-editor/renderer/audio-module.js +14 -1
  161. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  162. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  163. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +4 -2
  164. package/src/rich-text-editor/renderer/dialog-renderer.js +14 -3
  165. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  166. package/src/rich-text-editor/renderer/iframe-content-renderer.js +19 -18
  167. package/src/rich-text-editor/renderer/image-module.d.ts +10 -2
  168. package/src/rich-text-editor/renderer/image-module.js +200 -168
  169. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  170. package/src/rich-text-editor/renderer/link-module.js +11 -2
  171. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  172. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  173. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  174. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  175. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  176. package/src/rich-text-editor/renderer/render.js +2 -2
  177. package/src/rich-text-editor/renderer/table-module.d.ts +9 -2
  178. package/src/rich-text-editor/renderer/table-module.js +289 -137
  179. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +13 -9
  180. package/src/rich-text-editor/renderer/toolbar-renderer.js +103 -24
  181. package/src/rich-text-editor/renderer/video-module.d.ts +4 -1
  182. package/src/rich-text-editor/renderer/video-module.js +62 -35
  183. package/src/rich-text-editor/renderer/view-source.d.ts +7 -6
  184. package/src/rich-text-editor/renderer/view-source.js +18 -10
  185. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  186. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  187. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  188. package/src/rich-text-editor/services/service-locator.js +3 -3
  189. package/src/selection/selection.d.ts +22 -22
  190. package/src/selection/selection.js +25 -22
  191. package/styles/_all.scss +1 -1
  192. package/styles/bootstrap-dark.css +153 -49
  193. package/styles/bootstrap.css +158 -57
  194. package/styles/bootstrap4.css +145 -45
  195. package/styles/bootstrap5-dark.css +150 -45
  196. package/styles/bootstrap5.css +150 -45
  197. package/styles/fabric-dark.css +139 -39
  198. package/styles/fabric.css +140 -40
  199. package/styles/fluent-dark.css +147 -41
  200. package/styles/fluent.css +147 -41
  201. package/styles/highcontrast-light.css +139 -39
  202. package/styles/highcontrast.css +143 -40
  203. package/styles/material-dark.css +143 -39
  204. package/styles/material.css +143 -39
  205. package/styles/material3-dark.css +155 -49
  206. package/styles/material3-dark.scss +1 -1
  207. package/styles/material3.css +155 -49
  208. package/styles/material3.scss +1 -1
  209. package/styles/rich-text-editor/_all.scss +2 -2
  210. package/styles/rich-text-editor/_bds-definition.scss +279 -0
  211. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +281 -277
  212. package/styles/rich-text-editor/_bootstrap-definition.scss +337 -334
  213. package/styles/rich-text-editor/_bootstrap4-definition.scss +464 -460
  214. package/styles/rich-text-editor/_bootstrap5-definition.scss +266 -262
  215. package/styles/rich-text-editor/_fabric-dark-definition.scss +263 -259
  216. package/styles/rich-text-editor/_fabric-definition.scss +261 -257
  217. package/styles/rich-text-editor/_fluent-definition.scss +267 -263
  218. package/styles/rich-text-editor/_fusionnew-definition.scss +265 -261
  219. package/styles/rich-text-editor/_highcontrast-definition.scss +261 -257
  220. package/styles/rich-text-editor/_highcontrast-light-definition.scss +261 -257
  221. package/styles/rich-text-editor/_layout.scss +2249 -2147
  222. package/styles/rich-text-editor/_material-dark-definition.scss +266 -262
  223. package/styles/rich-text-editor/_material-definition.scss +264 -260
  224. package/styles/rich-text-editor/_material3-definition.scss +266 -262
  225. package/styles/rich-text-editor/_tailwind-definition.scss +261 -257
  226. package/styles/rich-text-editor/_theme.scss +906 -837
  227. package/styles/rich-text-editor/bootstrap-dark.css +153 -49
  228. package/styles/rich-text-editor/bootstrap.css +158 -57
  229. package/styles/rich-text-editor/bootstrap4.css +145 -45
  230. package/styles/rich-text-editor/bootstrap5-dark.css +150 -45
  231. package/styles/rich-text-editor/bootstrap5.css +150 -45
  232. package/styles/rich-text-editor/fabric-dark.css +139 -39
  233. package/styles/rich-text-editor/fabric.css +140 -40
  234. package/styles/rich-text-editor/fluent-dark.css +147 -41
  235. package/styles/rich-text-editor/fluent.css +147 -41
  236. package/styles/rich-text-editor/highcontrast-light.css +139 -39
  237. package/styles/rich-text-editor/highcontrast.css +143 -40
  238. package/styles/rich-text-editor/icons/_bds.scss +348 -0
  239. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +349 -349
  240. package/styles/rich-text-editor/icons/_bootstrap.scss +349 -349
  241. package/styles/rich-text-editor/icons/_bootstrap4.scss +349 -349
  242. package/styles/rich-text-editor/icons/_bootstrap5.scss +348 -348
  243. package/styles/rich-text-editor/icons/_fabric-dark.scss +349 -349
  244. package/styles/rich-text-editor/icons/_fabric.scss +349 -349
  245. package/styles/rich-text-editor/icons/_fluent.scss +348 -348
  246. package/styles/rich-text-editor/icons/_fusionnew.scss +348 -348
  247. package/styles/rich-text-editor/icons/_highcontrast-light.scss +349 -349
  248. package/styles/rich-text-editor/icons/_highcontrast.scss +349 -349
  249. package/styles/rich-text-editor/icons/_material-dark.scss +349 -349
  250. package/styles/rich-text-editor/icons/_material.scss +349 -349
  251. package/styles/rich-text-editor/icons/_material3.scss +348 -348
  252. package/styles/rich-text-editor/icons/_tailwind.scss +348 -348
  253. package/styles/rich-text-editor/material-dark.css +143 -39
  254. package/styles/rich-text-editor/material.css +143 -39
  255. package/styles/rich-text-editor/material3-dark.css +155 -49
  256. package/styles/rich-text-editor/material3-dark.scss +1 -1
  257. package/styles/rich-text-editor/material3.css +155 -49
  258. package/styles/rich-text-editor/material3.scss +1 -1
  259. package/styles/rich-text-editor/tailwind-dark.css +194 -66
  260. package/styles/rich-text-editor/tailwind.css +194 -66
  261. package/styles/tailwind-dark.css +194 -66
  262. package/styles/tailwind.css +194 -66
  263. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
  264. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
  265. package/dist/ej2-richtexteditor.min.js +0 -10
  266. package/dist/global/ej2-richtexteditor.min.js +0 -11
  267. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  268. package/dist/global/index.d.ts +0 -14
  269. package/tslint.json +0 -111
@@ -4,7 +4,7 @@ import { IHtmlItem } from './../base/interface';
4
4
  * Video internal component
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class VideoCommand {
10
10
  private parent;
@@ -13,7 +13,7 @@ export declare class VideoCommand {
13
13
  *
14
14
  * @param {EditorManager} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: EditorManager);
19
19
  private addEventListener;
@@ -23,7 +23,7 @@ export declare class VideoCommand {
23
23
  * @param {IHtmlItem} e - specifies the element
24
24
  * @returns {void}
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  videoCommand(e: IHtmlItem): void;
29
29
  private createVideo;
@@ -6,7 +6,7 @@ import { InsertHtml } from './inserthtml';
6
6
  * Video internal component
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var VideoCommand = /** @class */ (function () {
12
12
  /**
@@ -14,7 +14,7 @@ var VideoCommand = /** @class */ (function () {
14
14
  *
15
15
  * @param {EditorManager} parent - specifies the parent element
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  function VideoCommand(parent) {
20
20
  this.parent = parent;
@@ -29,7 +29,7 @@ var VideoCommand = /** @class */ (function () {
29
29
  * @param {IHtmlItem} e - specifies the element
30
30
  * @returns {void}
31
31
  * @hidden
32
-
32
+ * @deprecated
33
33
  */
34
34
  VideoCommand.prototype.videoCommand = function (e) {
35
35
  var selectNode;
@@ -5,7 +5,7 @@ import { KeyboardEventArgs } from '@syncfusion/ej2-base';
5
5
  * Specifies IMDFormats interfaces.
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  export interface IMDFormats {
11
11
  /**
@@ -23,7 +23,7 @@ export interface IMDFormats {
23
23
  * Specifies IMTable interfaces.
24
24
  *
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  export interface IMDTable {
29
29
  syntaxTag?: {
@@ -39,14 +39,14 @@ export interface IMDTable {
39
39
  /**
40
40
  * Defines types to be used to customize the markdown syntax.
41
41
  *
42
-
42
+ * @deprecated
43
43
  */
44
44
  export declare type MarkdownTableFormat = 'Formats' | 'List';
45
45
  /**
46
46
  * Specifies ISelectedLines interfaces.
47
47
  *
48
48
  * @hidden
49
-
49
+ * @deprecated
50
50
  */
51
51
  export interface ISelectedLines {
52
52
  /**
@@ -68,7 +68,7 @@ export interface ISelectedLines {
68
68
  * Specifies MarkdownParserModel interfaces.
69
69
  *
70
70
  * @hidden
71
-
71
+ * @deprecated
72
72
  */
73
73
  export interface IMarkdownParserModel {
74
74
  /**
@@ -104,7 +104,7 @@ export interface IMarkdownParserModel {
104
104
  * Specifies ISubCommands interfaces.
105
105
  *
106
106
  * @hidden
107
-
107
+ * @deprecated
108
108
  */
109
109
  export interface IMarkdownSubCommands {
110
110
  /**
@@ -121,7 +121,7 @@ export interface IMarkdownSubCommands {
121
121
  event?: MouseEvent;
122
122
  }
123
123
  /**
124
-
124
+ * @deprecated
125
125
  */
126
126
  export interface MarkdownUndoRedoData {
127
127
  text?: string;
@@ -129,7 +129,7 @@ export interface MarkdownUndoRedoData {
129
129
  end?: number;
130
130
  }
131
131
  /**
132
-
132
+ * @deprecated
133
133
  */
134
134
  export interface IMarkdownItem {
135
135
  module?: string;
@@ -140,7 +140,7 @@ export interface IMarkdownItem {
140
140
  callBack(args: IMarkdownFormatterCallBack): () => void;
141
141
  }
142
142
  /**
143
-
143
+ * @deprecated
144
144
  */
145
145
  export interface IMarkdownItemArgs {
146
146
  url?: string;
@@ -155,7 +155,7 @@ export interface IMarkdownItemArgs {
155
155
  * Specifies IMDKeyboardEvent interfaces.
156
156
  *
157
157
  * @hidden
158
-
158
+ * @deprecated
159
159
  */
160
160
  export interface IMDKeyboardEvent {
161
161
  /**
@@ -14,7 +14,7 @@ import { MDInsertText } from './../plugin/insert-text';
14
14
  * MarkdownParser internal component
15
15
  *
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  export declare class MarkdownParser {
20
20
  observer: Observer;
@@ -42,7 +42,7 @@ export declare class MarkdownParser {
42
42
  *
43
43
  * @param {IMarkdownParserModel} options - specifies the options
44
44
  * @hidden
45
-
45
+ * @deprecated
46
46
  */
47
47
  constructor(options: IMarkdownParserModel);
48
48
  private initialize;
@@ -61,7 +61,7 @@ export declare class MarkdownParser {
61
61
  * @param {T} exeValue - specifies the value
62
62
  * @returns {void}
63
63
  * @hidden
64
-
64
+ * @deprecated
65
65
  */
66
66
  execCommand<T>(command: MarkdownExecCommand, value: T, event?: Event, callBack?: Function, text?: string, exeValue?: T): void;
67
67
  }
@@ -16,7 +16,7 @@ import { MDInsertText } from './../plugin/insert-text';
16
16
  * MarkdownParser internal component
17
17
  *
18
18
  * @hidden
19
-
19
+ * @deprecated
20
20
  */
21
21
  var MarkdownParser = /** @class */ (function () {
22
22
  /**
@@ -24,7 +24,7 @@ var MarkdownParser = /** @class */ (function () {
24
24
  *
25
25
  * @param {IMarkdownParserModel} options - specifies the options
26
26
  * @hidden
27
-
27
+ * @deprecated
28
28
  */
29
29
  function MarkdownParser(options) {
30
30
  this.initialize();
@@ -72,7 +72,7 @@ var MarkdownParser = /** @class */ (function () {
72
72
  * @param {T} exeValue - specifies the value
73
73
  * @returns {void}
74
74
  * @hidden
75
-
75
+ * @deprecated
76
76
  */
77
77
  /* eslint-enable */
78
78
  MarkdownParser.prototype.execCommand = function (command, value, event, callBack, text, exeValue) {
@@ -2,6 +2,6 @@
2
2
  * Types type for Markdown parser
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  export declare type MarkdownExecCommand = 'Indents' | 'Lists' | 'Formats' | 'Alignments' | 'Style' | 'Effects' | 'Casing' | 'Actions' | 'table' | 'Links' | 'Images' | 'Clear' | 'Inserttext';
@@ -3,7 +3,7 @@ import { MarkdownParser } from './../base/markdown-parser';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class ClearFormat {
9
9
  private parent;
@@ -13,7 +13,7 @@ export declare class ClearFormat {
13
13
  *
14
14
  * @param {MarkdownParser} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: MarkdownParser);
19
19
  private addEventListener;
@@ -3,7 +3,7 @@ import * as CONSTANT from './../base/constant';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  var ClearFormat = /** @class */ (function () {
9
9
  /**
@@ -11,7 +11,7 @@ var ClearFormat = /** @class */ (function () {
11
11
  *
12
12
  * @param {MarkdownParser} parent - specifies the parent element
13
13
  * @hidden
14
-
14
+ * @deprecated
15
15
  */
16
16
  function ClearFormat(parent) {
17
17
  this.parent = parent;
@@ -3,7 +3,7 @@ import { IMDFormats } from './../base/interface';
3
3
  * MDFormats internal plugin
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MDFormats {
9
9
  private parent;
@@ -16,7 +16,7 @@ export declare class MDFormats {
16
16
  *
17
17
  * @param {IMDFormats} options - specifies the formats
18
18
  * @hidden
19
-
19
+ * @deprecated
20
20
  */
21
21
  constructor(options: IMDFormats);
22
22
  private addEventListener;
@@ -5,7 +5,7 @@ import * as CONSTANT from './../../markdown-parser/base/constant';
5
5
  * MDFormats internal plugin
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  var MDFormats = /** @class */ (function () {
11
11
  /**
@@ -13,7 +13,7 @@ var MDFormats = /** @class */ (function () {
13
13
  *
14
14
  * @param {IMDFormats} options - specifies the formats
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  function MDFormats(options) {
19
19
  extend(this, this, options, true);
@@ -3,7 +3,7 @@ import { MarkdownParser } from './../base/markdown-parser';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MDInsertText {
9
9
  private parent;
@@ -13,7 +13,7 @@ export declare class MDInsertText {
13
13
  *
14
14
  * @param {MarkdownParser} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: MarkdownParser);
19
19
  private addEventListener;
@@ -3,7 +3,7 @@ import * as CONSTANT from './../base/constant';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  var MDInsertText = /** @class */ (function () {
9
9
  /**
@@ -11,7 +11,7 @@ var MDInsertText = /** @class */ (function () {
11
11
  *
12
12
  * @param {MarkdownParser} parent - specifies the parent element
13
13
  * @hidden
14
-
14
+ * @deprecated
15
15
  */
16
16
  function MDInsertText(parent) {
17
17
  this.parent = parent;
@@ -3,7 +3,7 @@ import { MarkdownParser } from './../base/markdown-parser';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MDLink {
9
9
  private parent;
@@ -13,7 +13,7 @@ export declare class MDLink {
13
13
  *
14
14
  * @param {MarkdownParser} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: MarkdownParser);
19
19
  private addEventListener;
@@ -3,7 +3,7 @@ import * as CONSTANT from './../base/constant';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  var MDLink = /** @class */ (function () {
9
9
  /**
@@ -11,7 +11,7 @@ var MDLink = /** @class */ (function () {
11
11
  *
12
12
  * @param {MarkdownParser} parent - specifies the parent element
13
13
  * @hidden
14
-
14
+ * @deprecated
15
15
  */
16
16
  function MDLink(parent) {
17
17
  this.parent = parent;
@@ -2,7 +2,7 @@
2
2
  * MarkdownSelection internal module
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  export declare class MarkdownSelection {
8
8
  selectionStart: number;
@@ -14,7 +14,7 @@ export declare class MarkdownSelection {
14
14
  * @param {number} point - specifies the number value
15
15
  * @returns {number} - returns the value
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  getLineNumber(textarea: HTMLTextAreaElement, point: number): number;
20
20
  /**
@@ -23,7 +23,7 @@ export declare class MarkdownSelection {
23
23
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
24
24
  * @returns {string} - specifies the string value
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  getSelectedText(textarea: HTMLTextAreaElement): string;
29
29
  /**
@@ -32,7 +32,7 @@ export declare class MarkdownSelection {
32
32
  * @param {string} value - specifies the string value
33
33
  * @returns {string[]} - returns the string value
34
34
  * @hidden
35
-
35
+ * @deprecated
36
36
  */
37
37
  getAllParents(value: string): string[];
38
38
  /**
@@ -41,7 +41,7 @@ export declare class MarkdownSelection {
41
41
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
42
42
  * @returns {string} - returns the string value
43
43
  * @hidden
44
-
44
+ * @deprecated
45
45
  */
46
46
  getSelectedLine(textarea: HTMLTextAreaElement): string;
47
47
  /**
@@ -51,7 +51,7 @@ export declare class MarkdownSelection {
51
51
  * @param {number} index - specifies the number value
52
52
  * @returns {string} - returns the string value
53
53
  * @hidden
54
-
54
+ * @deprecated
55
55
  */
56
56
  getLine(textarea: HTMLTextAreaElement, index: number): string;
57
57
  /**
@@ -60,7 +60,7 @@ export declare class MarkdownSelection {
60
60
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
61
61
  * @returns {string} - returns the string value
62
62
  * @hidden
63
-
63
+ * @deprecated
64
64
  */
65
65
  getSelectedParentPoints(textarea: HTMLTextAreaElement): {
66
66
  [key: string]: string | number;
@@ -73,7 +73,7 @@ export declare class MarkdownSelection {
73
73
  * @param {number} end - specifies the end value
74
74
  * @returns {void}
75
75
  * @hidden
76
-
76
+ * @deprecated
77
77
  */
78
78
  setSelection(textarea: HTMLTextAreaElement, start: number, end: number): void;
79
79
  /**
@@ -83,7 +83,7 @@ export declare class MarkdownSelection {
83
83
  * @param {number} end - specifies the end value
84
84
  * @returns {void}
85
85
  * @hidden
86
-
86
+ * @deprecated
87
87
  */
88
88
  save(start: number, end: number): void;
89
89
  /**
@@ -92,7 +92,7 @@ export declare class MarkdownSelection {
92
92
  * @param {HTMLTextAreaElement} textArea - specifies the text area element
93
93
  * @returns {void}
94
94
  * @hidden
95
-
95
+ * @deprecated
96
96
  */
97
97
  restore(textArea: HTMLTextAreaElement): void;
98
98
  /**
@@ -102,7 +102,7 @@ export declare class MarkdownSelection {
102
102
  * @param {string} command - specifies the string value
103
103
  * @returns {boolean} - returns the boolean value
104
104
  * @hidden
105
-
105
+ * @deprecated
106
106
  */
107
107
  isStartWith(line: string, command: string): boolean;
108
108
  /**
@@ -111,7 +111,7 @@ export declare class MarkdownSelection {
111
111
  * @param {string} value - specifies the string value
112
112
  * @returns {string} - returns the value
113
113
  * @hidden
114
-
114
+ * @deprecated
115
115
  */
116
116
  replaceSpecialChar(value: string): string;
117
117
  /**
@@ -121,7 +121,7 @@ export declare class MarkdownSelection {
121
121
  * @param {string} regex - specifies the regex value
122
122
  * @returns {boolean} - returns the boolean value
123
123
  * @hidden
124
-
124
+ * @deprecated
125
125
  */
126
126
  isClear(parents: {
127
127
  [key: string]: string | number;
@@ -132,7 +132,7 @@ export declare class MarkdownSelection {
132
132
  * @param {HTMLTextAreaElement} textarea - specifies the text area
133
133
  * @returns {void}
134
134
  * @hidden
135
-
135
+ * @deprecated
136
136
  */
137
137
  getSelectedInlinePoints(textarea: HTMLTextAreaElement): {
138
138
  [key: string]: string | number;
@@ -2,7 +2,7 @@
2
2
  * MarkdownSelection internal module
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  var MarkdownSelection = /** @class */ (function () {
8
8
  function MarkdownSelection() {
@@ -14,7 +14,7 @@ var MarkdownSelection = /** @class */ (function () {
14
14
  * @param {number} point - specifies the number value
15
15
  * @returns {number} - returns the value
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  MarkdownSelection.prototype.getLineNumber = function (textarea, point) {
20
20
  return textarea.value.substr(0, point).split('\n').length;
@@ -25,7 +25,7 @@ var MarkdownSelection = /** @class */ (function () {
25
25
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
26
26
  * @returns {string} - specifies the string value
27
27
  * @hidden
28
-
28
+ * @deprecated
29
29
  */
30
30
  MarkdownSelection.prototype.getSelectedText = function (textarea) {
31
31
  var start = textarea.selectionStart;
@@ -38,7 +38,7 @@ var MarkdownSelection = /** @class */ (function () {
38
38
  * @param {string} value - specifies the string value
39
39
  * @returns {string[]} - returns the string value
40
40
  * @hidden
41
-
41
+ * @deprecated
42
42
  */
43
43
  MarkdownSelection.prototype.getAllParents = function (value) {
44
44
  return value.split('\n');
@@ -49,7 +49,7 @@ var MarkdownSelection = /** @class */ (function () {
49
49
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
50
50
  * @returns {string} - returns the string value
51
51
  * @hidden
52
-
52
+ * @deprecated
53
53
  */
54
54
  MarkdownSelection.prototype.getSelectedLine = function (textarea) {
55
55
  var lines = this.getAllParents(textarea.value);
@@ -63,7 +63,7 @@ var MarkdownSelection = /** @class */ (function () {
63
63
  * @param {number} index - specifies the number value
64
64
  * @returns {string} - returns the string value
65
65
  * @hidden
66
-
66
+ * @deprecated
67
67
  */
68
68
  MarkdownSelection.prototype.getLine = function (textarea, index) {
69
69
  var lines = this.getAllParents(textarea.value);
@@ -75,7 +75,7 @@ var MarkdownSelection = /** @class */ (function () {
75
75
  * @param {HTMLTextAreaElement} textarea - specifies the text area element
76
76
  * @returns {string} - returns the string value
77
77
  * @hidden
78
-
78
+ * @deprecated
79
79
  */
80
80
  MarkdownSelection.prototype.getSelectedParentPoints = function (textarea) {
81
81
  var lines = this.getAllParents(textarea.value);
@@ -118,7 +118,7 @@ var MarkdownSelection = /** @class */ (function () {
118
118
  * @param {number} end - specifies the end value
119
119
  * @returns {void}
120
120
  * @hidden
121
-
121
+ * @deprecated
122
122
  */
123
123
  MarkdownSelection.prototype.setSelection = function (textarea, start, end) {
124
124
  textarea.setSelectionRange(start, end);
@@ -131,7 +131,7 @@ var MarkdownSelection = /** @class */ (function () {
131
131
  * @param {number} end - specifies the end value
132
132
  * @returns {void}
133
133
  * @hidden
134
-
134
+ * @deprecated
135
135
  */
136
136
  MarkdownSelection.prototype.save = function (start, end) {
137
137
  this.selectionStart = start;
@@ -143,7 +143,7 @@ var MarkdownSelection = /** @class */ (function () {
143
143
  * @param {HTMLTextAreaElement} textArea - specifies the text area element
144
144
  * @returns {void}
145
145
  * @hidden
146
-
146
+ * @deprecated
147
147
  */
148
148
  MarkdownSelection.prototype.restore = function (textArea) {
149
149
  this.setSelection(textArea, this.selectionStart, this.selectionEnd);
@@ -155,7 +155,7 @@ var MarkdownSelection = /** @class */ (function () {
155
155
  * @param {string} command - specifies the string value
156
156
  * @returns {boolean} - returns the boolean value
157
157
  * @hidden
158
-
158
+ * @deprecated
159
159
  */
160
160
  MarkdownSelection.prototype.isStartWith = function (line, command) {
161
161
  var isStart = false;
@@ -175,7 +175,7 @@ var MarkdownSelection = /** @class */ (function () {
175
175
  * @param {string} value - specifies the string value
176
176
  * @returns {string} - returns the value
177
177
  * @hidden
178
-
178
+ * @deprecated
179
179
  */
180
180
  MarkdownSelection.prototype.replaceSpecialChar = function (value) {
181
181
  // eslint-disable-next-line
@@ -188,7 +188,7 @@ var MarkdownSelection = /** @class */ (function () {
188
188
  * @param {string} regex - specifies the regex value
189
189
  * @returns {boolean} - returns the boolean value
190
190
  * @hidden
191
-
191
+ * @deprecated
192
192
  */
193
193
  MarkdownSelection.prototype.isClear = function (parents, regex) {
194
194
  var isClear = false;
@@ -206,7 +206,7 @@ var MarkdownSelection = /** @class */ (function () {
206
206
  * @param {HTMLTextAreaElement} textarea - specifies the text area
207
207
  * @returns {void}
208
208
  * @hidden
209
-
209
+ * @deprecated
210
210
  */
211
211
  MarkdownSelection.prototype.getSelectedInlinePoints = function (textarea) {
212
212
  var start = textarea.selectionStart;
@@ -3,7 +3,7 @@ import { IMDFormats } from './../base/interface';
3
3
  * SelectionCommands internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MDSelectionFormats {
9
9
  private parent;
@@ -6,7 +6,7 @@ import * as EVENTS from './../../common/constant';
6
6
  * SelectionCommands internal component
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var MDSelectionFormats = /** @class */ (function () {
12
12
  function MDSelectionFormats(parent) {
@@ -3,7 +3,7 @@ import { IMDTable } from './../base/interface';
3
3
  * Link internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class MDTable {
9
9
  private parent;
@@ -16,7 +16,7 @@ export declare class MDTable {
16
16
  *
17
17
  * @param {IMDTable} options - specifies the options
18
18
  * @hidden
19
-
19
+ * @deprecated
20
20
  */
21
21
  constructor(options: IMDTable);
22
22
  private addEventListener;
@@ -26,7 +26,7 @@ export declare class MDTable {
26
26
  *
27
27
  * @returns {void}
28
28
  * @hidden
29
-
29
+ * @deprecated
30
30
  */
31
31
  destroy(): void;
32
32
  private onKeyDown;
@@ -5,7 +5,7 @@ import * as EVENTS from './../../common/constant';
5
5
  * Link internal component
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  var MDTable = /** @class */ (function () {
11
11
  /**
@@ -13,7 +13,7 @@ var MDTable = /** @class */ (function () {
13
13
  *
14
14
  * @param {IMDTable} options - specifies the options
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  function MDTable(options) {
19
19
  extend(this, this, options, true);
@@ -33,7 +33,7 @@ var MDTable = /** @class */ (function () {
33
33
  *
34
34
  * @returns {void}
35
35
  * @hidden
36
-
36
+ * @deprecated
37
37
  */
38
38
  MDTable.prototype.destroy = function () {
39
39
  this.removeEventListener();