@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
|
@@ -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';
|