@syncfusion/ej2-richtexteditor 25.2.3 → 25.2.4-621927
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/.eslintrc.json +259 -259
- package/CHANGELOG.md +2067 -2011
- 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 +575 -287
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +675 -383
- 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 +84 -84
- package/src/common/interface.d.ts +22 -8
- package/src/common/util.js +4 -1
- 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 +8 -6
- 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 +5 -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 +54 -34
- package/src/editor-manager/plugin/dom-node.js +139 -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 +3 -3
- 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 +5 -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 +5 -2
- 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 -3
- package/src/editor-manager/plugin/lists.js +57 -80
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +2 -2
- 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/enter-key.d.ts +5 -0
- package/src/rich-text-editor/actions/enter-key.js +98 -13
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -9
- package/src/rich-text-editor/actions/html-editor.d.ts +4 -3
- package/src/rich-text-editor/actions/html-editor.js +66 -13
- 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 +2 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +44 -7
- 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/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 +121 -121
- package/src/rich-text-editor/base/classes.js +121 -121
- 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 +50 -50
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
- package/src/rich-text-editor/base/rich-text-editor.d.ts +63 -61
- package/src/rich-text-editor/base/rich-text-editor.js +82 -67
- 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-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 +760 -760
- 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 +7 -2
- 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 +10 -5
- 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 +3 -2
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +16 -18
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +7 -2
- 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 +22 -22
- package/styles/_all.scss +1 -1
- package/styles/bootstrap-dark.css +702 -795
- package/styles/bootstrap-dark.scss +4 -1
- package/styles/bootstrap.css +686 -795
- package/styles/bootstrap.scss +4 -1
- package/styles/bootstrap4.css +689 -797
- package/styles/bootstrap4.scss +4 -1
- package/styles/bootstrap5-dark.css +713 -834
- package/styles/bootstrap5-dark.scss +4 -1
- package/styles/bootstrap5.css +712 -833
- package/styles/bootstrap5.scss +4 -1
- package/styles/fabric-dark.css +687 -791
- package/styles/fabric-dark.scss +4 -1
- package/styles/fabric.css +683 -791
- package/styles/fabric.scss +4 -1
- package/styles/fluent-dark.css +690 -814
- package/styles/fluent-dark.scss +4 -1
- package/styles/fluent.css +689 -813
- package/styles/fluent.scss +4 -1
- package/styles/fluent2.css +4219 -0
- package/styles/fluent2.scss +4 -0
- package/styles/highcontrast-light.css +658 -789
- package/styles/highcontrast-light.scss +4 -1
- package/styles/highcontrast.css +664 -787
- package/styles/highcontrast.scss +4 -1
- package/styles/material-dark.css +679 -792
- package/styles/material-dark.scss +4 -1
- package/styles/material.css +676 -794
- package/styles/material.scss +4 -1
- package/styles/material3-dark.css +715 -852
- package/styles/material3-dark.scss +4 -1
- package/styles/material3.css +715 -852
- package/styles/material3.scss +4 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bds-definition.scss +288 -285
- package/styles/rich-text-editor/_bigger.scss +610 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +289 -287
- package/styles/rich-text-editor/_bootstrap-definition.scss +347 -343
- package/styles/rich-text-editor/_bootstrap4-definition.scss +474 -470
- package/styles/rich-text-editor/_bootstrap5-definition.scss +276 -272
- package/styles/rich-text-editor/_bootstrap5.3-definition.scss +276 -0
- package/styles/rich-text-editor/_fabric-dark-definition.scss +273 -269
- package/styles/rich-text-editor/_fabric-definition.scss +271 -267
- package/styles/rich-text-editor/_fluent-definition.scss +277 -273
- package/styles/rich-text-editor/_fluent2-definition.scss +285 -0
- package/styles/rich-text-editor/_fusionnew-definition.scss +274 -271
- package/styles/rich-text-editor/_highcontrast-definition.scss +272 -267
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +271 -267
- package/styles/rich-text-editor/_layout.scss +2148 -2269
- package/styles/rich-text-editor/_material-dark-definition.scss +276 -272
- package/styles/rich-text-editor/_material-definition.scss +274 -270
- package/styles/rich-text-editor/_material3-definition.scss +276 -272
- package/styles/rich-text-editor/_tailwind-definition.scss +271 -267
- package/styles/rich-text-editor/_theme.scss +802 -927
- package/styles/rich-text-editor/bootstrap-dark.css +702 -795
- package/styles/rich-text-editor/bootstrap.css +686 -795
- package/styles/rich-text-editor/bootstrap4.css +689 -797
- package/styles/rich-text-editor/bootstrap5-dark.css +713 -834
- package/styles/rich-text-editor/bootstrap5.css +712 -833
- package/styles/rich-text-editor/fabric-dark.css +687 -791
- package/styles/rich-text-editor/fabric.css +683 -791
- package/styles/rich-text-editor/fluent-dark.css +690 -814
- package/styles/rich-text-editor/fluent.css +689 -813
- package/styles/rich-text-editor/fluent2.css +4219 -0
- package/styles/rich-text-editor/fluent2.scss +4 -0
- package/styles/rich-text-editor/highcontrast-light.css +658 -789
- package/styles/rich-text-editor/highcontrast.css +664 -787
- package/styles/rich-text-editor/icons/_bds.scss +372 -351
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -352
- package/styles/rich-text-editor/icons/_bootstrap.scss +373 -352
- package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -352
- package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -0
- package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -351
- package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -352
- package/styles/rich-text-editor/icons/_fabric.scss +373 -352
- package/styles/rich-text-editor/icons/_fluent.scss +372 -351
- package/styles/rich-text-editor/icons/_fluent2.scss +369 -0
- package/styles/rich-text-editor/icons/_fusionnew.scss +357 -348
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -352
- package/styles/rich-text-editor/icons/_highcontrast.scss +361 -352
- package/styles/rich-text-editor/icons/_material-dark.scss +373 -352
- package/styles/rich-text-editor/icons/_material.scss +373 -352
- package/styles/rich-text-editor/icons/_material3.scss +372 -351
- package/styles/rich-text-editor/icons/_tailwind.scss +372 -351
- package/styles/rich-text-editor/material-dark.css +679 -792
- package/styles/rich-text-editor/material.css +676 -794
- package/styles/rich-text-editor/material3-dark.css +715 -852
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +715 -852
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +702 -822
- package/styles/rich-text-editor/tailwind.css +702 -822
- package/styles/tailwind-dark.css +702 -822
- package/styles/tailwind-dark.scss +4 -1
- package/styles/tailwind.css +702 -822
- package/styles/tailwind.scss +4 -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
|
@@ -5,7 +5,7 @@ import * as EVENTS from './../../common/constant';
|
|
|
5
5
|
* Clear Format EXEC internal component
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var ClearFormatExec = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -14,7 +14,7 @@ var ClearFormatExec = /** @class */ (function () {
|
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element.
|
|
15
15
|
* @returns {void}
|
|
16
16
|
* @hidden
|
|
17
|
-
|
|
17
|
+
* @deprecated
|
|
18
18
|
*/
|
|
19
19
|
function ClearFormatExec(parent) {
|
|
20
20
|
this.parent = parent;
|
|
@@ -15,7 +15,7 @@ export declare class ClearFormat {
|
|
|
15
15
|
* @param {string} command - specifies the command value
|
|
16
16
|
* @returns {void}
|
|
17
17
|
* @hidden
|
|
18
|
-
|
|
18
|
+
* @deprecated
|
|
19
19
|
*/
|
|
20
20
|
static clear(docElement: Document, endNode: Node, enterAction: string, selector?: string, command?: string): void;
|
|
21
21
|
private static reSelection;
|
|
@@ -21,7 +21,7 @@ var ClearFormat = /** @class */ (function () {
|
|
|
21
21
|
* @param {string} command - specifies the command value
|
|
22
22
|
* @returns {void}
|
|
23
23
|
* @hidden
|
|
24
|
-
|
|
24
|
+
* @deprecated
|
|
25
25
|
*/
|
|
26
26
|
ClearFormat.clear = function (docElement, endNode, enterAction, selector, command) {
|
|
27
27
|
this.domNode = new DOMNode(endNode, docElement);
|
|
@@ -6,7 +6,7 @@ export declare const markerClassName: {
|
|
|
6
6
|
* DOMNode internal plugin
|
|
7
7
|
*
|
|
8
8
|
* @hidden
|
|
9
|
-
|
|
9
|
+
* @deprecated
|
|
10
10
|
*/
|
|
11
11
|
export declare class DOMNode {
|
|
12
12
|
private parent;
|
|
@@ -18,7 +18,7 @@ export declare class DOMNode {
|
|
|
18
18
|
* @param {Element} parent - specifies the parent element
|
|
19
19
|
* @param {Document} currentDocument - specifies the current document.
|
|
20
20
|
* @hidden
|
|
21
|
-
|
|
21
|
+
* @deprecated
|
|
22
22
|
*/
|
|
23
23
|
constructor(parent: Element, currentDocument: Document);
|
|
24
24
|
/**
|
|
@@ -27,7 +27,7 @@ export declare class DOMNode {
|
|
|
27
27
|
* @param {Element} element - specifies the element.
|
|
28
28
|
* @returns {void}
|
|
29
29
|
* @hidden
|
|
30
|
-
|
|
30
|
+
* @deprecated
|
|
31
31
|
*/
|
|
32
32
|
contents(element: Element): Node[];
|
|
33
33
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class DOMNode {
|
|
|
36
36
|
* @param {Element} element - specifies the node element.
|
|
37
37
|
* @returns {boolean} - sepcifies the boolean value
|
|
38
38
|
* @hidden
|
|
39
|
-
|
|
39
|
+
* @deprecated
|
|
40
40
|
*/
|
|
41
41
|
isBlockNode(element: Element): boolean;
|
|
42
42
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class DOMNode {
|
|
|
45
45
|
* @param {Element} element - specifies the element
|
|
46
46
|
* @returns {boolean} - specifies the boolean value
|
|
47
47
|
* @hidden
|
|
48
|
-
|
|
48
|
+
* @deprecated
|
|
49
49
|
*/
|
|
50
50
|
isLink(element: Element): boolean;
|
|
51
51
|
/**
|
|
@@ -54,7 +54,7 @@ export declare class DOMNode {
|
|
|
54
54
|
* @param {Element} element - specifies the element
|
|
55
55
|
* @returns {Element} - returns the element value
|
|
56
56
|
* @hidden
|
|
57
|
-
|
|
57
|
+
* @deprecated
|
|
58
58
|
*/
|
|
59
59
|
blockParentNode(element: Element): Element;
|
|
60
60
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class DOMNode {
|
|
|
63
63
|
* @param {Element} element - specifies the element
|
|
64
64
|
* @returns {string} - returns the string value
|
|
65
65
|
* @hidden
|
|
66
|
-
|
|
66
|
+
* @deprecated
|
|
67
67
|
*/
|
|
68
68
|
rawAttributes(element: Element): {
|
|
69
69
|
[key: string]: string;
|
|
@@ -74,7 +74,7 @@ export declare class DOMNode {
|
|
|
74
74
|
* @param {Element} element - sepcifies the element.
|
|
75
75
|
* @returns {string} - returns the string value.
|
|
76
76
|
* @hidden
|
|
77
|
-
|
|
77
|
+
* @deprecated
|
|
78
78
|
*/
|
|
79
79
|
attributes(element?: Element): string;
|
|
80
80
|
/**
|
|
@@ -83,7 +83,7 @@ export declare class DOMNode {
|
|
|
83
83
|
* @param {Element} element - specifies the element
|
|
84
84
|
* @returns {void}
|
|
85
85
|
* @hidden
|
|
86
|
-
|
|
86
|
+
* @deprecated
|
|
87
87
|
*/
|
|
88
88
|
clearAttributes(element: Element): void;
|
|
89
89
|
/**
|
|
@@ -92,7 +92,7 @@ export declare class DOMNode {
|
|
|
92
92
|
* @param {Element} element - specifies the element.
|
|
93
93
|
* @returns {string} - returns the string
|
|
94
94
|
* @hidden
|
|
95
|
-
|
|
95
|
+
* @deprecated
|
|
96
96
|
*/
|
|
97
97
|
openTagString(element: Element): string;
|
|
98
98
|
/**
|
|
@@ -101,7 +101,7 @@ export declare class DOMNode {
|
|
|
101
101
|
* @param {Element} element - specifies the element
|
|
102
102
|
* @returns {string} - returns the string value
|
|
103
103
|
* @hidden
|
|
104
|
-
|
|
104
|
+
* @deprecated
|
|
105
105
|
*/
|
|
106
106
|
closeTagString(element: Element): string;
|
|
107
107
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class DOMNode {
|
|
|
112
112
|
* @param {string} innerHTML - specifies the string value
|
|
113
113
|
* @returns {string} - returns the string value.
|
|
114
114
|
* @hidden
|
|
115
|
-
|
|
115
|
+
* @deprecated
|
|
116
116
|
*/
|
|
117
117
|
createTagString(tagName: string, relativeElement: Element, innerHTML: string): string;
|
|
118
118
|
/**
|
|
@@ -121,7 +121,7 @@ export declare class DOMNode {
|
|
|
121
121
|
* @param {Element} element - specifes the element.
|
|
122
122
|
* @returns {boolean} - returns the boolean value
|
|
123
123
|
* @hidden
|
|
124
|
-
|
|
124
|
+
* @deprecated
|
|
125
125
|
*/
|
|
126
126
|
isList(element: Element): boolean;
|
|
127
127
|
/**
|
|
@@ -130,7 +130,7 @@ export declare class DOMNode {
|
|
|
130
130
|
* @param {Element} element - specifes the element.
|
|
131
131
|
* @returns {boolean} - returns the boolean value
|
|
132
132
|
* @hidden
|
|
133
|
-
|
|
133
|
+
* @deprecated
|
|
134
134
|
*/
|
|
135
135
|
isElement(element: Element): boolean;
|
|
136
136
|
/**
|
|
@@ -139,7 +139,7 @@ export declare class DOMNode {
|
|
|
139
139
|
* @param {Element} element - specifes the element.
|
|
140
140
|
* @returns {boolean} - returns the boolean value
|
|
141
141
|
* @hidden
|
|
142
|
-
|
|
142
|
+
* @deprecated
|
|
143
143
|
*/
|
|
144
144
|
isEditable(element: Element): boolean;
|
|
145
145
|
/**
|
|
@@ -149,7 +149,7 @@ export declare class DOMNode {
|
|
|
149
149
|
* @param {string} className - specifies the class name value
|
|
150
150
|
* @returns {boolean} - returns the boolean value
|
|
151
151
|
* @hidden
|
|
152
|
-
|
|
152
|
+
* @deprecated
|
|
153
153
|
*/
|
|
154
154
|
hasClass(element: Element, className: string): boolean;
|
|
155
155
|
/**
|
|
@@ -159,7 +159,7 @@ export declare class DOMNode {
|
|
|
159
159
|
* @param {string} value - specifies the string value
|
|
160
160
|
* @returns {void}
|
|
161
161
|
* @hidden
|
|
162
|
-
|
|
162
|
+
* @deprecated
|
|
163
163
|
*/
|
|
164
164
|
replaceWith(element: Element, value: string): void;
|
|
165
165
|
/**
|
|
@@ -168,7 +168,7 @@ export declare class DOMNode {
|
|
|
168
168
|
* @param {string} value - specifies the string value
|
|
169
169
|
* @returns {Element} - returns the element
|
|
170
170
|
* @hidden
|
|
171
|
-
|
|
171
|
+
* @deprecated
|
|
172
172
|
*/
|
|
173
173
|
parseHTMLFragment(value: string): Element;
|
|
174
174
|
/**
|
|
@@ -178,7 +178,7 @@ export declare class DOMNode {
|
|
|
178
178
|
* @param {Element} wrapper - specifies the element.
|
|
179
179
|
* @returns {Element} - returns the element
|
|
180
180
|
* @hidden
|
|
181
|
-
|
|
181
|
+
* @deprecated
|
|
182
182
|
*/
|
|
183
183
|
wrap(element: Element, wrapper: Element): Element;
|
|
184
184
|
/**
|
|
@@ -188,7 +188,7 @@ export declare class DOMNode {
|
|
|
188
188
|
* @param {Element} referenceNode - specifies the referenece node
|
|
189
189
|
* @returns {void}
|
|
190
190
|
* @hidden
|
|
191
|
-
|
|
191
|
+
* @deprecated
|
|
192
192
|
*/
|
|
193
193
|
insertAfter(newNode: Element, referenceNode: Element): void;
|
|
194
194
|
/**
|
|
@@ -198,7 +198,7 @@ export declare class DOMNode {
|
|
|
198
198
|
* @param {Element} wrapper - specifies the wrapper element.
|
|
199
199
|
* @returns {Element} - returns the element
|
|
200
200
|
* @hidden
|
|
201
|
-
|
|
201
|
+
* @deprecated
|
|
202
202
|
*/
|
|
203
203
|
wrapInner(parent: Element, wrapper: Element): Element;
|
|
204
204
|
/**
|
|
@@ -207,7 +207,7 @@ export declare class DOMNode {
|
|
|
207
207
|
* @param {Element} element - specifies the element.
|
|
208
208
|
* @returns {Element} - returns the element.
|
|
209
209
|
* @hidden
|
|
210
|
-
|
|
210
|
+
* @deprecated
|
|
211
211
|
*/
|
|
212
212
|
unWrap(element: Element): Element[];
|
|
213
213
|
/**
|
|
@@ -217,7 +217,7 @@ export declare class DOMNode {
|
|
|
217
217
|
* @param {number} index - specifies the index value.
|
|
218
218
|
* @returns {Element} - returns the element
|
|
219
219
|
* @hidden
|
|
220
|
-
|
|
220
|
+
* @deprecated
|
|
221
221
|
*/
|
|
222
222
|
getSelectedNode(element: Element, index: number): Element;
|
|
223
223
|
/**
|
|
@@ -227,7 +227,7 @@ export declare class DOMNode {
|
|
|
227
227
|
* @param {Element[]} elements - specifies the array of elements
|
|
228
228
|
* @returns {Element[]} - returnts the array elements
|
|
229
229
|
* @hidden
|
|
230
|
-
|
|
230
|
+
* @deprecated
|
|
231
231
|
*/
|
|
232
232
|
nodeFinds(element: Element, elements: Element[]): Element[];
|
|
233
233
|
/**
|
|
@@ -235,7 +235,7 @@ export declare class DOMNode {
|
|
|
235
235
|
*
|
|
236
236
|
* @returns {boolean} - returns the boolean value
|
|
237
237
|
* @hidden
|
|
238
|
-
|
|
238
|
+
* @deprecated
|
|
239
239
|
*/
|
|
240
240
|
isEditorArea(): boolean;
|
|
241
241
|
/**
|
|
@@ -244,7 +244,7 @@ export declare class DOMNode {
|
|
|
244
244
|
* @param {number} point - specifies the number value.
|
|
245
245
|
* @returns {Range} - returns the range.
|
|
246
246
|
* @hidden
|
|
247
|
-
|
|
247
|
+
* @deprecated
|
|
248
248
|
*/
|
|
249
249
|
getRangePoint(point?: number): Range | Range[];
|
|
250
250
|
getSelection(): Selection;
|
|
@@ -254,7 +254,7 @@ export declare class DOMNode {
|
|
|
254
254
|
* @param {Element} element - specifies the element
|
|
255
255
|
* @returns {Element} - returns the element
|
|
256
256
|
* @hidden
|
|
257
|
-
|
|
257
|
+
* @deprecated
|
|
258
258
|
*/
|
|
259
259
|
getPreviousNode(element: Element): Element;
|
|
260
260
|
/**
|
|
@@ -263,7 +263,7 @@ export declare class DOMNode {
|
|
|
263
263
|
* @param {string} value - specifies the string value
|
|
264
264
|
* @returns {string} - specifies the string value
|
|
265
265
|
* @hidden
|
|
266
|
-
|
|
266
|
+
* @deprecated
|
|
267
267
|
*/
|
|
268
268
|
encode(value: string): string;
|
|
269
269
|
/**
|
|
@@ -273,7 +273,7 @@ export declare class DOMNode {
|
|
|
273
273
|
* @param {string} action - specifies the action value.
|
|
274
274
|
* @returns {NodeSelection} - returns the value
|
|
275
275
|
* @hidden
|
|
276
|
-
|
|
276
|
+
* @deprecated
|
|
277
277
|
*/
|
|
278
278
|
saveMarker(save: NodeSelection, action?: string): NodeSelection;
|
|
279
279
|
private marker;
|
|
@@ -283,7 +283,7 @@ export declare class DOMNode {
|
|
|
283
283
|
* @param {NodeSelection} save - specifies the node selection.
|
|
284
284
|
* @returns {void}
|
|
285
285
|
* @hidden
|
|
286
|
-
|
|
286
|
+
* @deprecated
|
|
287
287
|
*/
|
|
288
288
|
setMarker(save: NodeSelection): void;
|
|
289
289
|
/**
|
|
@@ -294,7 +294,7 @@ export declare class DOMNode {
|
|
|
294
294
|
* @param {Range} range - specifies the range value
|
|
295
295
|
* @returns {void}
|
|
296
296
|
* @hidden
|
|
297
|
-
|
|
297
|
+
* @deprecated
|
|
298
298
|
*/
|
|
299
299
|
ensureSelfClosingTag(start: Element, className: string, range: Range): void;
|
|
300
300
|
/**
|
|
@@ -303,7 +303,7 @@ export declare class DOMNode {
|
|
|
303
303
|
* @param {Element} element - specifies the element.
|
|
304
304
|
* @returns {Element} - returns the element
|
|
305
305
|
* @hidden
|
|
306
|
-
|
|
306
|
+
* @deprecated
|
|
307
307
|
*/
|
|
308
308
|
createTempNode(element: Element): Element;
|
|
309
309
|
/**
|
|
@@ -311,16 +311,36 @@ export declare class DOMNode {
|
|
|
311
311
|
*
|
|
312
312
|
* @returns {void}
|
|
313
313
|
* @hidden
|
|
314
|
-
|
|
314
|
+
* @deprecated
|
|
315
315
|
*/
|
|
316
316
|
getImageTagInSelection(): NodeListOf<HTMLImageElement>;
|
|
317
|
+
/**
|
|
318
|
+
* Method to wrap the inline and text node with block node.
|
|
319
|
+
*
|
|
320
|
+
* @param {HTMLElement} node - specifies the element sent to wrap the node around it with block nodes.
|
|
321
|
+
* @param {string} wrapperElement - specifies which block nodes to wrap around.
|
|
322
|
+
* @returns {HTMLElement} - returns the wrapped element.
|
|
323
|
+
* @hidden
|
|
324
|
+
* @deprecated
|
|
325
|
+
*/
|
|
326
|
+
gatherElementsAround(node: HTMLElement, wrapperElement: string): HTMLElement;
|
|
327
|
+
/**
|
|
328
|
+
* Method to convert all the inline nodes between the selection to block nodes.
|
|
329
|
+
*
|
|
330
|
+
* @param {Node[]} selectedNodes - specifies the nodes of the start and end selection.
|
|
331
|
+
* @param {boolean} fromList - specifies if the method is called from list module.
|
|
332
|
+
* @returns {Node[]} - returns the selected list of elements as block nodes.
|
|
333
|
+
* @hidden
|
|
334
|
+
* @deprecated
|
|
335
|
+
*/
|
|
336
|
+
convertToBlockNodes(selectedNodes: Node[], fromList: boolean): Node[];
|
|
317
337
|
/**
|
|
318
338
|
* blockNodes method
|
|
319
339
|
*
|
|
320
340
|
* @param {boolean} action - Optional Boolean that specifies the action is whether performed.
|
|
321
341
|
* @returns {Node[]} - returns the node array values
|
|
322
342
|
* @hidden
|
|
323
|
-
|
|
343
|
+
* @deprecated
|
|
324
344
|
*/
|
|
325
345
|
blockNodes(action?: boolean): Node[];
|
|
326
346
|
private ignoreTableTag;
|