@syncfusion/ej2-richtexteditor 28.1.39 → 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.
- package/.eslintignore +4 -4
- package/.eslintrc.json +260 -260
- package/README.md +76 -76
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +91 -69
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +326 -304
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/rte-helper.js +13 -13
- package/license +9 -9
- package/package.json +85 -85
- package/src/common/interface.d.ts +8 -8
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +9 -9
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/audio.d.ts +3 -3
- package/src/editor-manager/plugin/audio.js +3 -3
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +36 -36
- package/src/editor-manager/plugin/dom-node.js +36 -36
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
- package/src/editor-manager/plugin/format-painter-actions.js +1 -1
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +3 -3
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +2 -2
- package/src/editor-manager/plugin/isformatted.d.ts +9 -9
- package/src/editor-manager/plugin/isformatted.js +9 -9
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +1 -1
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +2 -2
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/editor-manager/plugin/video.d.ts +3 -3
- package/src/editor-manager/plugin/video.js +3 -3
- package/src/markdown-parser/base/interface.d.ts +10 -10
- package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
- package/src/markdown-parser/base/markdown-parser.js +3 -3
- package/src/markdown-parser/base/types.d.ts +1 -1
- package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
- package/src/markdown-parser/plugin/clearformat.js +2 -2
- package/src/markdown-parser/plugin/formats.d.ts +2 -2
- package/src/markdown-parser/plugin/formats.js +2 -2
- package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
- package/src/markdown-parser/plugin/insert-text.js +2 -2
- package/src/markdown-parser/plugin/link.d.ts +2 -2
- package/src/markdown-parser/plugin/link.js +2 -2
- package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
- package/src/markdown-parser/plugin/markdown-selection.js +14 -14
- package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
- package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
- package/src/markdown-parser/plugin/table.d.ts +3 -3
- package/src/markdown-parser/plugin/table.js +3 -3
- package/src/markdown-parser/plugin/undo.d.ts +6 -6
- package/src/markdown-parser/plugin/undo.js +6 -6
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +2 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +1 -1
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -3
- package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
- package/src/rich-text-editor/actions/html-editor.js +23 -3
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +20 -20
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +23 -32
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/resize.d.ts +2 -0
- package/src/rich-text-editor/actions/resize.js +13 -2
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +158 -158
- package/src/rich-text-editor/base/constant.js +158 -158
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +51 -51
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
- package/src/rich-text-editor/base/rich-text-editor.js +63 -63
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +1 -1
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +8 -8
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +15 -15
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/slash-menu-settings.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/audio-module.js +1 -1
- package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/content-renderer.js +6 -6
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +1 -1
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +1 -1
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +1 -1
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +1 -1
- package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
- package/src/rich-text-editor/renderer/view-source.js +5 -5
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +22 -22
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
- package/dist/ej2-richtexteditor.min.js +0 -10
- package/dist/global/ej2-richtexteditor.min.js +0 -11
- package/dist/global/ej2-richtexteditor.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -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;
|
|
@@ -174,7 +174,7 @@ var MarkdownSelection = /** @class */ (function () {
|
|
|
174
174
|
* @param {string} value - specifies the string value
|
|
175
175
|
* @returns {string} - returns the value
|
|
176
176
|
* @hidden
|
|
177
|
-
|
|
177
|
+
* @deprecated
|
|
178
178
|
*/
|
|
179
179
|
MarkdownSelection.prototype.replaceSpecialChar = function (value) {
|
|
180
180
|
// eslint-disable-next-line
|
|
@@ -187,7 +187,7 @@ var MarkdownSelection = /** @class */ (function () {
|
|
|
187
187
|
* @param {string} regex - specifies the regex value
|
|
188
188
|
* @returns {boolean} - returns the boolean value
|
|
189
189
|
* @hidden
|
|
190
|
-
|
|
190
|
+
* @deprecated
|
|
191
191
|
*/
|
|
192
192
|
MarkdownSelection.prototype.isClear = function (parents, regex) {
|
|
193
193
|
var isClear = false;
|
|
@@ -205,7 +205,7 @@ var MarkdownSelection = /** @class */ (function () {
|
|
|
205
205
|
* @param {HTMLTextAreaElement} textarea - specifies the text area
|
|
206
206
|
* @returns {void}
|
|
207
207
|
* @hidden
|
|
208
|
-
|
|
208
|
+
* @deprecated
|
|
209
209
|
*/
|
|
210
210
|
MarkdownSelection.prototype.getSelectedInlinePoints = function (textarea) {
|
|
211
211
|
var start = textarea.selectionStart;
|
|
@@ -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);
|
|
@@ -35,7 +35,7 @@ var MDTable = /** @class */ (function () {
|
|
|
35
35
|
*
|
|
36
36
|
* @returns {void}
|
|
37
37
|
* @hidden
|
|
38
|
-
|
|
38
|
+
* @deprecated
|
|
39
39
|
*/
|
|
40
40
|
MDTable.prototype.destroy = function () {
|
|
41
41
|
this.removeEventListener();
|
|
@@ -24,7 +24,7 @@ export declare class UndoRedoCommands {
|
|
|
24
24
|
* @function destroy
|
|
25
25
|
* @returns {void}
|
|
26
26
|
* @hidden
|
|
27
|
-
|
|
27
|
+
* @deprecated
|
|
28
28
|
*/
|
|
29
29
|
destroy(): void;
|
|
30
30
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class UndoRedoCommands {
|
|
|
33
33
|
* @param {IMarkdownSubCommands} e - specifies the sub commands
|
|
34
34
|
* @returns {void}
|
|
35
35
|
* @hidden
|
|
36
|
-
|
|
36
|
+
* @deprecated
|
|
37
37
|
*/
|
|
38
38
|
onAction(e: IMarkdownSubCommands): void;
|
|
39
39
|
private keyDown;
|
|
@@ -45,7 +45,7 @@ export declare class UndoRedoCommands {
|
|
|
45
45
|
* @function saveData
|
|
46
46
|
* @returns {void}
|
|
47
47
|
* @hidden
|
|
48
|
-
|
|
48
|
+
* @deprecated
|
|
49
49
|
*/
|
|
50
50
|
saveData(e?: KeyboardEvent | MouseEvent | IUndoCallBack): void;
|
|
51
51
|
/**
|
|
@@ -55,7 +55,7 @@ export declare class UndoRedoCommands {
|
|
|
55
55
|
* @function undo
|
|
56
56
|
* @returns {void}
|
|
57
57
|
* @hidden
|
|
58
|
-
|
|
58
|
+
* @deprecated
|
|
59
59
|
*/
|
|
60
60
|
undo(e?: IMarkdownSubCommands | IMDKeyboardEvent): void;
|
|
61
61
|
/**
|
|
@@ -65,7 +65,7 @@ export declare class UndoRedoCommands {
|
|
|
65
65
|
* @function redo
|
|
66
66
|
* @returns {void}
|
|
67
67
|
* @hidden
|
|
68
|
-
|
|
68
|
+
* @deprecated
|
|
69
69
|
*/
|
|
70
70
|
redo(e?: IMarkdownSubCommands | IMDKeyboardEvent): void;
|
|
71
71
|
private restore;
|
|
@@ -74,7 +74,7 @@ export declare class UndoRedoCommands {
|
|
|
74
74
|
*
|
|
75
75
|
* @returns {boolean} - returns the boolean value
|
|
76
76
|
* @hidden
|
|
77
|
-
|
|
77
|
+
* @deprecated
|
|
78
78
|
*/
|
|
79
79
|
getUndoStatus(): {
|
|
80
80
|
[key: string]: boolean;
|
|
@@ -47,7 +47,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
47
47
|
* @function destroy
|
|
48
48
|
* @returns {void}
|
|
49
49
|
* @hidden
|
|
50
|
-
|
|
50
|
+
* @deprecated
|
|
51
51
|
*/
|
|
52
52
|
UndoRedoCommands.prototype.destroy = function () {
|
|
53
53
|
this.removeEventListener();
|
|
@@ -58,7 +58,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
58
58
|
* @param {IMarkdownSubCommands} e - specifies the sub commands
|
|
59
59
|
* @returns {void}
|
|
60
60
|
* @hidden
|
|
61
|
-
|
|
61
|
+
* @deprecated
|
|
62
62
|
*/
|
|
63
63
|
UndoRedoCommands.prototype.onAction = function (e) {
|
|
64
64
|
if (e.subCommand === 'Undo') {
|
|
@@ -95,7 +95,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
95
95
|
* @function saveData
|
|
96
96
|
* @returns {void}
|
|
97
97
|
* @hidden
|
|
98
|
-
|
|
98
|
+
* @deprecated
|
|
99
99
|
*/
|
|
100
100
|
UndoRedoCommands.prototype.saveData = function (e) {
|
|
101
101
|
var textArea = this.parent.element;
|
|
@@ -128,7 +128,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
128
128
|
* @function undo
|
|
129
129
|
* @returns {void}
|
|
130
130
|
* @hidden
|
|
131
|
-
|
|
131
|
+
* @deprecated
|
|
132
132
|
*/
|
|
133
133
|
UndoRedoCommands.prototype.undo = function (e) {
|
|
134
134
|
if (this.steps > 0) {
|
|
@@ -149,7 +149,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
149
149
|
* @function redo
|
|
150
150
|
* @returns {void}
|
|
151
151
|
* @hidden
|
|
152
|
-
|
|
152
|
+
* @deprecated
|
|
153
153
|
*/
|
|
154
154
|
UndoRedoCommands.prototype.redo = function (e) {
|
|
155
155
|
if (this.undoRedoStack[this.steps + 1] != null) {
|
|
@@ -179,7 +179,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
179
179
|
*
|
|
180
180
|
* @returns {boolean} - returns the boolean value
|
|
181
181
|
* @hidden
|
|
182
|
-
|
|
182
|
+
* @deprecated
|
|
183
183
|
*/
|
|
184
184
|
UndoRedoCommands.prototype.getUndoStatus = function () {
|
|
185
185
|
var status = { undo: false, redo: false };
|
|
@@ -31,7 +31,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
31
31
|
* @param {IQuickToolbarOptions} args - specifies the arguments
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
render(args: IQuickToolbarOptions): void;
|
|
37
37
|
private createToolbar;
|
|
@@ -46,7 +46,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
46
46
|
* @param {string} type - specifies the type
|
|
47
47
|
* @returns {void}
|
|
48
48
|
* @hidden
|
|
49
|
-
|
|
49
|
+
* @deprecated
|
|
50
50
|
*/
|
|
51
51
|
showPopup(x: number, y: number, target: Element, type?: string): void;
|
|
52
52
|
private tooltipBeforeRender;
|
|
@@ -55,7 +55,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
55
55
|
*
|
|
56
56
|
* @returns {void}
|
|
57
57
|
* @hidden
|
|
58
|
-
|
|
58
|
+
* @deprecated
|
|
59
59
|
*/
|
|
60
60
|
hidePopup(): void;
|
|
61
61
|
/**
|
|
@@ -63,14 +63,14 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
63
63
|
* @param {number} index - specifies the index value
|
|
64
64
|
* @returns {void}
|
|
65
65
|
* @hidden
|
|
66
|
-
|
|
66
|
+
* @deprecated
|
|
67
67
|
*/
|
|
68
68
|
addQTBarItem(item: (string | IToolbarItems)[], index: number): void;
|
|
69
69
|
/**
|
|
70
70
|
* @param {number} index - specifies the index value
|
|
71
71
|
* @returns {void}
|
|
72
72
|
* @hidden
|
|
73
|
-
|
|
73
|
+
* @deprecated
|
|
74
74
|
*/
|
|
75
75
|
removeQTBarItem(index: number | HTMLElement[] | Element[]): void;
|
|
76
76
|
private removeEleFromDOM;
|
|
@@ -81,7 +81,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
81
81
|
* @function destroy
|
|
82
82
|
* @returns {void}
|
|
83
83
|
* @hidden
|
|
84
|
-
|
|
84
|
+
* @deprecated
|
|
85
85
|
*/
|
|
86
86
|
destroy(): void;
|
|
87
87
|
/**
|
|
@@ -89,7 +89,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
89
89
|
*
|
|
90
90
|
* @returns {void}
|
|
91
91
|
* @hidden
|
|
92
|
-
|
|
92
|
+
* @deprecated
|
|
93
93
|
*/
|
|
94
94
|
addEventListener(): void;
|
|
95
95
|
/**
|
|
@@ -98,7 +98,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
98
98
|
* @param {RichTextEditorModel} e - specifies the model element
|
|
99
99
|
* @returns {void}
|
|
100
100
|
* @hidden
|
|
101
|
-
|
|
101
|
+
* @deprecated
|
|
102
102
|
*/
|
|
103
103
|
protected onPropertyChanged(e: {
|
|
104
104
|
[key: string]: RichTextEditorModel;
|
|
@@ -108,7 +108,7 @@ export declare class BaseQuickToolbar implements IBaseQuickToolbar {
|
|
|
108
108
|
*
|
|
109
109
|
* @returns {void}
|
|
110
110
|
* @hidden
|
|
111
|
-
|
|
111
|
+
* @deprecated
|
|
112
112
|
*/
|
|
113
113
|
removeEventListener(): void;
|
|
114
114
|
}
|
|
@@ -36,7 +36,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
36
36
|
* @param {IQuickToolbarOptions} args - specifies the arguments
|
|
37
37
|
* @returns {void}
|
|
38
38
|
* @hidden
|
|
39
|
-
|
|
39
|
+
* @deprecated
|
|
40
40
|
*/
|
|
41
41
|
BaseQuickToolbar.prototype.render = function (args) {
|
|
42
42
|
var className;
|
|
@@ -228,7 +228,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
228
228
|
* @param {string} type - specifies the type
|
|
229
229
|
* @returns {void}
|
|
230
230
|
* @hidden
|
|
231
|
-
|
|
231
|
+
* @deprecated
|
|
232
232
|
*/
|
|
233
233
|
BaseQuickToolbar.prototype.showPopup = function (x, y, target, type) {
|
|
234
234
|
var _this = this;
|
|
@@ -350,7 +350,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
350
350
|
*
|
|
351
351
|
* @returns {void}
|
|
352
352
|
* @hidden
|
|
353
|
-
|
|
353
|
+
* @deprecated
|
|
354
354
|
*/
|
|
355
355
|
BaseQuickToolbar.prototype.hidePopup = function () {
|
|
356
356
|
var isSourceCodeEnabled = !isNOU(this.parent.rootContainer) && this.parent.rootContainer.classList.contains('e-source-code-enabled');
|
|
@@ -392,7 +392,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
392
392
|
* @param {number} index - specifies the index value
|
|
393
393
|
* @returns {void}
|
|
394
394
|
* @hidden
|
|
395
|
-
|
|
395
|
+
* @deprecated
|
|
396
396
|
*/
|
|
397
397
|
BaseQuickToolbar.prototype.addQTBarItem = function (item, index) {
|
|
398
398
|
this.quickTBarObj.toolbarObj.addItems(this.quickTBarObj.getItems(item, 'toolbar'), index);
|
|
@@ -401,7 +401,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
401
401
|
* @param {number} index - specifies the index value
|
|
402
402
|
* @returns {void}
|
|
403
403
|
* @hidden
|
|
404
|
-
|
|
404
|
+
* @deprecated
|
|
405
405
|
*/
|
|
406
406
|
BaseQuickToolbar.prototype.removeQTBarItem = function (index) {
|
|
407
407
|
this.quickTBarObj.toolbarObj.removeItems(index);
|
|
@@ -447,7 +447,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
447
447
|
* @function destroy
|
|
448
448
|
* @returns {void}
|
|
449
449
|
* @hidden
|
|
450
|
-
|
|
450
|
+
* @deprecated
|
|
451
451
|
*/
|
|
452
452
|
BaseQuickToolbar.prototype.destroy = function () {
|
|
453
453
|
if (this.isDestroyed) {
|
|
@@ -477,7 +477,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
477
477
|
*
|
|
478
478
|
* @returns {void}
|
|
479
479
|
* @hidden
|
|
480
|
-
|
|
480
|
+
* @deprecated
|
|
481
481
|
*/
|
|
482
482
|
BaseQuickToolbar.prototype.addEventListener = function () {
|
|
483
483
|
if (this.parent.isDestroyed) {
|
|
@@ -495,7 +495,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
495
495
|
* @param {RichTextEditorModel} e - specifies the model element
|
|
496
496
|
* @returns {void}
|
|
497
497
|
* @hidden
|
|
498
|
-
|
|
498
|
+
* @deprecated
|
|
499
499
|
*/
|
|
500
500
|
BaseQuickToolbar.prototype.onPropertyChanged = function (e) {
|
|
501
501
|
if (!isNullOrUndefined(e.newProp.inlineMode)) {
|
|
@@ -519,7 +519,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
519
519
|
*
|
|
520
520
|
* @returns {void}
|
|
521
521
|
* @hidden
|
|
522
|
-
|
|
522
|
+
* @deprecated
|
|
523
523
|
*/
|
|
524
524
|
BaseQuickToolbar.prototype.removeEventListener = function () {
|
|
525
525
|
this.parent.off(events.destroy, this.destroy);
|
|
@@ -33,7 +33,7 @@ export declare class BaseToolbar {
|
|
|
33
33
|
* @param {string} container - specifies the value of string
|
|
34
34
|
* @returns {IToolbarItemModel} - returns the model element
|
|
35
35
|
* @hidden
|
|
36
|
-
|
|
36
|
+
* @deprecated
|
|
37
37
|
*/
|
|
38
38
|
getObject(item: string, container: string): IToolbarItemModel;
|
|
39
39
|
/**
|
|
@@ -41,7 +41,7 @@ export declare class BaseToolbar {
|
|
|
41
41
|
* @param {string} container - specifies the container value
|
|
42
42
|
* @returns {ItemModel} - retunrs the model element
|
|
43
43
|
* @hidden
|
|
44
|
-
|
|
44
|
+
* @deprecated
|
|
45
45
|
*/
|
|
46
46
|
getItems(tbItems: (string | IToolbarItems)[], container: string): ItemModel[];
|
|
47
47
|
private getToolbarOptions;
|
|
@@ -51,7 +51,7 @@ export declare class BaseToolbar {
|
|
|
51
51
|
* @param {IToolbarRenderOptions} args - specifies the toolbar options
|
|
52
52
|
* @returns {void}
|
|
53
53
|
* @hidden
|
|
54
|
-
|
|
54
|
+
* @deprecated
|
|
55
55
|
*/
|
|
56
56
|
render(args: IToolbarRenderOptions): void;
|
|
57
57
|
destroy(): void;
|
|
@@ -97,7 +97,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
97
97
|
* @param {string} container - specifies the value of string
|
|
98
98
|
* @returns {IToolbarItemModel} - returns the model element
|
|
99
99
|
* @hidden
|
|
100
|
-
|
|
100
|
+
* @deprecated
|
|
101
101
|
*/
|
|
102
102
|
BaseToolbar.prototype.getObject = function (item, container) {
|
|
103
103
|
var itemStr = item.toLowerCase();
|
|
@@ -126,7 +126,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
126
126
|
* @param {string} container - specifies the container value
|
|
127
127
|
* @returns {ItemModel} - retunrs the model element
|
|
128
128
|
* @hidden
|
|
129
|
-
|
|
129
|
+
* @deprecated
|
|
130
130
|
*/
|
|
131
131
|
BaseToolbar.prototype.getItems = function (tbItems, container) {
|
|
132
132
|
var _this = this;
|
|
@@ -217,7 +217,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
217
217
|
* @param {IToolbarRenderOptions} args - specifies the toolbar options
|
|
218
218
|
* @returns {void}
|
|
219
219
|
* @hidden
|
|
220
|
-
|
|
220
|
+
* @deprecated
|
|
221
221
|
*/
|
|
222
222
|
BaseToolbar.prototype.render = function (args) {
|
|
223
223
|
this.toolbarRenderer = this.renderFactory.getRenderer(RenderType.Toolbar);
|
|
@@ -23,7 +23,7 @@ export declare class ColorPickerInput {
|
|
|
23
23
|
* @param {IColorPickerRenderArgs} args - specify the arguments.
|
|
24
24
|
* @returns {void}
|
|
25
25
|
* @hidden
|
|
26
|
-
|
|
26
|
+
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
renderColorPickerInput(args: IColorPickerRenderArgs): void;
|
|
29
29
|
destroy(): void;
|
|
@@ -32,7 +32,7 @@ export declare class ColorPickerInput {
|
|
|
32
32
|
*
|
|
33
33
|
* @returns {void}
|
|
34
34
|
* @hidden
|
|
35
|
-
|
|
35
|
+
* @deprecated
|
|
36
36
|
*/
|
|
37
37
|
destroyColorPicker(): void;
|
|
38
38
|
private setRtl;
|
|
@@ -30,7 +30,7 @@ var ColorPickerInput = /** @class */ (function () {
|
|
|
30
30
|
* @param {IColorPickerRenderArgs} args - specify the arguments.
|
|
31
31
|
* @returns {void}
|
|
32
32
|
* @hidden
|
|
33
|
-
|
|
33
|
+
* @deprecated
|
|
34
34
|
*/
|
|
35
35
|
ColorPickerInput.prototype.renderColorPickerInput = function (args) {
|
|
36
36
|
var _this = this;
|
|
@@ -118,7 +118,7 @@ var ColorPickerInput = /** @class */ (function () {
|
|
|
118
118
|
*
|
|
119
119
|
* @returns {void}
|
|
120
120
|
* @hidden
|
|
121
|
-
|
|
121
|
+
* @deprecated
|
|
122
122
|
*/
|
|
123
123
|
ColorPickerInput.prototype.destroyColorPicker = function () {
|
|
124
124
|
if (this.fontColorPicker && !this.fontColorPicker.isDestroyed) {
|
|
@@ -23,7 +23,7 @@ export declare class Count {
|
|
|
23
23
|
*
|
|
24
24
|
* @returns {void}
|
|
25
25
|
* @hidden
|
|
26
|
-
|
|
26
|
+
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
renderCount(): void;
|
|
29
29
|
private appendCount;
|
|
@@ -31,7 +31,7 @@ export declare class Count {
|
|
|
31
31
|
/**
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
refresh(): void;
|
|
37
37
|
/**
|
|
@@ -40,7 +40,7 @@ export declare class Count {
|
|
|
40
40
|
* @function destroy
|
|
41
41
|
* @returns {void}
|
|
42
42
|
* @hidden
|
|
43
|
-
|
|
43
|
+
* @deprecated
|
|
44
44
|
*/
|
|
45
45
|
destroy(): void;
|
|
46
46
|
private toggle;
|
|
@@ -23,7 +23,7 @@ var Count = /** @class */ (function () {
|
|
|
23
23
|
*
|
|
24
24
|
* @returns {void}
|
|
25
25
|
* @hidden
|
|
26
|
-
|
|
26
|
+
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
Count.prototype.renderCount = function () {
|
|
29
29
|
this.initializeInstance();
|
|
@@ -68,7 +68,7 @@ var Count = /** @class */ (function () {
|
|
|
68
68
|
/**
|
|
69
69
|
* @returns {void}
|
|
70
70
|
* @hidden
|
|
71
|
-
|
|
71
|
+
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
Count.prototype.refresh = function () {
|
|
74
74
|
if (!isNullOrUndefined(this.editPanel)) {
|
|
@@ -84,7 +84,7 @@ var Count = /** @class */ (function () {
|
|
|
84
84
|
* @function destroy
|
|
85
85
|
* @returns {void}
|
|
86
86
|
* @hidden
|
|
87
|
-
|
|
87
|
+
* @deprecated
|
|
88
88
|
*/
|
|
89
89
|
Count.prototype.destroy = function () {
|
|
90
90
|
if (this.isDestroyed) {
|
|
@@ -38,7 +38,7 @@ export declare class DropDownButtons {
|
|
|
38
38
|
* @param {IDropDownRenderArgs} args - specifies the arguments
|
|
39
39
|
* @returns {void}
|
|
40
40
|
* @hidden
|
|
41
|
-
|
|
41
|
+
* @deprecated
|
|
42
42
|
*/
|
|
43
43
|
renderDropDowns(args: IDropDownRenderArgs): void;
|
|
44
44
|
private getUpdateItems;
|
|
@@ -57,7 +57,7 @@ export declare class DropDownButtons {
|
|
|
57
57
|
*
|
|
58
58
|
* @returns {void}
|
|
59
59
|
* @hidden
|
|
60
|
-
|
|
60
|
+
* @deprecated
|
|
61
61
|
*/
|
|
62
62
|
destroyDropDowns(): void;
|
|
63
63
|
private setRtl;
|
|
@@ -36,7 +36,7 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
36
36
|
* @param {IDropDownRenderArgs} args - specifies the arguments
|
|
37
37
|
* @returns {void}
|
|
38
38
|
* @hidden
|
|
39
|
-
|
|
39
|
+
* @deprecated
|
|
40
40
|
*/
|
|
41
41
|
DropDownButtons.prototype.renderDropDowns = function (args) {
|
|
42
42
|
var _this = this;
|
|
@@ -401,7 +401,7 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
401
401
|
*
|
|
402
402
|
* @returns {void}
|
|
403
403
|
* @hidden
|
|
404
|
-
|
|
404
|
+
* @deprecated
|
|
405
405
|
*/
|
|
406
406
|
DropDownButtons.prototype.destroyDropDowns = function () {
|
|
407
407
|
if (this.formatDropDown) {
|