@syncfusion/ej2-richtexteditor 19.3.47 → 19.3.53-6125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1019 -997
- package/README.md +67 -67
- 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 +167 -130
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +276 -239
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/license +9 -9
- package/package.json +75 -75
- package/src/common/interface.d.ts +7 -7
- 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/interface.d.ts +7 -7
- 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/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 +34 -34
- package/src/editor-manager/plugin/dom-node.js +34 -34
- 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 +13 -3
- package/src/editor-manager/plugin/isformatted.d.ts +8 -8
- package/src/editor-manager/plugin/isformatted.js +8 -8
- 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/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/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 +12 -2
- package/src/rich-text-editor/actions/enter-key.js +1 -0
- 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 +3 -3
- package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
- 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 +1 -1
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +10 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +24 -9
- 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 +107 -107
- package/src/rich-text-editor/base/classes.js +107 -107
- package/src/rich-text-editor/base/constant.d.ts +120 -120
- package/src/rich-text-editor/base/constant.js +120 -120
- 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 +47 -45
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +851 -851
- package/src/rich-text-editor/base/rich-text-editor.d.ts +53 -53
- package/src/rich-text-editor/base/rich-text-editor.js +65 -66
- 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 +11 -11
- 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-model.d.ts +26 -26
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +439 -439
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- 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 +12 -11
- package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
- package/src/rich-text-editor/renderer/view-source.js +6 -6
- 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 +24 -23
- package/styles/_all.scss +2 -2
- package/styles/bootstrap-dark.css +4 -0
- package/styles/bootstrap.css +4 -0
- package/styles/bootstrap4.css +4 -0
- package/styles/bootstrap5-dark.css +4 -0
- package/styles/bootstrap5.css +4 -0
- package/styles/fabric-dark.css +4 -0
- package/styles/fabric.css +4 -0
- package/styles/highcontrast-light.css +4 -0
- package/styles/highcontrast.css +4 -0
- package/styles/material-dark.css +4 -0
- package/styles/material.css +4 -0
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +187 -187
- package/styles/rich-text-editor/_bootstrap-definition.scss +244 -244
- package/styles/rich-text-editor/_bootstrap4-definition.scss +370 -370
- package/styles/rich-text-editor/_bootstrap5-definition.scss +168 -168
- package/styles/rich-text-editor/_fabric-dark-definition.scss +168 -168
- package/styles/rich-text-editor/_fabric-definition.scss +167 -167
- package/styles/rich-text-editor/_highcontrast-definition.scss +167 -167
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +167 -167
- package/styles/rich-text-editor/_layout.scss +1639 -1635
- package/styles/rich-text-editor/_material-dark-definition.scss +172 -172
- package/styles/rich-text-editor/_material-definition.scss +169 -169
- package/styles/rich-text-editor/_tailwind-definition.scss +167 -167
- package/styles/rich-text-editor/_theme.scss +626 -626
- package/styles/rich-text-editor/bootstrap-dark.css +4 -0
- package/styles/rich-text-editor/bootstrap.css +4 -0
- package/styles/rich-text-editor/bootstrap4.css +4 -0
- package/styles/rich-text-editor/bootstrap5-dark.css +4 -0
- package/styles/rich-text-editor/bootstrap5.css +4 -0
- package/styles/rich-text-editor/fabric-dark.css +4 -0
- package/styles/rich-text-editor/fabric.css +4 -0
- package/styles/rich-text-editor/highcontrast-light.css +4 -0
- package/styles/rich-text-editor/highcontrast.css +4 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap4.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap5.scss +303 -303
- package/styles/rich-text-editor/icons/_fabric-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_fabric.scss +304 -304
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +304 -304
- package/styles/rich-text-editor/icons/_highcontrast.scss +304 -304
- package/styles/rich-text-editor/icons/_material-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_material.scss +304 -304
- package/styles/rich-text-editor/icons/_tailwind.scss +304 -304
- package/styles/rich-text-editor/material-dark.css +4 -0
- package/styles/rich-text-editor/material.css +4 -0
- package/styles/rich-text-editor/tailwind-dark.css +4 -0
- package/styles/rich-text-editor/tailwind.css +4 -0
- package/styles/tailwind-dark.css +4 -0
- package/styles/tailwind.css +4 -0
- package/.eslintrc.json +0 -244
- 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
|
@@ -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();
|
|
@@ -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;
|
|
@@ -45,7 +45,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
45
45
|
* @function destroy
|
|
46
46
|
* @returns {void}
|
|
47
47
|
* @hidden
|
|
48
|
-
|
|
48
|
+
* @deprecated
|
|
49
49
|
*/
|
|
50
50
|
UndoRedoCommands.prototype.destroy = function () {
|
|
51
51
|
this.removeEventListener();
|
|
@@ -56,7 +56,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
56
56
|
* @param {IMarkdownSubCommands} e - specifies the sub commands
|
|
57
57
|
* @returns {void}
|
|
58
58
|
* @hidden
|
|
59
|
-
|
|
59
|
+
* @deprecated
|
|
60
60
|
*/
|
|
61
61
|
UndoRedoCommands.prototype.onAction = function (e) {
|
|
62
62
|
if (e.subCommand === 'Undo') {
|
|
@@ -93,7 +93,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
93
93
|
* @function saveData
|
|
94
94
|
* @returns {void}
|
|
95
95
|
* @hidden
|
|
96
|
-
|
|
96
|
+
* @deprecated
|
|
97
97
|
*/
|
|
98
98
|
UndoRedoCommands.prototype.saveData = function (e) {
|
|
99
99
|
var textArea = this.parent.element;
|
|
@@ -126,7 +126,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
126
126
|
* @function undo
|
|
127
127
|
* @returns {void}
|
|
128
128
|
* @hidden
|
|
129
|
-
|
|
129
|
+
* @deprecated
|
|
130
130
|
*/
|
|
131
131
|
UndoRedoCommands.prototype.undo = function (e) {
|
|
132
132
|
if (this.steps > 0) {
|
|
@@ -147,7 +147,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
147
147
|
* @function redo
|
|
148
148
|
* @returns {void}
|
|
149
149
|
* @hidden
|
|
150
|
-
|
|
150
|
+
* @deprecated
|
|
151
151
|
*/
|
|
152
152
|
UndoRedoCommands.prototype.redo = function (e) {
|
|
153
153
|
if (this.undoRedoStack[this.steps + 1] != null) {
|
|
@@ -177,7 +177,7 @@ var UndoRedoCommands = /** @class */ (function () {
|
|
|
177
177
|
*
|
|
178
178
|
* @returns {boolean} - returns the boolean value
|
|
179
179
|
* @hidden
|
|
180
|
-
|
|
180
|
+
* @deprecated
|
|
181
181
|
*/
|
|
182
182
|
UndoRedoCommands.prototype.getUndoStatus = function () {
|
|
183
183
|
var status = { undo: false, redo: false };
|
|
@@ -29,7 +29,7 @@ export declare class BaseQuickToolbar {
|
|
|
29
29
|
* @param {IQuickToolbarOptions} args - specifies the arguments
|
|
30
30
|
* @returns {void}
|
|
31
31
|
* @hidden
|
|
32
|
-
|
|
32
|
+
* @deprecated
|
|
33
33
|
*/
|
|
34
34
|
render(args: IQuickToolbarOptions): void;
|
|
35
35
|
private createToolbar;
|
|
@@ -43,7 +43,7 @@ export declare class BaseQuickToolbar {
|
|
|
43
43
|
* @param {Element} target - specifies the element
|
|
44
44
|
* @returns {void}
|
|
45
45
|
* @hidden
|
|
46
|
-
|
|
46
|
+
* @deprecated
|
|
47
47
|
*/
|
|
48
48
|
showPopup(x: number, y: number, target: Element): void;
|
|
49
49
|
/**
|
|
@@ -51,7 +51,7 @@ export declare class BaseQuickToolbar {
|
|
|
51
51
|
*
|
|
52
52
|
* @returns {void}
|
|
53
53
|
* @hidden
|
|
54
|
-
|
|
54
|
+
* @deprecated
|
|
55
55
|
*/
|
|
56
56
|
hidePopup(): void;
|
|
57
57
|
/**
|
|
@@ -59,14 +59,14 @@ export declare class BaseQuickToolbar {
|
|
|
59
59
|
* @param {number} index - specifies the index value
|
|
60
60
|
* @returns {void}
|
|
61
61
|
* @hidden
|
|
62
|
-
|
|
62
|
+
* @deprecated
|
|
63
63
|
*/
|
|
64
64
|
addQTBarItem(item: (string | IToolbarItems)[], index: number): void;
|
|
65
65
|
/**
|
|
66
66
|
* @param {number} index - specifies the index value
|
|
67
67
|
* @returns {void}
|
|
68
68
|
* @hidden
|
|
69
|
-
|
|
69
|
+
* @deprecated
|
|
70
70
|
*/
|
|
71
71
|
removeQTBarItem(index: number | HTMLElement[] | Element[]): void;
|
|
72
72
|
private removeEleFromDOM;
|
|
@@ -77,7 +77,7 @@ export declare class BaseQuickToolbar {
|
|
|
77
77
|
* @function destroy
|
|
78
78
|
* @returns {void}
|
|
79
79
|
* @hidden
|
|
80
|
-
|
|
80
|
+
* @deprecated
|
|
81
81
|
*/
|
|
82
82
|
destroy(): void;
|
|
83
83
|
/**
|
|
@@ -85,7 +85,7 @@ export declare class BaseQuickToolbar {
|
|
|
85
85
|
*
|
|
86
86
|
* @returns {void}
|
|
87
87
|
* @hidden
|
|
88
|
-
|
|
88
|
+
* @deprecated
|
|
89
89
|
*/
|
|
90
90
|
addEventListener(): void;
|
|
91
91
|
/**
|
|
@@ -94,7 +94,7 @@ export declare class BaseQuickToolbar {
|
|
|
94
94
|
* @param {RichTextEditorModel} e - specifies the model element
|
|
95
95
|
* @returns {void}
|
|
96
96
|
* @hidden
|
|
97
|
-
|
|
97
|
+
* @deprecated
|
|
98
98
|
*/
|
|
99
99
|
protected onPropertyChanged(e: {
|
|
100
100
|
[key: string]: RichTextEditorModel;
|
|
@@ -104,7 +104,7 @@ export declare class BaseQuickToolbar {
|
|
|
104
104
|
*
|
|
105
105
|
* @returns {void}
|
|
106
106
|
* @hidden
|
|
107
|
-
|
|
107
|
+
* @deprecated
|
|
108
108
|
*/
|
|
109
109
|
removeEventListener(): void;
|
|
110
110
|
}
|
|
@@ -32,7 +32,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
32
32
|
* @param {IQuickToolbarOptions} args - specifies the arguments
|
|
33
33
|
* @returns {void}
|
|
34
34
|
* @hidden
|
|
35
|
-
|
|
35
|
+
* @deprecated
|
|
36
36
|
*/
|
|
37
37
|
BaseQuickToolbar.prototype.render = function (args) {
|
|
38
38
|
var className;
|
|
@@ -175,7 +175,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
175
175
|
* @param {Element} target - specifies the element
|
|
176
176
|
* @returns {void}
|
|
177
177
|
* @hidden
|
|
178
|
-
|
|
178
|
+
* @deprecated
|
|
179
179
|
*/
|
|
180
180
|
BaseQuickToolbar.prototype.showPopup = function (x, y, target) {
|
|
181
181
|
var _this = this;
|
|
@@ -265,7 +265,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
265
265
|
*
|
|
266
266
|
* @returns {void}
|
|
267
267
|
* @hidden
|
|
268
|
-
|
|
268
|
+
* @deprecated
|
|
269
269
|
*/
|
|
270
270
|
BaseQuickToolbar.prototype.hidePopup = function () {
|
|
271
271
|
var viewSourcePanel = this.parent.sourceCodeModule.getViewPanel();
|
|
@@ -285,7 +285,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
285
285
|
* @param {number} index - specifies the index value
|
|
286
286
|
* @returns {void}
|
|
287
287
|
* @hidden
|
|
288
|
-
|
|
288
|
+
* @deprecated
|
|
289
289
|
*/
|
|
290
290
|
BaseQuickToolbar.prototype.addQTBarItem = function (item, index) {
|
|
291
291
|
this.quickTBarObj.toolbarObj.addItems(this.quickTBarObj.getItems(item, 'toolbar'), index);
|
|
@@ -294,7 +294,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
294
294
|
* @param {number} index - specifies the index value
|
|
295
295
|
* @returns {void}
|
|
296
296
|
* @hidden
|
|
297
|
-
|
|
297
|
+
* @deprecated
|
|
298
298
|
*/
|
|
299
299
|
BaseQuickToolbar.prototype.removeQTBarItem = function (index) {
|
|
300
300
|
this.quickTBarObj.toolbarObj.removeItems(index);
|
|
@@ -329,7 +329,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
329
329
|
* @function destroy
|
|
330
330
|
* @returns {void}
|
|
331
331
|
* @hidden
|
|
332
|
-
|
|
332
|
+
* @deprecated
|
|
333
333
|
*/
|
|
334
334
|
BaseQuickToolbar.prototype.destroy = function () {
|
|
335
335
|
if (this.popupObj && !this.popupObj.isDestroyed) {
|
|
@@ -343,7 +343,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
343
343
|
*
|
|
344
344
|
* @returns {void}
|
|
345
345
|
* @hidden
|
|
346
|
-
|
|
346
|
+
* @deprecated
|
|
347
347
|
*/
|
|
348
348
|
BaseQuickToolbar.prototype.addEventListener = function () {
|
|
349
349
|
if (this.parent.isDestroyed) {
|
|
@@ -361,7 +361,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
361
361
|
* @param {RichTextEditorModel} e - specifies the model element
|
|
362
362
|
* @returns {void}
|
|
363
363
|
* @hidden
|
|
364
|
-
|
|
364
|
+
* @deprecated
|
|
365
365
|
*/
|
|
366
366
|
BaseQuickToolbar.prototype.onPropertyChanged = function (e) {
|
|
367
367
|
if (!isNullOrUndefined(e.newProp.inlineMode)) {
|
|
@@ -385,7 +385,7 @@ var BaseQuickToolbar = /** @class */ (function () {
|
|
|
385
385
|
*
|
|
386
386
|
* @returns {void}
|
|
387
387
|
* @hidden
|
|
388
|
-
|
|
388
|
+
* @deprecated
|
|
389
389
|
*/
|
|
390
390
|
BaseQuickToolbar.prototype.removeEventListener = function () {
|
|
391
391
|
if (this.parent.isDestroyed) {
|
|
@@ -26,7 +26,7 @@ export declare class BaseToolbar {
|
|
|
26
26
|
* @param {string} container - specifies the value of string
|
|
27
27
|
* @returns {IToolbarItemModel} - returns the model element
|
|
28
28
|
* @hidden
|
|
29
|
-
|
|
29
|
+
* @deprecated
|
|
30
30
|
*/
|
|
31
31
|
getObject(item: string, container: string): IToolbarItemModel;
|
|
32
32
|
/**
|
|
@@ -34,7 +34,7 @@ export declare class BaseToolbar {
|
|
|
34
34
|
* @param {string} container - specifies the container value
|
|
35
35
|
* @returns {ItemModel} - retunrs the model element
|
|
36
36
|
* @hidden
|
|
37
|
-
|
|
37
|
+
* @deprecated
|
|
38
38
|
*/
|
|
39
39
|
getItems(tbItems: (string | IToolbarItems)[], container: string): ItemModel[];
|
|
40
40
|
private getToolbarOptions;
|
|
@@ -44,7 +44,7 @@ export declare class BaseToolbar {
|
|
|
44
44
|
* @param {IToolbarRenderOptions} args - specifies the toolbar options
|
|
45
45
|
* @returns {void}
|
|
46
46
|
* @hidden
|
|
47
|
-
|
|
47
|
+
* @deprecated
|
|
48
48
|
*/
|
|
49
49
|
render(args: IToolbarRenderOptions): void;
|
|
50
50
|
}
|
|
@@ -81,7 +81,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
81
81
|
* @param {string} container - specifies the value of string
|
|
82
82
|
* @returns {IToolbarItemModel} - returns the model element
|
|
83
83
|
* @hidden
|
|
84
|
-
|
|
84
|
+
* @deprecated
|
|
85
85
|
*/
|
|
86
86
|
BaseToolbar.prototype.getObject = function (item, container) {
|
|
87
87
|
var itemStr = item.toLowerCase();
|
|
@@ -110,7 +110,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
110
110
|
* @param {string} container - specifies the container value
|
|
111
111
|
* @returns {ItemModel} - retunrs the model element
|
|
112
112
|
* @hidden
|
|
113
|
-
|
|
113
|
+
* @deprecated
|
|
114
114
|
*/
|
|
115
115
|
BaseToolbar.prototype.getItems = function (tbItems, container) {
|
|
116
116
|
var _this = this;
|
|
@@ -167,7 +167,7 @@ var BaseToolbar = /** @class */ (function () {
|
|
|
167
167
|
* @param {IToolbarRenderOptions} args - specifies the toolbar options
|
|
168
168
|
* @returns {void}
|
|
169
169
|
* @hidden
|
|
170
|
-
|
|
170
|
+
* @deprecated
|
|
171
171
|
*/
|
|
172
172
|
BaseToolbar.prototype.render = function (args) {
|
|
173
173
|
this.toolbarRenderer = this.renderFactory.getRenderer(RenderType.Toolbar);
|
|
@@ -22,7 +22,7 @@ export declare class ColorPickerInput {
|
|
|
22
22
|
* @param {IColorPickerRenderArgs} args - specify the arguments.
|
|
23
23
|
* @returns {void}
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
renderColorPickerInput(args: IColorPickerRenderArgs): void;
|
|
28
28
|
private destroy;
|
|
@@ -31,7 +31,7 @@ export declare class ColorPickerInput {
|
|
|
31
31
|
*
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
destroyColorPicker(): void;
|
|
37
37
|
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;
|
|
@@ -93,7 +93,7 @@ var ColorPickerInput = /** @class */ (function () {
|
|
|
93
93
|
*
|
|
94
94
|
* @returns {void}
|
|
95
95
|
* @hidden
|
|
96
|
-
|
|
96
|
+
* @deprecated
|
|
97
97
|
*/
|
|
98
98
|
ColorPickerInput.prototype.destroyColorPicker = function () {
|
|
99
99
|
if (this.fontColorPicker && !this.fontColorPicker.isDestroyed) {
|
|
@@ -22,7 +22,7 @@ export declare class Count {
|
|
|
22
22
|
*
|
|
23
23
|
* @returns {void}
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
renderCount(): void;
|
|
28
28
|
private appendCount;
|
|
@@ -30,7 +30,7 @@ export declare class Count {
|
|
|
30
30
|
/**
|
|
31
31
|
* @returns {void}
|
|
32
32
|
* @hidden
|
|
33
|
-
|
|
33
|
+
* @deprecated
|
|
34
34
|
*/
|
|
35
35
|
refresh(): void;
|
|
36
36
|
/**
|
|
@@ -39,7 +39,7 @@ export declare class Count {
|
|
|
39
39
|
* @function destroy
|
|
40
40
|
* @returns {void}
|
|
41
41
|
* @hidden
|
|
42
|
-
|
|
42
|
+
* @deprecated
|
|
43
43
|
*/
|
|
44
44
|
destroy(): void;
|
|
45
45
|
private toggle;
|
|
@@ -22,7 +22,7 @@ var Count = /** @class */ (function () {
|
|
|
22
22
|
*
|
|
23
23
|
* @returns {void}
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
Count.prototype.renderCount = function () {
|
|
28
28
|
this.initializeInstance();
|
|
@@ -63,7 +63,7 @@ var Count = /** @class */ (function () {
|
|
|
63
63
|
/**
|
|
64
64
|
* @returns {void}
|
|
65
65
|
* @hidden
|
|
66
|
-
|
|
66
|
+
* @deprecated
|
|
67
67
|
*/
|
|
68
68
|
Count.prototype.refresh = function () {
|
|
69
69
|
if (!isNullOrUndefined(this.editPanel)) {
|
|
@@ -79,7 +79,7 @@ var Count = /** @class */ (function () {
|
|
|
79
79
|
* @function destroy
|
|
80
80
|
* @returns {void}
|
|
81
81
|
* @hidden
|
|
82
|
-
|
|
82
|
+
* @deprecated
|
|
83
83
|
*/
|
|
84
84
|
Count.prototype.destroy = function () {
|
|
85
85
|
if (this.element && !isNullOrUndefined(this.parent.element.querySelector('.' + CLS_COUNT))) {
|
|
@@ -31,7 +31,7 @@ export declare class DropDownButtons {
|
|
|
31
31
|
* @param {IDropDownRenderArgs} args - specifies the arguments
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
renderDropDowns(args: IDropDownRenderArgs): void;
|
|
37
37
|
private getUpdateItems;
|
|
@@ -50,7 +50,7 @@ export declare class DropDownButtons {
|
|
|
50
50
|
*
|
|
51
51
|
* @returns {void}
|
|
52
52
|
* @hidden
|
|
53
|
-
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
55
|
destroyDropDowns(): void;
|
|
56
56
|
private setRtl;
|
|
@@ -39,7 +39,7 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
39
39
|
* @param {IDropDownRenderArgs} args - specifies the arguments
|
|
40
40
|
* @returns {void}
|
|
41
41
|
* @hidden
|
|
42
|
-
|
|
42
|
+
* @deprecated
|
|
43
43
|
*/
|
|
44
44
|
DropDownButtons.prototype.renderDropDowns = function (args) {
|
|
45
45
|
var _this = this;
|
|
@@ -206,6 +206,11 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
206
206
|
var prop = _a[_i];
|
|
207
207
|
switch (prop) {
|
|
208
208
|
case 'fontFamily':
|
|
209
|
+
if (this.parent.inlineMode.enable) {
|
|
210
|
+
if (!isNullOrUndefined(this.parent.fontFamily.default)) {
|
|
211
|
+
this.getEditNode().style.fontFamily = this.parent.fontFamily.default;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
209
214
|
if (this.fontNameDropDown) {
|
|
210
215
|
for (var _b = 0, _c = Object.keys(newProp.fontFamily); _b < _c.length; _b++) {
|
|
211
216
|
var fontFamily = _c[_b];
|
|
@@ -237,6 +242,11 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
237
242
|
}
|
|
238
243
|
break;
|
|
239
244
|
case 'fontSize':
|
|
245
|
+
if (this.parent.inlineMode) {
|
|
246
|
+
if (!isNullOrUndefined(this.parent.fontSize.default)) {
|
|
247
|
+
this.getEditNode().style.fontSize = this.parent.fontSize.default;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
240
250
|
if (this.fontSizeDropDown) {
|
|
241
251
|
for (var _d = 0, _e = Object.keys(newProp.fontSize); _d < _e.length; _d++) {
|
|
242
252
|
var fontSize = _e[_d];
|
|
@@ -400,7 +410,7 @@ var DropDownButtons = /** @class */ (function () {
|
|
|
400
410
|
*
|
|
401
411
|
* @returns {void}
|
|
402
412
|
* @hidden
|
|
403
|
-
|
|
413
|
+
* @deprecated
|
|
404
414
|
*/
|
|
405
415
|
DropDownButtons.prototype.destroyDropDowns = function () {
|
|
406
416
|
if (this.formatDropDown) {
|
|
@@ -129,6 +129,7 @@ var EnterKeyAction = /** @class */ (function () {
|
|
|
129
129
|
detach(nearBlockNode);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
+
_this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), insertElem.nextElementSibling, 0);
|
|
132
133
|
}
|
|
133
134
|
else if (nearBlockNode.textContent.length === 0 && !(!isNOU(nearBlockNode.childNodes[0]) && nearBlockNode.childNodes[0].nodeName === 'IMG')) {
|
|
134
135
|
if (!isNOU(nearBlockNode.children[0]) && nearBlockNode.children[0].tagName !== 'BR') {
|
|
@@ -13,7 +13,7 @@ export declare class FullScreen {
|
|
|
13
13
|
* @param {MouseEvent} event - specifies the mouse event
|
|
14
14
|
* @returns {void}
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
showFullScreen(event?: MouseEvent | KeyboardEventArgs): void;
|
|
19
19
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class FullScreen {
|
|
|
22
22
|
* @param {MouseEvent} event - specifies the mouse event
|
|
23
23
|
* @returns {void}
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
hideFullScreen(event?: MouseEvent | KeyboardEventArgs): void;
|
|
28
28
|
private toggleParentOverflow;
|
|
@@ -34,7 +34,7 @@ export declare class FullScreen {
|
|
|
34
34
|
*
|
|
35
35
|
* @returns {void}
|
|
36
36
|
* @hidden
|
|
37
|
-
|
|
37
|
+
* @deprecated
|
|
38
38
|
*/
|
|
39
39
|
destroy(): void;
|
|
40
40
|
}
|
|
@@ -17,7 +17,7 @@ var FullScreen = /** @class */ (function () {
|
|
|
17
17
|
* @param {MouseEvent} event - specifies the mouse event
|
|
18
18
|
* @returns {void}
|
|
19
19
|
* @hidden
|
|
20
|
-
|
|
20
|
+
* @deprecated
|
|
21
21
|
*/
|
|
22
22
|
FullScreen.prototype.showFullScreen = function (event) {
|
|
23
23
|
var _this = this;
|
|
@@ -67,7 +67,7 @@ var FullScreen = /** @class */ (function () {
|
|
|
67
67
|
* @param {MouseEvent} event - specifies the mouse event
|
|
68
68
|
* @returns {void}
|
|
69
69
|
* @hidden
|
|
70
|
-
|
|
70
|
+
* @deprecated
|
|
71
71
|
*/
|
|
72
72
|
FullScreen.prototype.hideFullScreen = function (event) {
|
|
73
73
|
var _this = this;
|
|
@@ -150,7 +150,7 @@ var FullScreen = /** @class */ (function () {
|
|
|
150
150
|
*
|
|
151
151
|
* @returns {void}
|
|
152
152
|
* @hidden
|
|
153
|
-
|
|
153
|
+
* @deprecated
|
|
154
154
|
*/
|
|
155
155
|
FullScreen.prototype.destroy = function () {
|
|
156
156
|
if (this.parent.element.classList.contains(classes.CLS_FULL_SCREEN)) {
|
|
@@ -27,14 +27,14 @@ export declare class HtmlEditor {
|
|
|
27
27
|
* @function destroy
|
|
28
28
|
* @returns {void}
|
|
29
29
|
* @hidden
|
|
30
|
-
|
|
30
|
+
* @deprecated
|
|
31
31
|
*/
|
|
32
32
|
destroy(): void;
|
|
33
33
|
/**
|
|
34
34
|
* @param {string} value - specifies the string value
|
|
35
35
|
* @returns {void}
|
|
36
36
|
* @hidden
|
|
37
|
-
|
|
37
|
+
* @deprecated
|
|
38
38
|
*/
|
|
39
39
|
sanitizeHelper(value: string): string;
|
|
40
40
|
private addEventListener;
|
|
@@ -64,7 +64,7 @@ export declare class HtmlEditor {
|
|
|
64
64
|
* @param {RichTextEditorModel} e - specifies the editor model
|
|
65
65
|
* @returns {void}
|
|
66
66
|
* @hidden
|
|
67
|
-
|
|
67
|
+
* @deprecated
|
|
68
68
|
*/
|
|
69
69
|
protected onPropertyChanged(e: {
|
|
70
70
|
[key: string]: RichTextEditorModel;
|
|
@@ -32,7 +32,7 @@ var HtmlEditor = /** @class */ (function () {
|
|
|
32
32
|
* @function destroy
|
|
33
33
|
* @returns {void}
|
|
34
34
|
* @hidden
|
|
35
|
-
|
|
35
|
+
* @deprecated
|
|
36
36
|
*/
|
|
37
37
|
HtmlEditor.prototype.destroy = function () {
|
|
38
38
|
this.removeEventListener();
|
|
@@ -41,7 +41,7 @@ var HtmlEditor = /** @class */ (function () {
|
|
|
41
41
|
* @param {string} value - specifies the string value
|
|
42
42
|
* @returns {void}
|
|
43
43
|
* @hidden
|
|
44
|
-
|
|
44
|
+
* @deprecated
|
|
45
45
|
*/
|
|
46
46
|
HtmlEditor.prototype.sanitizeHelper = function (value) {
|
|
47
47
|
value = sanitizeHelper(value, this.parent);
|
|
@@ -641,7 +641,7 @@ var HtmlEditor = /** @class */ (function () {
|
|
|
641
641
|
* @param {RichTextEditorModel} e - specifies the editor model
|
|
642
642
|
* @returns {void}
|
|
643
643
|
* @hidden
|
|
644
|
-
|
|
644
|
+
* @deprecated
|
|
645
645
|
*/
|
|
646
646
|
HtmlEditor.prototype.onPropertyChanged = function (e) {
|
|
647
647
|
// On property code change here
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from '@syncfusion/ej2-base';
|
|
2
2
|
import {KeyboardEventArgs} from "./keyboard";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,24 +7,24 @@ import {KeyboardEventArgs} from "./keyboard";
|
|
|
7
7
|
export interface KeyboardEventsModel {
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Specifies key combination and it respective action name.
|
|
11
|
-
*
|
|
12
|
-
* @default null
|
|
13
|
-
*/
|
|
14
|
-
keyConfigs?: { [key: string]: string };
|
|
10
|
+
* Specifies key combination and it respective action name.
|
|
11
|
+
*
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
keyConfigs?: { [key: string]: string };
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Specifies on which event keyboardEvents class should listen for key press. For ex., `keyup`, `keydown` or `keypress`
|
|
18
|
-
*
|
|
19
|
-
* @default 'keyup'
|
|
20
|
-
*/
|
|
21
|
-
eventName?: string;
|
|
17
|
+
* Specifies on which event keyboardEvents class should listen for key press. For ex., `keyup`, `keydown` or `keypress`
|
|
18
|
+
*
|
|
19
|
+
* @default 'keyup'
|
|
20
|
+
*/
|
|
21
|
+
eventName?: string;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Specifies the listener when keyboard actions is performed.
|
|
25
|
-
*
|
|
26
|
-
* @event 'keyAction'
|
|
27
|
-
*/
|
|
28
|
-
keyAction?: EmitType<KeyboardEventArgs>;
|
|
24
|
+
* Specifies the listener when keyboard actions is performed.
|
|
25
|
+
*
|
|
26
|
+
* @event 'keyAction'
|
|
27
|
+
*/
|
|
28
|
+
keyAction?: EmitType<KeyboardEventArgs>;
|
|
29
29
|
|
|
30
30
|
}
|