@syncfusion/ej2-richtexteditor 25.1.40 → 25.1.41-85815
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 -1973
- 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 +760 -307
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +861 -405
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/ej2-richtexteditor-component.sln +30 -0
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/rte-helper.js +13 -13
- package/license +9 -9
- package/package.json +74 -74
- package/src/common/interface.d.ts +22 -8
- package/src/common/util.d.ts +8 -0
- package/src/common/util.js +56 -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 +13 -4
- 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 +84 -61
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +4 -4
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +8 -8
- 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 +9 -7
- 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 +2 -2
- package/src/rich-text-editor/actions/enter-key.d.ts +5 -0
- package/src/rich-text-editor/actions/enter-key.js +107 -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 +5 -3
- package/src/rich-text-editor/actions/html-editor.js +106 -26
- 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 +57 -16
- 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 +5 -5
- package/src/rich-text-editor/base/enum.js +10 -10
- package/src/rich-text-editor/base/interface.d.ts +53 -53
- 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 +89 -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 +18 -18
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +13 -8
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +4 -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 +6 -2
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +11 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +23 -19
- 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 +739 -801
- package/styles/bootstrap-dark.scss +4 -1
- package/styles/bootstrap.css +723 -801
- package/styles/bootstrap.scss +4 -1
- package/styles/bootstrap4.css +726 -803
- package/styles/bootstrap4.scss +4 -1
- package/styles/bootstrap5-dark.css +750 -840
- package/styles/bootstrap5-dark.scss +4 -1
- package/styles/bootstrap5.css +749 -839
- package/styles/bootstrap5.scss +4 -1
- package/styles/fabric-dark.css +724 -797
- package/styles/fabric-dark.scss +4 -1
- package/styles/fabric.css +720 -797
- package/styles/fabric.scss +4 -1
- package/styles/fluent-dark.css +727 -820
- package/styles/fluent-dark.scss +4 -1
- package/styles/fluent.css +726 -819
- package/styles/fluent.scss +4 -1
- package/styles/fluent2.css +4255 -0
- package/styles/fluent2.scss +4 -0
- package/styles/highcontrast-light.css +695 -795
- package/styles/highcontrast-light.scss +4 -1
- package/styles/highcontrast.css +717 -797
- package/styles/highcontrast.scss +4 -1
- package/styles/material-dark.css +716 -798
- package/styles/material-dark.scss +4 -1
- package/styles/material.css +713 -800
- package/styles/material.scss +4 -1
- package/styles/material3-dark.css +751 -857
- package/styles/material3-dark.scss +4 -1
- package/styles/material3.css +751 -857
- package/styles/material3.scss +4 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bds-definition.scss +290 -285
- package/styles/rich-text-editor/_bigger.scss +610 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +291 -287
- package/styles/rich-text-editor/_bootstrap-definition.scss +349 -343
- package/styles/rich-text-editor/_bootstrap4-definition.scss +476 -470
- package/styles/rich-text-editor/_bootstrap5-definition.scss +278 -272
- package/styles/rich-text-editor/_bootstrap5.3-definition.scss +278 -0
- package/styles/rich-text-editor/_fabric-dark-definition.scss +275 -269
- package/styles/rich-text-editor/_fabric-definition.scss +273 -267
- package/styles/rich-text-editor/_fluent-definition.scss +279 -273
- package/styles/rich-text-editor/_fluent2-definition.scss +287 -0
- package/styles/rich-text-editor/_fusionnew-definition.scss +276 -271
- package/styles/rich-text-editor/_highcontrast-definition.scss +274 -267
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +273 -267
- package/styles/rich-text-editor/_layout.scss +2175 -2268
- package/styles/rich-text-editor/_material-dark-definition.scss +278 -272
- package/styles/rich-text-editor/_material-definition.scss +276 -270
- package/styles/rich-text-editor/_material3-definition.scss +278 -272
- package/styles/rich-text-editor/_tailwind-definition.scss +273 -267
- package/styles/rich-text-editor/_tailwind4-definition.scss +278 -0
- package/styles/rich-text-editor/_theme.scss +844 -927
- package/styles/rich-text-editor/bootstrap-dark.css +739 -801
- package/styles/rich-text-editor/bootstrap.css +723 -801
- package/styles/rich-text-editor/bootstrap4.css +726 -803
- package/styles/rich-text-editor/bootstrap5-dark.css +750 -840
- package/styles/rich-text-editor/bootstrap5.css +749 -839
- package/styles/rich-text-editor/fabric-dark.css +724 -797
- package/styles/rich-text-editor/fabric.css +720 -797
- package/styles/rich-text-editor/fluent-dark.css +727 -820
- package/styles/rich-text-editor/fluent.css +726 -819
- package/styles/rich-text-editor/fluent2.css +4255 -0
- package/styles/rich-text-editor/fluent2.scss +4 -0
- package/styles/rich-text-editor/highcontrast-light.css +695 -795
- package/styles/rich-text-editor/highcontrast.css +717 -797
- 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 +373 -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/icons/_tailwind4.scss +372 -0
- package/styles/rich-text-editor/material-dark.css +716 -798
- package/styles/rich-text-editor/material.css +713 -800
- package/styles/rich-text-editor/material3-dark.css +751 -857
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +751 -857
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +740 -829
- package/styles/rich-text-editor/tailwind.css +740 -829
- package/styles/tailwind-dark.css +740 -829
- package/styles/tailwind-dark.scss +4 -1
- package/styles/tailwind.css +740 -829
- 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
|
@@ -21,7 +21,7 @@ export declare class NodeSelection {
|
|
|
21
21
|
* @param {Document} docElement - specifies the get function
|
|
22
22
|
* @returns {void}
|
|
23
23
|
* @hidden
|
|
24
|
-
|
|
24
|
+
* @deprecated
|
|
25
25
|
*/
|
|
26
26
|
get(docElement: Document): Selection;
|
|
27
27
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class NodeSelection {
|
|
|
31
31
|
* @param {Document} docElement - specifies the document.
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
save(range: Range, docElement: Document): NodeSelection;
|
|
37
37
|
/**
|
|
@@ -40,7 +40,7 @@ export declare class NodeSelection {
|
|
|
40
40
|
* @param {Node} node - specifies the node value.
|
|
41
41
|
* @returns {void}
|
|
42
42
|
* @hidden
|
|
43
|
-
|
|
43
|
+
* @deprecated
|
|
44
44
|
*/
|
|
45
45
|
getIndex(node: Node): number;
|
|
46
46
|
private isChildNode;
|
|
@@ -51,7 +51,7 @@ export declare class NodeSelection {
|
|
|
51
51
|
* @param {Range} range -specifies the range.
|
|
52
52
|
* @returns {void}
|
|
53
53
|
* @hidden
|
|
54
|
-
|
|
54
|
+
* @deprecated
|
|
55
55
|
*/
|
|
56
56
|
getNodeCollection(range: Range): Node[];
|
|
57
57
|
/**
|
|
@@ -60,7 +60,7 @@ export declare class NodeSelection {
|
|
|
60
60
|
* @param {Range} range - specifies the range value.
|
|
61
61
|
* @returns {void}
|
|
62
62
|
* @hidden
|
|
63
|
-
|
|
63
|
+
* @deprecated
|
|
64
64
|
*/
|
|
65
65
|
getParentNodeCollection(range: Range): Node[];
|
|
66
66
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class NodeSelection {
|
|
|
70
70
|
* @param {Range} range - specifies the range values.
|
|
71
71
|
* @returns {void}
|
|
72
72
|
* @hidden
|
|
73
|
-
|
|
73
|
+
* @deprecated
|
|
74
74
|
*/
|
|
75
75
|
getParentNodes(nodeCollection: Node[], range: Range): Node[];
|
|
76
76
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class NodeSelection {
|
|
|
79
79
|
* @param {Range} range - specifies the range value.
|
|
80
80
|
* @returns {void}
|
|
81
81
|
* @hidden
|
|
82
|
-
|
|
82
|
+
* @deprecated
|
|
83
83
|
*/
|
|
84
84
|
getSelectionNodeCollection(range: Range): Node[];
|
|
85
85
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class NodeSelection {
|
|
|
88
88
|
* @param {Range} range - specifies the range value.
|
|
89
89
|
* @returns {void}
|
|
90
90
|
* @hidden
|
|
91
|
-
|
|
91
|
+
* @deprecated
|
|
92
92
|
*/
|
|
93
93
|
getSelectionNodeCollectionBr(range: Range): Node[];
|
|
94
94
|
/**
|
|
@@ -97,7 +97,7 @@ export declare class NodeSelection {
|
|
|
97
97
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
98
98
|
* @returns {void}
|
|
99
99
|
* @hidden
|
|
100
|
-
|
|
100
|
+
* @deprecated
|
|
101
101
|
*/
|
|
102
102
|
getSelectionNodes(nodeCollection: Node[]): Node[];
|
|
103
103
|
/**
|
|
@@ -106,7 +106,7 @@ export declare class NodeSelection {
|
|
|
106
106
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
107
107
|
* @returns {void}
|
|
108
108
|
* @hidden
|
|
109
|
-
|
|
109
|
+
* @deprecated
|
|
110
110
|
*/
|
|
111
111
|
getSelectionNodesBr(nodeCollection: Node[]): Node[];
|
|
112
112
|
/**
|
|
@@ -115,7 +115,7 @@ export declare class NodeSelection {
|
|
|
115
115
|
* @param {Range} range - specifies the range value.
|
|
116
116
|
* @returns {void}
|
|
117
117
|
* @hidden
|
|
118
|
-
|
|
118
|
+
* @deprecated
|
|
119
119
|
*/
|
|
120
120
|
getInsertNodeCollection(range: Range): Node[];
|
|
121
121
|
/**
|
|
@@ -124,7 +124,7 @@ export declare class NodeSelection {
|
|
|
124
124
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
125
125
|
* @returns {void}
|
|
126
126
|
* @hidden
|
|
127
|
-
|
|
127
|
+
* @deprecated
|
|
128
128
|
*/
|
|
129
129
|
getInsertNodes(nodeCollection: Node[]): Node[];
|
|
130
130
|
/**
|
|
@@ -135,7 +135,7 @@ export declare class NodeSelection {
|
|
|
135
135
|
* @param {Document} root - specifies the root document.
|
|
136
136
|
* @returns {void}
|
|
137
137
|
* @hidden
|
|
138
|
-
|
|
138
|
+
* @deprecated
|
|
139
139
|
*/
|
|
140
140
|
getNodeArray(node: Node, isStart: boolean, root?: Document): number[];
|
|
141
141
|
private setRangePoint;
|
|
@@ -144,7 +144,7 @@ export declare class NodeSelection {
|
|
|
144
144
|
*
|
|
145
145
|
* @returns {void}
|
|
146
146
|
* @hidden
|
|
147
|
-
|
|
147
|
+
* @deprecated
|
|
148
148
|
*/
|
|
149
149
|
restore(): Range;
|
|
150
150
|
selectRange(docElement: Document, range: Range): void;
|
|
@@ -155,7 +155,7 @@ export declare class NodeSelection {
|
|
|
155
155
|
* @param {Range} range - specifies the range.
|
|
156
156
|
* @returns {void}
|
|
157
157
|
* @hidden
|
|
158
|
-
|
|
158
|
+
* @deprecated
|
|
159
159
|
*/
|
|
160
160
|
setRange(docElement: Document, range: Range): void;
|
|
161
161
|
/**
|
|
@@ -168,7 +168,7 @@ export declare class NodeSelection {
|
|
|
168
168
|
* @param {number} endIndex - specifies the end index.
|
|
169
169
|
* @returns {void}
|
|
170
170
|
* @hidden
|
|
171
|
-
|
|
171
|
+
* @deprecated
|
|
172
172
|
*/
|
|
173
173
|
setSelectionText(docElement: Document, startNode: Node, endNode: Node, startIndex: number, endIndex: number): void;
|
|
174
174
|
/**
|
|
@@ -178,7 +178,7 @@ export declare class NodeSelection {
|
|
|
178
178
|
* @param {Node} element - specifies the node.
|
|
179
179
|
* @returns {void}
|
|
180
180
|
* @hidden
|
|
181
|
-
|
|
181
|
+
* @deprecated
|
|
182
182
|
*/
|
|
183
183
|
setSelectionContents(docElement: Document, element: Node): void;
|
|
184
184
|
/**
|
|
@@ -188,7 +188,7 @@ export declare class NodeSelection {
|
|
|
188
188
|
* @param {Node} element - specifies the node.
|
|
189
189
|
* @returns {void}
|
|
190
190
|
* @hidden
|
|
191
|
-
|
|
191
|
+
* @deprecated
|
|
192
192
|
*/
|
|
193
193
|
setSelectionNode(docElement: Document, element: Node): void;
|
|
194
194
|
/**
|
|
@@ -197,7 +197,7 @@ export declare class NodeSelection {
|
|
|
197
197
|
* @param {Document} docElement - specifies the document.
|
|
198
198
|
* @returns {void}
|
|
199
199
|
* @hidden
|
|
200
|
-
|
|
200
|
+
* @deprecated
|
|
201
201
|
*/
|
|
202
202
|
getSelectedNodes(docElement: Document): Node[];
|
|
203
203
|
/**
|
|
@@ -206,7 +206,7 @@ export declare class NodeSelection {
|
|
|
206
206
|
* @param {Document} docElement - specifies the document.
|
|
207
207
|
* @returns {void}
|
|
208
208
|
* @hidden
|
|
209
|
-
|
|
209
|
+
* @deprecated
|
|
210
210
|
*/
|
|
211
211
|
Clear(docElement: Document): void;
|
|
212
212
|
/**
|
|
@@ -217,7 +217,7 @@ export declare class NodeSelection {
|
|
|
217
217
|
* @param {Range} range - specifies the range.
|
|
218
218
|
* @returns {void}
|
|
219
219
|
* @hidden
|
|
220
|
-
|
|
220
|
+
* @deprecated
|
|
221
221
|
*/
|
|
222
222
|
insertParentNode(docElement: Document, newNode: Node, range: Range): void;
|
|
223
223
|
/**
|
|
@@ -228,7 +228,7 @@ export declare class NodeSelection {
|
|
|
228
228
|
* @param {number} point - specifies the point.
|
|
229
229
|
* @returns {void}
|
|
230
230
|
* @hidden
|
|
231
|
-
|
|
231
|
+
* @deprecated
|
|
232
232
|
*/
|
|
233
233
|
setCursorPoint(docElement: Document, element: Element, point: number): void;
|
|
234
234
|
}
|
|
@@ -35,7 +35,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
35
35
|
* @param {Document} docElement - specifies the get function
|
|
36
36
|
* @returns {void}
|
|
37
37
|
* @hidden
|
|
38
|
-
|
|
38
|
+
* @deprecated
|
|
39
39
|
*/
|
|
40
40
|
NodeSelection.prototype.get = function (docElement) {
|
|
41
41
|
return docElement.defaultView.getSelection();
|
|
@@ -47,7 +47,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
47
47
|
* @param {Document} docElement - specifies the document.
|
|
48
48
|
* @returns {void}
|
|
49
49
|
* @hidden
|
|
50
|
-
|
|
50
|
+
* @deprecated
|
|
51
51
|
*/
|
|
52
52
|
NodeSelection.prototype.save = function (range, docElement) {
|
|
53
53
|
range = (range) ? range.cloneRange() : this.getRange(docElement);
|
|
@@ -59,7 +59,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
59
59
|
* @param {Node} node - specifies the node value.
|
|
60
60
|
* @returns {void}
|
|
61
61
|
* @hidden
|
|
62
|
-
|
|
62
|
+
* @deprecated
|
|
63
63
|
*/
|
|
64
64
|
NodeSelection.prototype.getIndex = function (node) {
|
|
65
65
|
var index;
|
|
@@ -112,7 +112,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
112
112
|
* @param {Range} range -specifies the range.
|
|
113
113
|
* @returns {void}
|
|
114
114
|
* @hidden
|
|
115
|
-
|
|
115
|
+
* @deprecated
|
|
116
116
|
*/
|
|
117
117
|
NodeSelection.prototype.getNodeCollection = function (range) {
|
|
118
118
|
var startNode = range.startContainer.childNodes[range.startOffset]
|
|
@@ -141,7 +141,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
141
141
|
* @param {Range} range - specifies the range value.
|
|
142
142
|
* @returns {void}
|
|
143
143
|
* @hidden
|
|
144
|
-
|
|
144
|
+
* @deprecated
|
|
145
145
|
*/
|
|
146
146
|
NodeSelection.prototype.getParentNodeCollection = function (range) {
|
|
147
147
|
return this.getParentNodes(this.getNodeCollection(range), range);
|
|
@@ -153,7 +153,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
153
153
|
* @param {Range} range - specifies the range values.
|
|
154
154
|
* @returns {void}
|
|
155
155
|
* @hidden
|
|
156
|
-
|
|
156
|
+
* @deprecated
|
|
157
157
|
*/
|
|
158
158
|
NodeSelection.prototype.getParentNodes = function (nodeCollection, range) {
|
|
159
159
|
nodeCollection = nodeCollection.reverse();
|
|
@@ -177,7 +177,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
177
177
|
* @param {Range} range - specifies the range value.
|
|
178
178
|
* @returns {void}
|
|
179
179
|
* @hidden
|
|
180
|
-
|
|
180
|
+
* @deprecated
|
|
181
181
|
*/
|
|
182
182
|
NodeSelection.prototype.getSelectionNodeCollection = function (range) {
|
|
183
183
|
return this.getSelectionNodes(this.getNodeCollection(range));
|
|
@@ -188,7 +188,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
188
188
|
* @param {Range} range - specifies the range value.
|
|
189
189
|
* @returns {void}
|
|
190
190
|
* @hidden
|
|
191
|
-
|
|
191
|
+
* @deprecated
|
|
192
192
|
*/
|
|
193
193
|
NodeSelection.prototype.getSelectionNodeCollectionBr = function (range) {
|
|
194
194
|
return this.getSelectionNodesBr(this.getNodeCollection(range));
|
|
@@ -199,7 +199,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
199
199
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
200
200
|
* @returns {void}
|
|
201
201
|
* @hidden
|
|
202
|
-
|
|
202
|
+
* @deprecated
|
|
203
203
|
*/
|
|
204
204
|
NodeSelection.prototype.getSelectionNodes = function (nodeCollection) {
|
|
205
205
|
nodeCollection = nodeCollection.reverse();
|
|
@@ -220,7 +220,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
220
220
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
221
221
|
* @returns {void}
|
|
222
222
|
* @hidden
|
|
223
|
-
|
|
223
|
+
* @deprecated
|
|
224
224
|
*/
|
|
225
225
|
NodeSelection.prototype.getSelectionNodesBr = function (nodeCollection) {
|
|
226
226
|
nodeCollection = nodeCollection.reverse();
|
|
@@ -242,7 +242,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
242
242
|
* @param {Range} range - specifies the range value.
|
|
243
243
|
* @returns {void}
|
|
244
244
|
* @hidden
|
|
245
|
-
|
|
245
|
+
* @deprecated
|
|
246
246
|
*/
|
|
247
247
|
NodeSelection.prototype.getInsertNodeCollection = function (range) {
|
|
248
248
|
return this.getInsertNodes(this.getNodeCollection(range));
|
|
@@ -253,7 +253,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
253
253
|
* @param {Node[]} nodeCollection - specifies the collection of nodes.
|
|
254
254
|
* @returns {void}
|
|
255
255
|
* @hidden
|
|
256
|
-
|
|
256
|
+
* @deprecated
|
|
257
257
|
*/
|
|
258
258
|
NodeSelection.prototype.getInsertNodes = function (nodeCollection) {
|
|
259
259
|
nodeCollection = nodeCollection.reverse();
|
|
@@ -276,7 +276,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
276
276
|
* @param {Document} root - specifies the root document.
|
|
277
277
|
* @returns {void}
|
|
278
278
|
* @hidden
|
|
279
|
-
|
|
279
|
+
* @deprecated
|
|
280
280
|
*/
|
|
281
281
|
NodeSelection.prototype.getNodeArray = function (node, isStart, root) {
|
|
282
282
|
var array = [];
|
|
@@ -313,7 +313,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
313
313
|
*
|
|
314
314
|
* @returns {void}
|
|
315
315
|
* @hidden
|
|
316
|
-
|
|
316
|
+
* @deprecated
|
|
317
317
|
*/
|
|
318
318
|
NodeSelection.prototype.restore = function () {
|
|
319
319
|
var range = this.range.cloneRange();
|
|
@@ -333,7 +333,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
333
333
|
* @param {Range} range - specifies the range.
|
|
334
334
|
* @returns {void}
|
|
335
335
|
* @hidden
|
|
336
|
-
|
|
336
|
+
* @deprecated
|
|
337
337
|
*/
|
|
338
338
|
NodeSelection.prototype.setRange = function (docElement, range) {
|
|
339
339
|
var selection = this.get(docElement);
|
|
@@ -350,7 +350,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
350
350
|
* @param {number} endIndex - specifies the end index.
|
|
351
351
|
* @returns {void}
|
|
352
352
|
* @hidden
|
|
353
|
-
|
|
353
|
+
* @deprecated
|
|
354
354
|
*/
|
|
355
355
|
NodeSelection.prototype.setSelectionText = function (docElement, startNode, endNode, startIndex, endIndex) {
|
|
356
356
|
var range = docElement.createRange();
|
|
@@ -365,7 +365,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
365
365
|
* @param {Node} element - specifies the node.
|
|
366
366
|
* @returns {void}
|
|
367
367
|
* @hidden
|
|
368
|
-
|
|
368
|
+
* @deprecated
|
|
369
369
|
*/
|
|
370
370
|
NodeSelection.prototype.setSelectionContents = function (docElement, element) {
|
|
371
371
|
var range = docElement.createRange();
|
|
@@ -379,7 +379,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
379
379
|
* @param {Node} element - specifies the node.
|
|
380
380
|
* @returns {void}
|
|
381
381
|
* @hidden
|
|
382
|
-
|
|
382
|
+
* @deprecated
|
|
383
383
|
*/
|
|
384
384
|
NodeSelection.prototype.setSelectionNode = function (docElement, element) {
|
|
385
385
|
var range = docElement.createRange();
|
|
@@ -392,7 +392,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
392
392
|
* @param {Document} docElement - specifies the document.
|
|
393
393
|
* @returns {void}
|
|
394
394
|
* @hidden
|
|
395
|
-
|
|
395
|
+
* @deprecated
|
|
396
396
|
*/
|
|
397
397
|
NodeSelection.prototype.getSelectedNodes = function (docElement) {
|
|
398
398
|
return this.getNodeCollection(this.getRange(docElement));
|
|
@@ -403,7 +403,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
403
403
|
* @param {Document} docElement - specifies the document.
|
|
404
404
|
* @returns {void}
|
|
405
405
|
* @hidden
|
|
406
|
-
|
|
406
|
+
* @deprecated
|
|
407
407
|
*/
|
|
408
408
|
NodeSelection.prototype.Clear = function (docElement) {
|
|
409
409
|
this.get(docElement).removeAllRanges();
|
|
@@ -416,7 +416,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
416
416
|
* @param {Range} range - specifies the range.
|
|
417
417
|
* @returns {void}
|
|
418
418
|
* @hidden
|
|
419
|
-
|
|
419
|
+
* @deprecated
|
|
420
420
|
*/
|
|
421
421
|
NodeSelection.prototype.insertParentNode = function (docElement, newNode, range) {
|
|
422
422
|
range.surroundContents(newNode);
|
|
@@ -430,7 +430,7 @@ var NodeSelection = /** @class */ (function () {
|
|
|
430
430
|
* @param {number} point - specifies the point.
|
|
431
431
|
* @returns {void}
|
|
432
432
|
* @hidden
|
|
433
|
-
|
|
433
|
+
* @deprecated
|
|
434
434
|
*/
|
|
435
435
|
NodeSelection.prototype.setCursorPoint = function (docElement, element, point) {
|
|
436
436
|
var range = docElement.createRange();
|
package/styles/_all.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import 'rich-text-editor/all.scss';
|
|
1
|
+
@import 'rich-text-editor/all.scss';
|