@syncfusion/ej2-richtexteditor 27.1.55 → 27.1.57-637882
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +4 -4
- package/.eslintrc.json +260 -260
- package/README.md +76 -76
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +994 -749
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +622 -364
- 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 +85 -85
- package/src/common/editor-styles.js +1 -1
- package/src/common/interface.d.ts +10 -8
- package/src/common/util.js +2 -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/constant.d.ts +4 -0
- package/src/editor-manager/base/constant.js +4 -0
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +9 -9
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/audio.d.ts +3 -3
- package/src/editor-manager/plugin/audio.js +3 -3
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +36 -36
- package/src/editor-manager/plugin/dom-node.js +36 -36
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
- package/src/editor-manager/plugin/format-painter-actions.js +1 -1
- package/src/editor-manager/plugin/formats.d.ts +3 -2
- package/src/editor-manager/plugin/formats.js +27 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +11 -5
- 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 +4 -2
- package/src/editor-manager/plugin/inserthtml.js +98 -19
- package/src/editor-manager/plugin/isformatted.d.ts +9 -9
- package/src/editor-manager/plugin/isformatted.js +9 -9
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +2 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +17 -1
- 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 +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.js +10 -2
- 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 +21 -5
- 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 +49 -22
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/resize.js +4 -0
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +158 -158
- package/src/rich-text-editor/base/constant.js +158 -158
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +51 -51
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +958 -958
- package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
- package/src/rich-text-editor/base/rich-text-editor.js +68 -65
- 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/default-locale.js +5 -5
- package/src/rich-text-editor/models/iframe-settings-model.d.ts +38 -38
- 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/slash-menu-settings-model.d.ts +25 -25
- package/src/rich-text-editor/models/slash-menu-settings.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +807 -807
- 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 +8 -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 +65 -23
- 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/slash-menu.js +9 -0
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +5 -4
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +8 -2
- package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
- package/src/rich-text-editor/renderer/view-source.js +5 -5
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +24 -23
- package/src/selection/selection.js +37 -34
- package/styles/_all.scss +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bds-definition.scss +290 -290
- package/styles/rich-text-editor/_bigger.scss +610 -610
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +291 -291
- package/styles/rich-text-editor/_bootstrap-definition.scss +349 -349
- package/styles/rich-text-editor/_bootstrap4-definition.scss +476 -476
- package/styles/rich-text-editor/_bootstrap5-definition.scss +278 -278
- package/styles/rich-text-editor/_bootstrap5.3-definition.scss +278 -278
- package/styles/rich-text-editor/_fabric-dark-definition.scss +275 -275
- package/styles/rich-text-editor/_fabric-definition.scss +273 -273
- package/styles/rich-text-editor/_fluent-definition.scss +279 -279
- package/styles/rich-text-editor/_fluent2-definition.scss +287 -287
- package/styles/rich-text-editor/_fusionnew-definition.scss +276 -276
- package/styles/rich-text-editor/_highcontrast-definition.scss +274 -274
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +273 -273
- package/styles/rich-text-editor/_layout.scss +2180 -2180
- package/styles/rich-text-editor/_material-dark-definition.scss +278 -278
- package/styles/rich-text-editor/_material-definition.scss +276 -276
- package/styles/rich-text-editor/_material3-definition.scss +278 -278
- package/styles/rich-text-editor/_tailwind-definition.scss +273 -273
- package/styles/rich-text-editor/_theme.scss +844 -844
- package/styles/rich-text-editor/icons/_bds.scss +372 -372
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -373
- package/styles/rich-text-editor/icons/_bootstrap.scss +373 -373
- package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -373
- package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -372
- package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -372
- package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -373
- package/styles/rich-text-editor/icons/_fabric.scss +373 -373
- package/styles/rich-text-editor/icons/_fluent.scss +372 -372
- package/styles/rich-text-editor/icons/_fluent2.scss +369 -369
- package/styles/rich-text-editor/icons/_fusionnew.scss +357 -357
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -361
- package/styles/rich-text-editor/icons/_highcontrast.scss +373 -373
- package/styles/rich-text-editor/icons/_material-dark.scss +373 -373
- package/styles/rich-text-editor/icons/_material.scss +373 -373
- package/styles/rich-text-editor/icons/_material3.scss +372 -372
- package/styles/rich-text-editor/icons/_tailwind.scss +372 -372
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
- package/dist/ej2-richtexteditor.min.js +0 -10
- package/dist/global/ej2-richtexteditor.min.js +0 -11
- package/dist/global/ej2-richtexteditor.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -12,7 +12,7 @@ export var markerClassName = {
|
|
|
12
12
|
* DOMNode internal plugin
|
|
13
13
|
*
|
|
14
14
|
* @hidden
|
|
15
|
-
|
|
15
|
+
* @deprecated
|
|
16
16
|
*/
|
|
17
17
|
var DOMNode = /** @class */ (function () {
|
|
18
18
|
/**
|
|
@@ -21,7 +21,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
21
21
|
* @param {Element} parent - specifies the parent element
|
|
22
22
|
* @param {Document} currentDocument - specifies the current document.
|
|
23
23
|
* @hidden
|
|
24
|
-
|
|
24
|
+
* @deprecated
|
|
25
25
|
*/
|
|
26
26
|
function DOMNode(parent, currentDocument) {
|
|
27
27
|
this.parent = parent;
|
|
@@ -35,7 +35,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
35
35
|
* @param {Element} element - specifies the element.
|
|
36
36
|
* @returns {void}
|
|
37
37
|
* @hidden
|
|
38
|
-
|
|
38
|
+
* @deprecated
|
|
39
39
|
*/
|
|
40
40
|
DOMNode.prototype.contents = function (element) {
|
|
41
41
|
return (element && 'IFRAME' !== element.tagName ? Array.prototype.slice.call(element.childNodes || []) : []);
|
|
@@ -46,7 +46,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
46
46
|
* @param {Element} element - specifies the node element.
|
|
47
47
|
* @returns {boolean} - sepcifies the boolean value
|
|
48
48
|
* @hidden
|
|
49
|
-
|
|
49
|
+
* @deprecated
|
|
50
50
|
*/
|
|
51
51
|
DOMNode.prototype.isBlockNode = function (element) {
|
|
52
52
|
return (!!element && (element.nodeType === Node.ELEMENT_NODE && CONSTANT.BLOCK_TAGS.indexOf(element.tagName.toLowerCase()) >= 0));
|
|
@@ -57,7 +57,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
57
57
|
* @param {Element} element - specifies the element
|
|
58
58
|
* @returns {boolean} - specifies the boolean value
|
|
59
59
|
* @hidden
|
|
60
|
-
|
|
60
|
+
* @deprecated
|
|
61
61
|
*/
|
|
62
62
|
DOMNode.prototype.isLink = function (element) {
|
|
63
63
|
return (!!element && (element.nodeType === Node.ELEMENT_NODE && 'a' === element.tagName.toLowerCase()));
|
|
@@ -68,7 +68,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
68
68
|
* @param {Element} element - specifies the element
|
|
69
69
|
* @returns {Element} - returns the element value
|
|
70
70
|
* @hidden
|
|
71
|
-
|
|
71
|
+
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
DOMNode.prototype.blockParentNode = function (element) {
|
|
74
74
|
for (; element && element.parentNode !== this.parent && ((!element.parentNode ||
|
|
@@ -86,7 +86,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
86
86
|
* @param {Element} element - specifies the element
|
|
87
87
|
* @returns {string} - returns the string value
|
|
88
88
|
* @hidden
|
|
89
|
-
|
|
89
|
+
* @deprecated
|
|
90
90
|
*/
|
|
91
91
|
DOMNode.prototype.rawAttributes = function (element) {
|
|
92
92
|
var rawAttr = {};
|
|
@@ -105,7 +105,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
105
105
|
* @param {Element} element - sepcifies the element.
|
|
106
106
|
* @returns {string} - returns the string value.
|
|
107
107
|
* @hidden
|
|
108
|
-
|
|
108
|
+
* @deprecated
|
|
109
109
|
*/
|
|
110
110
|
DOMNode.prototype.attributes = function (element) {
|
|
111
111
|
if (!element) {
|
|
@@ -138,7 +138,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
138
138
|
* @param {Element} element - specifies the element
|
|
139
139
|
* @returns {void}
|
|
140
140
|
* @hidden
|
|
141
|
-
|
|
141
|
+
* @deprecated
|
|
142
142
|
*/
|
|
143
143
|
DOMNode.prototype.clearAttributes = function (element) {
|
|
144
144
|
for (var attr = element.attributes, c = attr.length - 1; c >= 0; c--) {
|
|
@@ -152,7 +152,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
152
152
|
* @param {Element} element - specifies the element.
|
|
153
153
|
* @returns {string} - returns the string
|
|
154
154
|
* @hidden
|
|
155
|
-
|
|
155
|
+
* @deprecated
|
|
156
156
|
*/
|
|
157
157
|
DOMNode.prototype.openTagString = function (element) {
|
|
158
158
|
return '<' + element.tagName.toLowerCase() + this.attributes(element) + '>';
|
|
@@ -163,7 +163,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
163
163
|
* @param {Element} element - specifies the element
|
|
164
164
|
* @returns {string} - returns the string value
|
|
165
165
|
* @hidden
|
|
166
|
-
|
|
166
|
+
* @deprecated
|
|
167
167
|
*/
|
|
168
168
|
DOMNode.prototype.closeTagString = function (element) {
|
|
169
169
|
return '</' + element.tagName.toLowerCase() + '>';
|
|
@@ -176,7 +176,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
176
176
|
* @param {string} innerHTML - specifies the string value
|
|
177
177
|
* @returns {string} - returns the string value.
|
|
178
178
|
* @hidden
|
|
179
|
-
|
|
179
|
+
* @deprecated
|
|
180
180
|
*/
|
|
181
181
|
DOMNode.prototype.createTagString = function (tagName, relativeElement, innerHTML) {
|
|
182
182
|
return '<' + tagName.toLowerCase() + this.attributes(relativeElement) + '>' + innerHTML + '</' + tagName.toLowerCase() + '>';
|
|
@@ -187,7 +187,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
187
187
|
* @param {Element} element - specifes the element.
|
|
188
188
|
* @returns {boolean} - returns the boolean value
|
|
189
189
|
* @hidden
|
|
190
|
-
|
|
190
|
+
* @deprecated
|
|
191
191
|
*/
|
|
192
192
|
DOMNode.prototype.isList = function (element) {
|
|
193
193
|
return !!element && ['UL', 'OL'].indexOf(element.tagName) >= 0;
|
|
@@ -198,7 +198,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
198
198
|
* @param {Element} element - specifes the element.
|
|
199
199
|
* @returns {boolean} - returns the boolean value
|
|
200
200
|
* @hidden
|
|
201
|
-
|
|
201
|
+
* @deprecated
|
|
202
202
|
*/
|
|
203
203
|
DOMNode.prototype.isElement = function (element) {
|
|
204
204
|
return element === this.parent;
|
|
@@ -209,7 +209,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
209
209
|
* @param {Element} element - specifes the element.
|
|
210
210
|
* @returns {boolean} - returns the boolean value
|
|
211
211
|
* @hidden
|
|
212
|
-
|
|
212
|
+
* @deprecated
|
|
213
213
|
*/
|
|
214
214
|
DOMNode.prototype.isEditable = function (element) {
|
|
215
215
|
return ((!element.getAttribute || element.getAttribute('contenteditable') === 'true')
|
|
@@ -222,7 +222,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
222
222
|
* @param {string} className - specifies the class name value
|
|
223
223
|
* @returns {boolean} - returns the boolean value
|
|
224
224
|
* @hidden
|
|
225
|
-
|
|
225
|
+
* @deprecated
|
|
226
226
|
*/
|
|
227
227
|
DOMNode.prototype.hasClass = function (element, className) {
|
|
228
228
|
return element && element.classList && element.classList.contains(className);
|
|
@@ -234,7 +234,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
234
234
|
* @param {string} value - specifies the string value
|
|
235
235
|
* @returns {void}
|
|
236
236
|
* @hidden
|
|
237
|
-
|
|
237
|
+
* @deprecated
|
|
238
238
|
*/
|
|
239
239
|
DOMNode.prototype.replaceWith = function (element, value) {
|
|
240
240
|
var parentNode = element.parentNode;
|
|
@@ -247,7 +247,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
247
247
|
* @param {string} value - specifies the string value
|
|
248
248
|
* @returns {Element} - returns the element
|
|
249
249
|
* @hidden
|
|
250
|
-
|
|
250
|
+
* @deprecated
|
|
251
251
|
*/
|
|
252
252
|
DOMNode.prototype.parseHTMLFragment = function (value) {
|
|
253
253
|
/* eslint-disable */
|
|
@@ -268,7 +268,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
268
268
|
* @param {Element} wrapper - specifies the element.
|
|
269
269
|
* @returns {Element} - returns the element
|
|
270
270
|
* @hidden
|
|
271
|
-
|
|
271
|
+
* @deprecated
|
|
272
272
|
*/
|
|
273
273
|
DOMNode.prototype.wrap = function (element, wrapper) {
|
|
274
274
|
element.parentNode.insertBefore(wrapper, element);
|
|
@@ -283,7 +283,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
283
283
|
* @param {Element} referenceNode - specifies the referenece node
|
|
284
284
|
* @returns {void}
|
|
285
285
|
* @hidden
|
|
286
|
-
|
|
286
|
+
* @deprecated
|
|
287
287
|
*/
|
|
288
288
|
DOMNode.prototype.insertAfter = function (newNode, referenceNode) {
|
|
289
289
|
referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
|
|
@@ -295,7 +295,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
295
295
|
* @param {Element} wrapper - specifies the wrapper element.
|
|
296
296
|
* @returns {Element} - returns the element
|
|
297
297
|
* @hidden
|
|
298
|
-
|
|
298
|
+
* @deprecated
|
|
299
299
|
*/
|
|
300
300
|
DOMNode.prototype.wrapInner = function (parent, wrapper) {
|
|
301
301
|
parent.appendChild(wrapper);
|
|
@@ -315,7 +315,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
315
315
|
* @param {Element} element - specifies the element.
|
|
316
316
|
* @returns {Element} - returns the element.
|
|
317
317
|
* @hidden
|
|
318
|
-
|
|
318
|
+
* @deprecated
|
|
319
319
|
*/
|
|
320
320
|
DOMNode.prototype.unWrap = function (element) {
|
|
321
321
|
var parent = element.parentNode;
|
|
@@ -335,7 +335,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
335
335
|
* @param {number} index - specifies the index value.
|
|
336
336
|
* @returns {Element} - returns the element
|
|
337
337
|
* @hidden
|
|
338
|
-
|
|
338
|
+
* @deprecated
|
|
339
339
|
*/
|
|
340
340
|
DOMNode.prototype.getSelectedNode = function (element, index) {
|
|
341
341
|
if (element.nodeType === Node.ELEMENT_NODE && element.childNodes.length > 0 &&
|
|
@@ -359,7 +359,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
359
359
|
* @param {Element[]} elements - specifies the array of elements
|
|
360
360
|
* @returns {Element[]} - returnts the array elements
|
|
361
361
|
* @hidden
|
|
362
|
-
|
|
362
|
+
* @deprecated
|
|
363
363
|
*/
|
|
364
364
|
DOMNode.prototype.nodeFinds = function (element, elements) {
|
|
365
365
|
var existNodes = [];
|
|
@@ -375,7 +375,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
375
375
|
*
|
|
376
376
|
* @returns {boolean} - returns the boolean value
|
|
377
377
|
* @hidden
|
|
378
|
-
|
|
378
|
+
* @deprecated
|
|
379
379
|
*/
|
|
380
380
|
DOMNode.prototype.isEditorArea = function () {
|
|
381
381
|
var range = this.getRangePoint(0);
|
|
@@ -391,7 +391,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
391
391
|
* @param {number} point - specifies the number value.
|
|
392
392
|
* @returns {Range} - returns the range.
|
|
393
393
|
* @hidden
|
|
394
|
-
|
|
394
|
+
* @deprecated
|
|
395
395
|
*/
|
|
396
396
|
DOMNode.prototype.getRangePoint = function (point) {
|
|
397
397
|
var selection = this.getSelection();
|
|
@@ -416,7 +416,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
416
416
|
* @param {Element} element - specifies the element
|
|
417
417
|
* @returns {Element} - returns the element
|
|
418
418
|
* @hidden
|
|
419
|
-
|
|
419
|
+
* @deprecated
|
|
420
420
|
*/
|
|
421
421
|
DOMNode.prototype.getPreviousNode = function (element) {
|
|
422
422
|
element = element.previousElementSibling;
|
|
@@ -431,7 +431,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
431
431
|
* @param {string} value - specifies the string value
|
|
432
432
|
* @returns {string} - specifies the string value
|
|
433
433
|
* @hidden
|
|
434
|
-
|
|
434
|
+
* @deprecated
|
|
435
435
|
*/
|
|
436
436
|
DOMNode.prototype.encode = function (value) {
|
|
437
437
|
var divNode = document.createElement('div');
|
|
@@ -445,7 +445,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
445
445
|
* @param {NodeSelection} save - specifies the node selection,
|
|
446
446
|
* @returns {NodeSelection} - returns the value
|
|
447
447
|
* @hidden
|
|
448
|
-
|
|
448
|
+
* @deprecated
|
|
449
449
|
*/
|
|
450
450
|
DOMNode.prototype.saveMarker = function (save) {
|
|
451
451
|
var start = this.parent.querySelector('.' + markerClassName.startSelection);
|
|
@@ -485,7 +485,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
485
485
|
* @param {NodeSelection} save - specifies the node selection.
|
|
486
486
|
* @returns {void}
|
|
487
487
|
* @hidden
|
|
488
|
-
|
|
488
|
+
* @deprecated
|
|
489
489
|
*/
|
|
490
490
|
DOMNode.prototype.setMarker = function (save) {
|
|
491
491
|
var range = save.range;
|
|
@@ -566,7 +566,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
566
566
|
* @param {Range} range - specifies the range value
|
|
567
567
|
* @returns {void}
|
|
568
568
|
* @hidden
|
|
569
|
-
|
|
569
|
+
* @deprecated
|
|
570
570
|
*/
|
|
571
571
|
DOMNode.prototype.ensureSelfClosingTag = function (start, className, range) {
|
|
572
572
|
var isTable = false;
|
|
@@ -627,7 +627,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
627
627
|
* @param {Element} element - specifies the element.
|
|
628
628
|
* @returns {Element} - returns the element
|
|
629
629
|
* @hidden
|
|
630
|
-
|
|
630
|
+
* @deprecated
|
|
631
631
|
*/
|
|
632
632
|
DOMNode.prototype.createTempNode = function (element) {
|
|
633
633
|
var textContent = element.textContent;
|
|
@@ -660,7 +660,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
660
660
|
*
|
|
661
661
|
* @returns {void}
|
|
662
662
|
* @hidden
|
|
663
|
-
|
|
663
|
+
* @deprecated
|
|
664
664
|
*/
|
|
665
665
|
DOMNode.prototype.getImageTagInSelection = function () {
|
|
666
666
|
var selection = this.getSelection();
|
|
@@ -676,7 +676,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
676
676
|
* @param {string} wrapperElement - specifies which block nodes to wrap around.
|
|
677
677
|
* @returns {HTMLElement} - returns the wrapped element.
|
|
678
678
|
* @hidden
|
|
679
|
-
|
|
679
|
+
* @deprecated
|
|
680
680
|
*/
|
|
681
681
|
DOMNode.prototype.gatherElementsAround = function (node, wrapperElement) {
|
|
682
682
|
var newWrapElem = createElement(wrapperElement);
|
|
@@ -727,7 +727,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
727
727
|
* @param {boolean} fromList - specifies if the method is called from list module.
|
|
728
728
|
* @returns {Node[]} - returns the selected list of elements as block nodes.
|
|
729
729
|
* @hidden
|
|
730
|
-
|
|
730
|
+
* @deprecated
|
|
731
731
|
*/
|
|
732
732
|
DOMNode.prototype.convertToBlockNodes = function (selectedNodes, fromList) {
|
|
733
733
|
if (selectedNodes.length > 1) {
|
|
@@ -778,7 +778,7 @@ var DOMNode = /** @class */ (function () {
|
|
|
778
778
|
* @param {boolean} action - Optional Boolean that specifies the action is whether performed.
|
|
779
779
|
* @returns {Node[]} - returns the node array values
|
|
780
780
|
* @hidden
|
|
781
|
-
|
|
781
|
+
* @deprecated
|
|
782
782
|
*/
|
|
783
783
|
DOMNode.prototype.blockNodes = function (action) {
|
|
784
784
|
var collectionNodes = [];
|
|
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
|
|
|
3
3
|
* Formats internal component
|
|
4
4
|
*
|
|
5
5
|
* @hidden
|
|
6
|
-
|
|
6
|
+
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class Formats {
|
|
9
9
|
private parent;
|
|
@@ -13,7 +13,7 @@ export declare class Formats {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element.
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
constructor(parent: EditorManager);
|
|
19
19
|
private addEventListener;
|
|
@@ -35,5 +35,6 @@ export declare class Formats {
|
|
|
35
35
|
private preFormatMerge;
|
|
36
36
|
private blockquotesFormatMerge;
|
|
37
37
|
private cleanFormats;
|
|
38
|
+
private applyTableSidesFormat;
|
|
38
39
|
destroy(): void;
|
|
39
40
|
}
|
|
@@ -7,7 +7,7 @@ import { NodeCutter } from './nodecutter';
|
|
|
7
7
|
* Formats internal component
|
|
8
8
|
*
|
|
9
9
|
* @hidden
|
|
10
|
-
|
|
10
|
+
* @deprecated
|
|
11
11
|
*/
|
|
12
12
|
var Formats = /** @class */ (function () {
|
|
13
13
|
/**
|
|
@@ -15,7 +15,7 @@ var Formats = /** @class */ (function () {
|
|
|
15
15
|
*
|
|
16
16
|
* @param {EditorManager} parent - specifies the parent element.
|
|
17
17
|
* @hidden
|
|
18
|
-
|
|
18
|
+
* @deprecated
|
|
19
19
|
*/
|
|
20
20
|
function Formats(parent) {
|
|
21
21
|
this.blockquotePrevent = false;
|
|
@@ -261,6 +261,14 @@ var Formats = /** @class */ (function () {
|
|
|
261
261
|
};
|
|
262
262
|
Formats.prototype.applyFormats = function (e) {
|
|
263
263
|
var range = this.parent.nodeSelection.getRange(this.parent.currentDocument);
|
|
264
|
+
var tableCursor = this.parent.nodeSelection.processedTableImageCursor(range);
|
|
265
|
+
if (tableCursor.start || tableCursor.end) {
|
|
266
|
+
if (tableCursor.startName === 'TABLE' || tableCursor.endName === 'TABLE') {
|
|
267
|
+
var tableNode = tableCursor.start ? tableCursor.startNode : tableCursor.endNode;
|
|
268
|
+
this.applyTableSidesFormat(e, tableCursor.start, tableNode);
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
264
272
|
var isSelectAll = false;
|
|
265
273
|
if (this.parent.editableElement === range.endContainer &&
|
|
266
274
|
!isNOU(this.parent.editableElement.children[range.endOffset - 1]) &&
|
|
@@ -509,6 +517,23 @@ var Formats = /** @class */ (function () {
|
|
|
509
517
|
element.style.removeProperty(ignoreAttr[i]);
|
|
510
518
|
}
|
|
511
519
|
};
|
|
520
|
+
Formats.prototype.applyTableSidesFormat = function (e, start, table) {
|
|
521
|
+
var formatNode = createElement(e.subCommand);
|
|
522
|
+
if (!(e.enterAction === 'BR')) {
|
|
523
|
+
formatNode.appendChild(createElement('br'));
|
|
524
|
+
}
|
|
525
|
+
table.insertAdjacentElement(start ? 'beforebegin' : 'afterend', formatNode);
|
|
526
|
+
this.parent.nodeSelection.setCursorPoint(this.parent.currentDocument, formatNode, 0);
|
|
527
|
+
if (e.callBack) {
|
|
528
|
+
e.callBack({
|
|
529
|
+
requestType: e.subCommand,
|
|
530
|
+
editorMode: 'HTML',
|
|
531
|
+
event: e.event,
|
|
532
|
+
range: this.parent.nodeSelection.getRange(this.parent.currentDocument),
|
|
533
|
+
elements: this.parent.domNode.blockNodes()
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
};
|
|
512
537
|
Formats.prototype.destroy = function () {
|
|
513
538
|
this.removeEventListener();
|
|
514
539
|
};
|
|
@@ -4,7 +4,7 @@ import { IHtmlItem } from './../base/interface';
|
|
|
4
4
|
* Link internal component
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export declare class ImageCommand {
|
|
10
10
|
private parent;
|
|
@@ -13,7 +13,7 @@ export declare class ImageCommand {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
constructor(parent: EditorManager);
|
|
19
19
|
private addEventListener;
|
|
@@ -24,7 +24,7 @@ export declare class ImageCommand {
|
|
|
24
24
|
* @param {IHtmlItem} e - specifies the element
|
|
25
25
|
* @returns {void}
|
|
26
26
|
* @hidden
|
|
27
|
-
|
|
27
|
+
* @deprecated
|
|
28
28
|
*/
|
|
29
29
|
imageCommand(e: IHtmlItem): void;
|
|
30
30
|
private createImage;
|
|
@@ -7,7 +7,7 @@ import * as EVENTS from './../../common/constant';
|
|
|
7
7
|
* Link internal component
|
|
8
8
|
*
|
|
9
9
|
* @hidden
|
|
10
|
-
|
|
10
|
+
* @deprecated
|
|
11
11
|
*/
|
|
12
12
|
var ImageCommand = /** @class */ (function () {
|
|
13
13
|
/**
|
|
@@ -15,7 +15,7 @@ var ImageCommand = /** @class */ (function () {
|
|
|
15
15
|
*
|
|
16
16
|
* @param {EditorManager} parent - specifies the parent element
|
|
17
17
|
* @hidden
|
|
18
|
-
|
|
18
|
+
* @deprecated
|
|
19
19
|
*/
|
|
20
20
|
function ImageCommand(parent) {
|
|
21
21
|
this.parent = parent;
|
|
@@ -35,7 +35,7 @@ var ImageCommand = /** @class */ (function () {
|
|
|
35
35
|
* @param {IHtmlItem} e - specifies the element
|
|
36
36
|
* @returns {void}
|
|
37
37
|
* @hidden
|
|
38
|
-
|
|
38
|
+
* @deprecated
|
|
39
39
|
*/
|
|
40
40
|
ImageCommand.prototype.imageCommand = function (e) {
|
|
41
41
|
switch (e.value.toString().toLowerCase()) {
|
|
@@ -119,8 +119,14 @@ var ImageCommand = /** @class */ (function () {
|
|
|
119
119
|
(Browser.isIE ? selectedNode.previousSibling : selectedNode.previousElementSibling);
|
|
120
120
|
var onImageLoadEvent_1 = function () {
|
|
121
121
|
if (!isNOU(_this.parent.currentDocument)) {
|
|
122
|
-
imgElm_1.
|
|
123
|
-
imgElm_1.
|
|
122
|
+
var imgWidth = imgElm_1.getAttribute('width');
|
|
123
|
+
var imgHeight = imgElm_1.getAttribute('height');
|
|
124
|
+
if (isNOU(imgWidth) || imgWidth === 'auto') {
|
|
125
|
+
imgElm_1.setAttribute('width', imgElm_1.offsetWidth.toString());
|
|
126
|
+
}
|
|
127
|
+
if (isNOU(imgHeight) || imgHeight === 'auto') {
|
|
128
|
+
imgElm_1.setAttribute('height', imgElm_1.offsetHeight.toString());
|
|
129
|
+
}
|
|
124
130
|
e.callBack({
|
|
125
131
|
requestType: (e.value === 'Replace') ? (e.item.subCommand = 'Replace', 'Replace') : 'Images',
|
|
126
132
|
editorMode: 'HTML',
|
|
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
|
|
|
3
3
|
* Indents internal component
|
|
4
4
|
*
|
|
5
5
|
* @hidden
|
|
6
|
-
|
|
6
|
+
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class Indents {
|
|
9
9
|
private parent;
|
|
@@ -13,7 +13,7 @@ export declare class Indents {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
constructor(parent: EditorManager);
|
|
19
19
|
private addEventListener;
|
|
@@ -5,7 +5,7 @@ import { isIDevice, setEditFrameFocus } from '../../common/util';
|
|
|
5
5
|
* Indents internal component
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var Indents = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -13,7 +13,7 @@ var Indents = /** @class */ (function () {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
function Indents(parent) {
|
|
19
19
|
this.indentValue = 20;
|
|
@@ -12,7 +12,7 @@ export declare class InsertMethods {
|
|
|
12
12
|
* @param {boolean} isAfter - specifies the boolean value
|
|
13
13
|
* @returns {Text} - returns the text value
|
|
14
14
|
* @hidden
|
|
15
|
-
|
|
15
|
+
* @deprecated
|
|
16
16
|
*/
|
|
17
17
|
static WrapBefore(textNode: Text, parentNode: HTMLElement, isAfter?: boolean): Text;
|
|
18
18
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class InsertMethods {
|
|
|
22
22
|
* @param {HTMLElement} parentNode - specifies the parent node.
|
|
23
23
|
* @returns {HTMLElement} - returns the element
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
static Wrap(childNode: HTMLElement, parentNode: HTMLElement): HTMLElement;
|
|
28
28
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class InsertMethods {
|
|
|
31
31
|
* @param {Node} node - specifies the node element.
|
|
32
32
|
* @returns {Node[]} - returns the array of value
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
static unwrap(node: Node | HTMLElement): Node[];
|
|
37
37
|
/**
|
|
@@ -42,7 +42,7 @@ export declare class InsertMethods {
|
|
|
42
42
|
* @param {boolean} isAfter - specifies the boolean value
|
|
43
43
|
* @returns {void}
|
|
44
44
|
* @hidden
|
|
45
|
-
|
|
45
|
+
* @deprecated
|
|
46
46
|
*/
|
|
47
47
|
static AppendBefore(textNode: HTMLElement | Text | DocumentFragment, parentNode: HTMLElement | Text | DocumentFragment, isAfter?: boolean): HTMLElement | Text | DocumentFragment;
|
|
48
48
|
}
|
|
@@ -14,7 +14,7 @@ var InsertMethods = /** @class */ (function () {
|
|
|
14
14
|
* @param {boolean} isAfter - specifies the boolean value
|
|
15
15
|
* @returns {Text} - returns the text value
|
|
16
16
|
* @hidden
|
|
17
|
-
|
|
17
|
+
* @deprecated
|
|
18
18
|
*/
|
|
19
19
|
InsertMethods.WrapBefore = function (textNode, parentNode, isAfter) {
|
|
20
20
|
parentNode.innerText = textNode.textContent;
|
|
@@ -32,7 +32,7 @@ var InsertMethods = /** @class */ (function () {
|
|
|
32
32
|
* @param {HTMLElement} parentNode - specifies the parent node.
|
|
33
33
|
* @returns {HTMLElement} - returns the element
|
|
34
34
|
* @hidden
|
|
35
|
-
|
|
35
|
+
* @deprecated
|
|
36
36
|
*/
|
|
37
37
|
InsertMethods.Wrap = function (childNode, parentNode) {
|
|
38
38
|
this.AppendBefore(parentNode, childNode);
|
|
@@ -45,7 +45,7 @@ var InsertMethods = /** @class */ (function () {
|
|
|
45
45
|
* @param {Node} node - specifies the node element.
|
|
46
46
|
* @returns {Node[]} - returns the array of value
|
|
47
47
|
* @hidden
|
|
48
|
-
|
|
48
|
+
* @deprecated
|
|
49
49
|
*/
|
|
50
50
|
InsertMethods.unwrap = function (node) {
|
|
51
51
|
var parent = node.parentNode;
|
|
@@ -64,7 +64,7 @@ var InsertMethods = /** @class */ (function () {
|
|
|
64
64
|
* @param {boolean} isAfter - specifies the boolean value
|
|
65
65
|
* @returns {void}
|
|
66
66
|
* @hidden
|
|
67
|
-
|
|
67
|
+
* @deprecated
|
|
68
68
|
*/
|
|
69
69
|
InsertMethods.AppendBefore = function (textNode, parentNode, isAfter) {
|
|
70
70
|
return (parentNode.parentNode) ? ((!isAfter) ? parentNode.parentNode.insertBefore(textNode, parentNode)
|
|
@@ -3,7 +3,7 @@ import { EditorManager } from '../base/editor-manager';
|
|
|
3
3
|
* Insert a Text Node or Text
|
|
4
4
|
*
|
|
5
5
|
* @hidden
|
|
6
|
-
|
|
6
|
+
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class InsertTextExec {
|
|
9
9
|
private parent;
|
|
@@ -12,7 +12,7 @@ export declare class InsertTextExec {
|
|
|
12
12
|
*
|
|
13
13
|
* @param {EditorManager} parent - specifies the parent element
|
|
14
14
|
* @hidden
|
|
15
|
-
|
|
15
|
+
* @deprecated
|
|
16
16
|
*/
|
|
17
17
|
constructor(parent: EditorManager);
|
|
18
18
|
private addEventListener;
|
|
@@ -5,7 +5,7 @@ import * as EVENTS from './../../common/constant';
|
|
|
5
5
|
* Insert a Text Node or Text
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var InsertTextExec = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -13,7 +13,7 @@ var InsertTextExec = /** @class */ (function () {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - specifies the parent element
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
function InsertTextExec(parent) {
|
|
19
19
|
this.parent = parent;
|
|
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
|
|
|
3
3
|
* Selection EXEC internal component
|
|
4
4
|
*
|
|
5
5
|
* @hidden
|
|
6
|
-
|
|
6
|
+
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class InsertHtmlExec {
|
|
9
9
|
private parent;
|
|
@@ -12,7 +12,7 @@ export declare class InsertHtmlExec {
|
|
|
12
12
|
*
|
|
13
13
|
* @param {EditorManager} parent - sepcifies the parent element
|
|
14
14
|
* @hidden
|
|
15
|
-
|
|
15
|
+
* @deprecated
|
|
16
16
|
*/
|
|
17
17
|
constructor(parent: EditorManager);
|
|
18
18
|
private addEventListener;
|
|
@@ -5,7 +5,7 @@ import * as EVENTS from './../../common/constant';
|
|
|
5
5
|
* Selection EXEC internal component
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var InsertHtmlExec = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -13,7 +13,7 @@ var InsertHtmlExec = /** @class */ (function () {
|
|
|
13
13
|
*
|
|
14
14
|
* @param {EditorManager} parent - sepcifies the parent element
|
|
15
15
|
* @hidden
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
function InsertHtmlExec(parent) {
|
|
19
19
|
this.parent = parent;
|