@syncfusion/ej2-richtexteditor 26.2.10 → 26.2.11-618955
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 +233 -179
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +321 -267
- 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 +8 -8
- package/src/common/util.js +7 -0
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/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 +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 +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 +3 -2
- package/src/editor-manager/plugin/inserthtml.js +22 -10
- package/src/editor-manager/plugin/isformatted.d.ts +8 -8
- package/src/editor-manager/plugin/isformatted.js +8 -8
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -4
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +9 -4
- 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 +19 -2
- 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 +3 -3
- 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 +1 -1
- 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 +4 -3
- package/src/rich-text-editor/actions/html-editor.js +18 -3
- package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +20 -20
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +1 -1
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +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 +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +157 -157
- package/src/rich-text-editor/base/constant.js +157 -157
- 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 +890 -890
- package/src/rich-text-editor/base/rich-text-editor.d.ts +61 -61
- package/src/rich-text-editor/base/rich-text-editor.js +63 -63
- 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 +1 -1
- 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 +6 -6
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +1 -1
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +1 -1
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +1 -1
- 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 +22 -22
- package/src/selection/selection.js +22 -22
- 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 +288 -288
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +289 -289
- package/styles/rich-text-editor/_bootstrap-definition.scss +347 -347
- package/styles/rich-text-editor/_bootstrap4-definition.scss +474 -474
- package/styles/rich-text-editor/_bootstrap5-definition.scss +276 -276
- package/styles/rich-text-editor/_bootstrap5.3-definition.scss +276 -276
- package/styles/rich-text-editor/_fabric-dark-definition.scss +273 -273
- package/styles/rich-text-editor/_fabric-definition.scss +271 -271
- package/styles/rich-text-editor/_fluent-definition.scss +277 -277
- package/styles/rich-text-editor/_fluent2-definition.scss +282 -282
- package/styles/rich-text-editor/_fusionnew-definition.scss +274 -274
- package/styles/rich-text-editor/_highcontrast-definition.scss +271 -271
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +271 -271
- package/styles/rich-text-editor/_layout.scss +2647 -2647
- package/styles/rich-text-editor/_material-dark-definition.scss +276 -276
- package/styles/rich-text-editor/_material-definition.scss +274 -274
- package/styles/rich-text-editor/_material3-definition.scss +276 -276
- package/styles/rich-text-editor/_tailwind-definition.scss +271 -271
- package/styles/rich-text-editor/_theme.scss +813 -813
- package/styles/rich-text-editor/icons/_bds.scss +368 -368
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +369 -369
- package/styles/rich-text-editor/icons/_bootstrap.scss +369 -369
- package/styles/rich-text-editor/icons/_bootstrap4.scss +369 -369
- package/styles/rich-text-editor/icons/_bootstrap5.3.scss +368 -368
- package/styles/rich-text-editor/icons/_bootstrap5.scss +368 -368
- package/styles/rich-text-editor/icons/_fabric-dark.scss +369 -369
- package/styles/rich-text-editor/icons/_fabric.scss +369 -369
- package/styles/rich-text-editor/icons/_fluent.scss +368 -368
- package/styles/rich-text-editor/icons/_fluent2.scss +365 -365
- package/styles/rich-text-editor/icons/_fusionnew.scss +353 -353
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +357 -357
- package/styles/rich-text-editor/icons/_highcontrast.scss +357 -357
- package/styles/rich-text-editor/icons/_material-dark.scss +369 -369
- package/styles/rich-text-editor/icons/_material.scss +369 -369
- package/styles/rich-text-editor/icons/_material3.scss +368 -368
- package/styles/rich-text-editor/icons/_tailwind.scss +368 -368
- 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/hotfix/26.1.35_Vol2.txt +0 -1
- package/tslint.json +0 -111
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __assign = (this && this.__assign) || function () {
|
|
15
|
-
__assign = Object.assign || function(t) {
|
|
16
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
-
s = arguments[i];
|
|
18
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
19
|
-
t[p] = s[p];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
return __assign.apply(this, arguments);
|
|
24
|
-
};
|
|
25
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
26
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
27
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
28
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
29
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __assign = (this && this.__assign) || function () {
|
|
15
|
+
__assign = Object.assign || function(t) {
|
|
16
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
+
s = arguments[i];
|
|
18
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
19
|
+
t[p] = s[p];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
return __assign.apply(this, arguments);
|
|
24
|
+
};
|
|
25
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
26
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
27
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
28
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
29
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30
|
+
};
|
|
31
31
|
import { Component, EventHandler, Complex, Browser, addClass, detach } from '@syncfusion/ej2-base';
|
|
32
32
|
import { Property, NotifyPropertyChanges, formatUnit, L10n, closest } from '@syncfusion/ej2-base';
|
|
33
33
|
import { setStyleAttribute, Event, removeClass, print as printWindow, attributes } from '@syncfusion/ej2-base';
|
|
@@ -80,7 +80,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
80
80
|
*
|
|
81
81
|
* @returns {ModuleDeclaration[]} - specifies the declaration.
|
|
82
82
|
* @hidden
|
|
83
|
-
|
|
83
|
+
* @deprecated
|
|
84
84
|
*/
|
|
85
85
|
RichTextEditor.prototype.requiredModules = function () {
|
|
86
86
|
var modules = [];
|
|
@@ -163,7 +163,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
163
163
|
*
|
|
164
164
|
* @returns {void}
|
|
165
165
|
* @hidden
|
|
166
|
-
|
|
166
|
+
* @deprecated
|
|
167
167
|
*/
|
|
168
168
|
RichTextEditor.prototype.setEnable = function () {
|
|
169
169
|
this.updateEnable();
|
|
@@ -262,7 +262,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
262
262
|
*
|
|
263
263
|
* @returns {void}
|
|
264
264
|
* @hidden
|
|
265
|
-
|
|
265
|
+
* @deprecated
|
|
266
266
|
*/
|
|
267
267
|
RichTextEditor.prototype.getPersistData = function () {
|
|
268
268
|
return this.addOnPersist(['value']);
|
|
@@ -550,7 +550,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
550
550
|
*
|
|
551
551
|
* @returns {void}
|
|
552
552
|
* @private
|
|
553
|
-
|
|
553
|
+
* @deprecated
|
|
554
554
|
*/
|
|
555
555
|
RichTextEditor.prototype.render = function () {
|
|
556
556
|
this.value = (!(this.editorMode === 'Markdown') && !isNOU(this.value)) ? this.addAnchorAriaLabel(this.value) : this.value;
|
|
@@ -588,7 +588,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
588
588
|
*
|
|
589
589
|
* @returns {void}
|
|
590
590
|
* @hidden
|
|
591
|
-
|
|
591
|
+
* @deprecated
|
|
592
592
|
*/
|
|
593
593
|
RichTextEditor.prototype.addAudioVideoWrapper = function () {
|
|
594
594
|
var _this = this;
|
|
@@ -650,7 +650,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
650
650
|
*
|
|
651
651
|
* @returns {void}
|
|
652
652
|
* @private
|
|
653
|
-
|
|
653
|
+
* @deprecated
|
|
654
654
|
* @hidden
|
|
655
655
|
*/
|
|
656
656
|
RichTextEditor.prototype.eventInitializer = function () {
|
|
@@ -701,7 +701,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
701
701
|
* @param {KeyboardEvent} e - specifies the event.
|
|
702
702
|
* @returns {void}
|
|
703
703
|
* @private
|
|
704
|
-
|
|
704
|
+
* @deprecated
|
|
705
705
|
* @hidden
|
|
706
706
|
*/
|
|
707
707
|
RichTextEditor.prototype.keyDown = function (e) {
|
|
@@ -864,7 +864,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
864
864
|
* @param {string} value - specifies the value.
|
|
865
865
|
* @returns {void}
|
|
866
866
|
* @hidden
|
|
867
|
-
|
|
867
|
+
* @deprecated
|
|
868
868
|
*/
|
|
869
869
|
RichTextEditor.prototype.serializeValue = function (value) {
|
|
870
870
|
if (this.editorMode === 'HTML' && !isNOU(value)) {
|
|
@@ -895,7 +895,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
895
895
|
* @param {string} value - specifies the string value.
|
|
896
896
|
* @returns {void}
|
|
897
897
|
* @hidden
|
|
898
|
-
|
|
898
|
+
* @deprecated
|
|
899
899
|
*/
|
|
900
900
|
RichTextEditor.prototype.updateValue = function (value) {
|
|
901
901
|
if (isNOU(value)) {
|
|
@@ -954,7 +954,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
954
954
|
* @param {Function} module - specifies the module function.
|
|
955
955
|
* @returns {void}
|
|
956
956
|
* @hidden
|
|
957
|
-
|
|
957
|
+
* @deprecated
|
|
958
958
|
*/
|
|
959
959
|
RichTextEditor.prototype.ensureModuleInjected = function (module) {
|
|
960
960
|
return this.getInjectedModules().indexOf(module) >= 0;
|
|
@@ -962,7 +962,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
962
962
|
/**
|
|
963
963
|
* @returns {void}
|
|
964
964
|
* @hidden
|
|
965
|
-
|
|
965
|
+
* @deprecated
|
|
966
966
|
*/
|
|
967
967
|
RichTextEditor.prototype.onCopy = function () {
|
|
968
968
|
this.contentModule.getDocument().execCommand('copy', false, null);
|
|
@@ -970,7 +970,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
970
970
|
/**
|
|
971
971
|
* @returns {void}
|
|
972
972
|
* @hidden
|
|
973
|
-
|
|
973
|
+
* @deprecated
|
|
974
974
|
*/
|
|
975
975
|
RichTextEditor.prototype.onCut = function () {
|
|
976
976
|
this.contentModule.getDocument().execCommand('cut', false, null);
|
|
@@ -979,7 +979,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
979
979
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
980
980
|
* @returns {void}
|
|
981
981
|
* @hidden
|
|
982
|
-
|
|
982
|
+
* @deprecated
|
|
983
983
|
*/
|
|
984
984
|
RichTextEditor.prototype.onPaste = function (e) {
|
|
985
985
|
var _this = this;
|
|
@@ -1046,7 +1046,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1046
1046
|
* @param {MouseEvent} event - specifies the event.
|
|
1047
1047
|
* @returns {void}
|
|
1048
1048
|
* @hidden
|
|
1049
|
-
|
|
1049
|
+
* @deprecated
|
|
1050
1050
|
*/
|
|
1051
1051
|
RichTextEditor.prototype.clipboardAction = function (action, event) {
|
|
1052
1052
|
switch (action.toLowerCase()) {
|
|
@@ -1255,7 +1255,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1255
1255
|
*
|
|
1256
1256
|
* @returns {void}
|
|
1257
1257
|
* @private
|
|
1258
|
-
|
|
1258
|
+
* @deprecated
|
|
1259
1259
|
*/
|
|
1260
1260
|
RichTextEditor.prototype.getModuleName = function () {
|
|
1261
1261
|
return 'richtexteditor';
|
|
@@ -1267,7 +1267,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1267
1267
|
* @param {RichTextEditorModel} oldProp - specifies the old property.
|
|
1268
1268
|
* @returns {void}
|
|
1269
1269
|
* @hidden
|
|
1270
|
-
|
|
1270
|
+
* @deprecated
|
|
1271
1271
|
*/
|
|
1272
1272
|
/* eslint-disable */
|
|
1273
1273
|
RichTextEditor.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
@@ -1420,7 +1420,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1420
1420
|
/**
|
|
1421
1421
|
* @hidden
|
|
1422
1422
|
* @returns {void}
|
|
1423
|
-
|
|
1423
|
+
* @deprecated
|
|
1424
1424
|
*/
|
|
1425
1425
|
RichTextEditor.prototype.updateValueData = function () {
|
|
1426
1426
|
if (this.enableHtmlEncode) {
|
|
@@ -1515,7 +1515,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1515
1515
|
*
|
|
1516
1516
|
* @returns {void}
|
|
1517
1517
|
* @hidden
|
|
1518
|
-
|
|
1518
|
+
* @deprecated
|
|
1519
1519
|
*/
|
|
1520
1520
|
RichTextEditor.prototype.setPlaceHolder = function () {
|
|
1521
1521
|
if (this.inputElement && this.placeholder && this.iframeSettings.enable !== true) {
|
|
@@ -1593,7 +1593,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1593
1593
|
* @param {boolean} initial - specifies the boolean value
|
|
1594
1594
|
* @returns {void}
|
|
1595
1595
|
* @hidden
|
|
1596
|
-
|
|
1596
|
+
* @deprecated
|
|
1597
1597
|
*/
|
|
1598
1598
|
RichTextEditor.prototype.setReadOnly = function (initial) {
|
|
1599
1599
|
this.updateReadOnly();
|
|
@@ -1694,7 +1694,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1694
1694
|
*
|
|
1695
1695
|
* @returns {void}
|
|
1696
1696
|
* @public
|
|
1697
|
-
|
|
1697
|
+
* @deprecated
|
|
1698
1698
|
*/
|
|
1699
1699
|
RichTextEditor.prototype.getRange = function () {
|
|
1700
1700
|
return this.formatter.editorManager.nodeSelection.getRange(this.contentModule.getDocument());
|
|
@@ -1839,7 +1839,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1839
1839
|
*
|
|
1840
1840
|
* @returns {void}
|
|
1841
1841
|
* @hidden
|
|
1842
|
-
|
|
1842
|
+
* @deprecated
|
|
1843
1843
|
*/
|
|
1844
1844
|
RichTextEditor.prototype.getInsertImgMaxWidth = function () {
|
|
1845
1845
|
var maxWidth = this.insertImageSettings.maxWidth;
|
|
@@ -1865,7 +1865,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1865
1865
|
*
|
|
1866
1866
|
* @returns {void}
|
|
1867
1867
|
* @hidden
|
|
1868
|
-
|
|
1868
|
+
* @deprecated
|
|
1869
1869
|
*/
|
|
1870
1870
|
RichTextEditor.prototype.getInsertVidMaxWidth = function () {
|
|
1871
1871
|
var maxWidth = this.insertVideoSettings.maxWidth;
|
|
@@ -1984,7 +1984,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* @returns {void}
|
|
1986
1986
|
* @hidden
|
|
1987
|
-
|
|
1987
|
+
* @deprecated
|
|
1988
1988
|
*/
|
|
1989
1989
|
RichTextEditor.prototype.getBaseToolbarObject = function () {
|
|
1990
1990
|
var tbObj;
|
|
@@ -1999,7 +1999,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @returns {void}
|
|
2001
2001
|
* @hidden
|
|
2002
|
-
|
|
2002
|
+
* @deprecated
|
|
2003
2003
|
*/
|
|
2004
2004
|
RichTextEditor.prototype.getToolbar = function () {
|
|
2005
2005
|
return this.toolbarModule ? this.toolbarModule.getToolbarElement() : null;
|
|
@@ -2007,7 +2007,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2007
2007
|
/**
|
|
2008
2008
|
* @returns {void}
|
|
2009
2009
|
* @hidden
|
|
2010
|
-
|
|
2010
|
+
* @deprecated
|
|
2011
2011
|
*/
|
|
2012
2012
|
RichTextEditor.prototype.getToolbarElement = function () {
|
|
2013
2013
|
return this.toolbarModule && this.toolbarModule.getToolbarElement();
|
|
@@ -2017,7 +2017,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2017
2017
|
* getID method
|
|
2018
2018
|
*
|
|
2019
2019
|
* @hidden
|
|
2020
|
-
|
|
2020
|
+
* @deprecated
|
|
2021
2021
|
*/
|
|
2022
2022
|
RichTextEditor.prototype.getID = function () {
|
|
2023
2023
|
return this.internalID;
|
|
@@ -2028,7 +2028,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2028
2028
|
* @param {boolean} [isSpace] - Specifies whether to include a space before the CSS class.
|
|
2029
2029
|
* @returns {string} The CSS class.
|
|
2030
2030
|
* @hidden
|
|
2031
|
-
|
|
2031
|
+
* @deprecated
|
|
2032
2032
|
*/
|
|
2033
2033
|
RichTextEditor.prototype.getCssClass = function (isSpace) {
|
|
2034
2034
|
return (isNOU(this.cssClass) ? '' : isSpace ? ' ' + this.cssClass : this.cssClass);
|
|
@@ -2052,7 +2052,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2052
2052
|
* @param {FocusEvent} e - specifies the event.
|
|
2053
2053
|
* @returns {void}
|
|
2054
2054
|
* @hidden
|
|
2055
|
-
|
|
2055
|
+
* @deprecated
|
|
2056
2056
|
*/
|
|
2057
2057
|
// eslint-disable-next-line
|
|
2058
2058
|
RichTextEditor.prototype.preventDefaultResize = function (e) {
|
|
@@ -2290,7 +2290,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2290
2290
|
*
|
|
2291
2291
|
* @returns {void}
|
|
2292
2292
|
* @hidden
|
|
2293
|
-
|
|
2293
|
+
* @deprecated
|
|
2294
2294
|
*/
|
|
2295
2295
|
RichTextEditor.prototype.contentChanged = function () {
|
|
2296
2296
|
if (this.autoSaveOnIdle) {
|
|
@@ -2305,7 +2305,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2305
2305
|
*
|
|
2306
2306
|
* @returns {void}
|
|
2307
2307
|
* @hidden
|
|
2308
|
-
|
|
2308
|
+
* @deprecated
|
|
2309
2309
|
*/
|
|
2310
2310
|
RichTextEditor.prototype.invokeChangeEvent = function () {
|
|
2311
2311
|
var currentValue;
|
|
@@ -2327,7 +2327,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2327
2327
|
/**
|
|
2328
2328
|
* @returns {void}
|
|
2329
2329
|
* @hidden
|
|
2330
|
-
|
|
2330
|
+
* @deprecated
|
|
2331
2331
|
*/
|
|
2332
2332
|
RichTextEditor.prototype.wireScrollElementsEvents = function () {
|
|
2333
2333
|
this.scrollParentElements = getScrollableParent(this.element);
|
|
@@ -2357,7 +2357,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2357
2357
|
/**
|
|
2358
2358
|
* @returns {void}
|
|
2359
2359
|
* @hidden
|
|
2360
|
-
|
|
2360
|
+
* @deprecated
|
|
2361
2361
|
*/
|
|
2362
2362
|
RichTextEditor.prototype.unWireScrollElementsEvents = function () {
|
|
2363
2363
|
this.scrollParentElements = getScrollableParent(this.element);
|
|
@@ -2394,7 +2394,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2394
2394
|
/**
|
|
2395
2395
|
* @returns {void}
|
|
2396
2396
|
* @hidden
|
|
2397
|
-
|
|
2397
|
+
* @deprecated
|
|
2398
2398
|
*/
|
|
2399
2399
|
RichTextEditor.prototype.autoResize = function () {
|
|
2400
2400
|
if (!this.element || !this.originalElement || !this.valueContainer) {
|
|
@@ -88,7 +88,7 @@ export declare function updateUndoRedoStatus(baseToolbar: BaseToolbar, undoRedoS
|
|
|
88
88
|
* @param {string} type - specifies the string type.
|
|
89
89
|
* @returns {void}
|
|
90
90
|
* @hidden
|
|
91
|
-
|
|
91
|
+
* @deprecated
|
|
92
92
|
*/
|
|
93
93
|
export declare function dispatchEvent(element: Element | HTMLDocument, type: string): void;
|
|
94
94
|
/**
|
|
@@ -332,7 +332,7 @@ export function updateUndoRedoStatus(baseToolbar, undoRedoStatus) {
|
|
|
332
332
|
* @param {string} type - specifies the string type.
|
|
333
333
|
* @returns {void}
|
|
334
334
|
* @hidden
|
|
335
|
-
|
|
335
|
+
* @deprecated
|
|
336
336
|
*/
|
|
337
337
|
export function dispatchEvent(element, type) {
|
|
338
338
|
var evt = document.createEvent('HTMLEvents');
|
|
@@ -7,7 +7,7 @@ import { IHtmlUndoRedoData } from '../../editor-manager/base/interface';
|
|
|
7
7
|
* Formatter
|
|
8
8
|
*
|
|
9
9
|
* @hidden
|
|
10
|
-
|
|
10
|
+
* @deprecated
|
|
11
11
|
*/
|
|
12
12
|
export declare class Formatter {
|
|
13
13
|
editorManager: IEditorModel;
|
|
@@ -21,7 +21,7 @@ export declare class Formatter {
|
|
|
21
21
|
* @param {IItemCollectionArgs} value - specifies the collection arguments
|
|
22
22
|
* @returns {void}
|
|
23
23
|
* @hidden
|
|
24
|
-
|
|
24
|
+
* @deprecated
|
|
25
25
|
*/
|
|
26
26
|
process(self: IRichTextEditor, args: ActionBeginEventArgs, event: MouseEvent | KeyboardEvent, value: IItemCollectionArgs): void;
|
|
27
27
|
private getAncestorNode;
|
|
@@ -32,7 +32,7 @@ export declare class Formatter {
|
|
|
32
32
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
33
33
|
* @returns {void}
|
|
34
34
|
* @hidden
|
|
35
|
-
|
|
35
|
+
* @deprecated
|
|
36
36
|
*/
|
|
37
37
|
onKeyHandler(self: IRichTextEditor, e: KeyboardEvent): void;
|
|
38
38
|
/**
|
|
@@ -42,7 +42,7 @@ export declare class Formatter {
|
|
|
42
42
|
* @param {IMarkdownFormatterCallBack} events - specifies the event call back
|
|
43
43
|
* @returns {void}
|
|
44
44
|
* @hidden
|
|
45
|
-
|
|
45
|
+
* @deprecated
|
|
46
46
|
*/
|
|
47
47
|
onSuccess(self: IRichTextEditor, events: IMarkdownFormatterCallBack | IHtmlFormatterCallBack): void;
|
|
48
48
|
/**
|
|
@@ -51,7 +51,7 @@ export declare class Formatter {
|
|
|
51
51
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
52
52
|
* @returns {void}
|
|
53
53
|
* @hidden
|
|
54
|
-
|
|
54
|
+
* @deprecated
|
|
55
55
|
*/
|
|
56
56
|
saveData(e?: KeyboardEvent | MouseEvent | IUndoCallBack): void;
|
|
57
57
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class Formatter {
|
|
|
59
59
|
*
|
|
60
60
|
* @returns {void}
|
|
61
61
|
* @hidden
|
|
62
|
-
|
|
62
|
+
* @deprecated
|
|
63
63
|
*/
|
|
64
64
|
getUndoStatus(): {
|
|
65
65
|
[key: string]: boolean;
|
|
@@ -70,7 +70,7 @@ export declare class Formatter {
|
|
|
70
70
|
* @param {IHtmlUndoRedoData} - specifies the redo data.
|
|
71
71
|
* @returns {void}
|
|
72
72
|
* @hidden
|
|
73
|
-
|
|
73
|
+
* @deprecated
|
|
74
74
|
*/
|
|
75
75
|
getUndoRedoStack(): IHtmlUndoRedoData[] | MarkdownUndoRedoData[];
|
|
76
76
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class Formatter {
|
|
|
79
79
|
* @param {IRichTextEditor} self - specifies the self element.
|
|
80
80
|
* @returns {void}
|
|
81
81
|
* @hidden
|
|
82
|
-
|
|
82
|
+
* @deprecated
|
|
83
83
|
*/
|
|
84
84
|
enableUndo(self: IRichTextEditor): void;
|
|
85
85
|
}
|
|
@@ -6,7 +6,7 @@ import { KEY_DOWN, KEY_UP } from './../../common/constant';
|
|
|
6
6
|
* Formatter
|
|
7
7
|
*
|
|
8
8
|
* @hidden
|
|
9
|
-
|
|
9
|
+
* @deprecated
|
|
10
10
|
*/
|
|
11
11
|
var Formatter = /** @class */ (function () {
|
|
12
12
|
function Formatter() {
|
|
@@ -20,7 +20,7 @@ var Formatter = /** @class */ (function () {
|
|
|
20
20
|
* @param {IItemCollectionArgs} value - specifies the collection arguments
|
|
21
21
|
* @returns {void}
|
|
22
22
|
* @hidden
|
|
23
|
-
|
|
23
|
+
* @deprecated
|
|
24
24
|
*/
|
|
25
25
|
Formatter.prototype.process = function (self, args, event, value) {
|
|
26
26
|
var _this = this;
|
|
@@ -169,7 +169,7 @@ var Formatter = /** @class */ (function () {
|
|
|
169
169
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
170
170
|
* @returns {void}
|
|
171
171
|
* @hidden
|
|
172
|
-
|
|
172
|
+
* @deprecated
|
|
173
173
|
*/
|
|
174
174
|
Formatter.prototype.onKeyHandler = function (self, e) {
|
|
175
175
|
var _this = this;
|
|
@@ -188,7 +188,7 @@ var Formatter = /** @class */ (function () {
|
|
|
188
188
|
* @param {IMarkdownFormatterCallBack} events - specifies the event call back
|
|
189
189
|
* @returns {void}
|
|
190
190
|
* @hidden
|
|
191
|
-
|
|
191
|
+
* @deprecated
|
|
192
192
|
*/
|
|
193
193
|
Formatter.prototype.onSuccess = function (self, events) {
|
|
194
194
|
self.notify(CONSTANT.contentChanged, {});
|
|
@@ -222,7 +222,7 @@ var Formatter = /** @class */ (function () {
|
|
|
222
222
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
223
223
|
* @returns {void}
|
|
224
224
|
* @hidden
|
|
225
|
-
|
|
225
|
+
* @deprecated
|
|
226
226
|
*/
|
|
227
227
|
Formatter.prototype.saveData = function (e) {
|
|
228
228
|
this.editorManager.undoRedoManager.saveData(e);
|
|
@@ -232,7 +232,7 @@ var Formatter = /** @class */ (function () {
|
|
|
232
232
|
*
|
|
233
233
|
* @returns {void}
|
|
234
234
|
* @hidden
|
|
235
|
-
|
|
235
|
+
* @deprecated
|
|
236
236
|
*/
|
|
237
237
|
Formatter.prototype.getUndoStatus = function () {
|
|
238
238
|
return this.editorManager.undoRedoManager.getUndoStatus();
|
|
@@ -244,7 +244,7 @@ var Formatter = /** @class */ (function () {
|
|
|
244
244
|
* @param {IHtmlUndoRedoData} - specifies the redo data.
|
|
245
245
|
* @returns {void}
|
|
246
246
|
* @hidden
|
|
247
|
-
|
|
247
|
+
* @deprecated
|
|
248
248
|
*/
|
|
249
249
|
/* eslint-enable */
|
|
250
250
|
Formatter.prototype.getUndoRedoStack = function () {
|
|
@@ -256,7 +256,7 @@ var Formatter = /** @class */ (function () {
|
|
|
256
256
|
* @param {IRichTextEditor} self - specifies the self element.
|
|
257
257
|
* @returns {void}
|
|
258
258
|
* @hidden
|
|
259
|
-
|
|
259
|
+
* @deprecated
|
|
260
260
|
*/
|
|
261
261
|
Formatter.prototype.enableUndo = function (self) {
|
|
262
262
|
var status = this.getUndoStatus();
|
|
@@ -5,7 +5,7 @@ import { FormatPainterSettingsModel } from '../models';
|
|
|
5
5
|
* HTML adapter
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
export declare class HTMLFormatter extends Formatter {
|
|
11
11
|
keyConfig: {
|
|
@@ -26,7 +26,7 @@ export declare class HTMLFormatter extends Formatter {
|
|
|
26
26
|
* @param {FormatPainterSettingsModel} formatPainterSettings - specifies the format painter settings
|
|
27
27
|
* @returns {void}
|
|
28
28
|
* @hidden
|
|
29
|
-
|
|
29
|
+
* @deprecated
|
|
30
30
|
*/
|
|
31
31
|
updateFormatter(editElement: Element, doc?: Document, options?: {
|
|
32
32
|
[key: string]: number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { Formatter } from './formatter';
|
|
15
15
|
import { EditorManager } from './../../editor-manager/base/editor-manager';
|
|
16
16
|
import { extend } from '@syncfusion/ej2-base';
|
|
@@ -19,7 +19,7 @@ import { htmlKeyConfig } from './../../common/config';
|
|
|
19
19
|
* HTML adapter
|
|
20
20
|
*
|
|
21
21
|
* @hidden
|
|
22
|
-
|
|
22
|
+
* @deprecated
|
|
23
23
|
*/
|
|
24
24
|
var HTMLFormatter = /** @class */ (function (_super) {
|
|
25
25
|
__extends(HTMLFormatter, _super);
|
|
@@ -44,7 +44,7 @@ var HTMLFormatter = /** @class */ (function (_super) {
|
|
|
44
44
|
* @param {FormatPainterSettingsModel} formatPainterSettings - specifies the format painter settings
|
|
45
45
|
* @returns {void}
|
|
46
46
|
* @hidden
|
|
47
|
-
|
|
47
|
+
* @deprecated
|
|
48
48
|
*/
|
|
49
49
|
HTMLFormatter.prototype.updateFormatter = function (editElement, doc, options, formatPainterSettings) {
|
|
50
50
|
if (editElement && doc) {
|
|
@@ -4,7 +4,7 @@ import { IEditorModel, IMarkdownFormatterModel } from './../base/interface';
|
|
|
4
4
|
* Markdown adapter
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export declare class MarkdownFormatter extends Formatter {
|
|
10
10
|
keyConfig: {
|
|
@@ -31,7 +31,7 @@ export declare class MarkdownFormatter extends Formatter {
|
|
|
31
31
|
* @param {number} options - specifies the options
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
updateFormatter(editElement: Element, doc?: Document, options?: {
|
|
37
37
|
[key: string]: number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { Formatter } from './formatter';
|
|
15
15
|
import { MarkdownParser } from './../../markdown-parser/base/markdown-parser';
|
|
16
16
|
import { extend } from '@syncfusion/ej2-base';
|
|
@@ -19,7 +19,7 @@ import { markdownKeyConfig, markdownListsTags, markdownFormatTags, markdownSelec
|
|
|
19
19
|
* Markdown adapter
|
|
20
20
|
*
|
|
21
21
|
* @hidden
|
|
22
|
-
|
|
22
|
+
* @deprecated
|
|
23
23
|
*/
|
|
24
24
|
var MarkdownFormatter = /** @class */ (function (_super) {
|
|
25
25
|
__extends(MarkdownFormatter, _super);
|
|
@@ -46,7 +46,7 @@ var MarkdownFormatter = /** @class */ (function (_super) {
|
|
|
46
46
|
* @param {number} options - specifies the options
|
|
47
47
|
* @returns {void}
|
|
48
48
|
* @hidden
|
|
49
|
-
|
|
49
|
+
* @deprecated
|
|
50
50
|
*/
|
|
51
51
|
MarkdownFormatter.prototype.updateFormatter = function (editElement, doc, options) {
|
|
52
52
|
if (editElement) {
|