@syncfusion/ej2-richtexteditor 23.2.6 → 23.2.7-52849
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/.github/PULL_REQUEST_TEMPLATE/Bug.md +40 -40
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +27 -27
- package/CHANGELOG.md +1751 -1731
- 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 +276 -170
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +386 -280
- 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 +74 -74
- package/src/common/interface.d.ts +7 -7
- 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 +34 -34
- package/src/editor-manager/plugin/dom-node.js +34 -34
- 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 +2 -2
- 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 +2 -2
- package/src/editor-manager/plugin/inserthtml.js +5 -3
- 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 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +7 -3
- 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/global.d.ts +1 -0
- 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 +3 -3
- package/src/rich-text-editor/actions/html-editor.js +10 -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 +6 -4
- 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 +149 -149
- package/src/rich-text-editor/base/constant.js +149 -149
- 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 +49 -49
- 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 +60 -60
- 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 -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 +3 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +13 -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 +19 -12
- 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 +2 -1
- package/src/rich-text-editor/renderer/table-module.js +9 -1
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +88 -19
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +2 -3
- package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
- package/src/rich-text-editor/renderer/view-source.js +9 -9
- 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/_bootstrap-dark-definition.scss +277 -277
- package/styles/rich-text-editor/_bootstrap-definition.scss +334 -334
- package/styles/rich-text-editor/_bootstrap4-definition.scss +460 -460
- package/styles/rich-text-editor/_bootstrap5-definition.scss +262 -262
- package/styles/rich-text-editor/_fabric-dark-definition.scss +259 -259
- package/styles/rich-text-editor/_fabric-definition.scss +257 -257
- package/styles/rich-text-editor/_fluent-definition.scss +263 -263
- package/styles/rich-text-editor/_fusionnew-definition.scss +261 -261
- package/styles/rich-text-editor/_highcontrast-definition.scss +257 -257
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +257 -257
- package/styles/rich-text-editor/_layout.scss +2072 -2072
- package/styles/rich-text-editor/_material-dark-definition.scss +262 -262
- package/styles/rich-text-editor/_material-definition.scss +260 -260
- package/styles/rich-text-editor/_material3-definition.scss +262 -262
- package/styles/rich-text-editor/_tailwind-definition.scss +257 -257
- package/styles/rich-text-editor/_theme.scss +837 -837
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap4.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap5.scss +348 -348
- package/styles/rich-text-editor/icons/_fabric-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_fabric.scss +349 -349
- package/styles/rich-text-editor/icons/_fluent.scss +348 -348
- package/styles/rich-text-editor/icons/_fusionnew.scss +348 -348
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +349 -349
- package/styles/rich-text-editor/icons/_highcontrast.scss +349 -349
- package/styles/rich-text-editor/icons/_material-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_material.scss +349 -349
- package/styles/rich-text-editor/icons/_material3.scss +348 -348
- package/styles/rich-text-editor/icons/_tailwind.scss +348 -348
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
- package/.eslintrc.json +0 -260
- 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
|
@@ -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, select, 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';
|
|
@@ -79,7 +79,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
79
79
|
*
|
|
80
80
|
* @returns {ModuleDeclaration[]} - specifies the declaration.
|
|
81
81
|
* @hidden
|
|
82
|
-
|
|
82
|
+
* @deprecated
|
|
83
83
|
*/
|
|
84
84
|
RichTextEditor.prototype.requiredModules = function () {
|
|
85
85
|
var modules = [];
|
|
@@ -162,7 +162,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
162
162
|
*
|
|
163
163
|
* @returns {void}
|
|
164
164
|
* @hidden
|
|
165
|
-
|
|
165
|
+
* @deprecated
|
|
166
166
|
*/
|
|
167
167
|
RichTextEditor.prototype.setEnable = function () {
|
|
168
168
|
this.updateEnable();
|
|
@@ -260,7 +260,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
260
260
|
*
|
|
261
261
|
* @returns {void}
|
|
262
262
|
* @hidden
|
|
263
|
-
|
|
263
|
+
* @deprecated
|
|
264
264
|
*/
|
|
265
265
|
RichTextEditor.prototype.getPersistData = function () {
|
|
266
266
|
return this.addOnPersist(['value']);
|
|
@@ -548,7 +548,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
548
548
|
*
|
|
549
549
|
* @returns {void}
|
|
550
550
|
* @private
|
|
551
|
-
|
|
551
|
+
* @deprecated
|
|
552
552
|
*/
|
|
553
553
|
RichTextEditor.prototype.render = function () {
|
|
554
554
|
if (this.value && !this.valueTemplate) {
|
|
@@ -585,7 +585,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
585
585
|
*
|
|
586
586
|
* @returns {void}
|
|
587
587
|
* @hidden
|
|
588
|
-
|
|
588
|
+
* @deprecated
|
|
589
589
|
*/
|
|
590
590
|
RichTextEditor.prototype.addAudioVideoWrapper = function () {
|
|
591
591
|
var _this = this;
|
|
@@ -647,7 +647,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
647
647
|
*
|
|
648
648
|
* @returns {void}
|
|
649
649
|
* @private
|
|
650
|
-
|
|
650
|
+
* @deprecated
|
|
651
651
|
* @hidden
|
|
652
652
|
*/
|
|
653
653
|
RichTextEditor.prototype.eventInitializer = function () {
|
|
@@ -692,7 +692,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
692
692
|
* @param {KeyboardEvent} e - specifies the event.
|
|
693
693
|
* @returns {void}
|
|
694
694
|
* @private
|
|
695
|
-
|
|
695
|
+
* @deprecated
|
|
696
696
|
* @hidden
|
|
697
697
|
*/
|
|
698
698
|
RichTextEditor.prototype.keyDown = function (e) {
|
|
@@ -828,7 +828,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
828
828
|
* @param {string} value - specifies the value.
|
|
829
829
|
* @returns {void}
|
|
830
830
|
* @hidden
|
|
831
|
-
|
|
831
|
+
* @deprecated
|
|
832
832
|
*/
|
|
833
833
|
RichTextEditor.prototype.serializeValue = function (value) {
|
|
834
834
|
if (this.editorMode === 'HTML' && !isNOU(value)) {
|
|
@@ -859,7 +859,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
859
859
|
* @param {string} value - specifies the string value.
|
|
860
860
|
* @returns {void}
|
|
861
861
|
* @hidden
|
|
862
|
-
|
|
862
|
+
* @deprecated
|
|
863
863
|
*/
|
|
864
864
|
RichTextEditor.prototype.updateValue = function (value) {
|
|
865
865
|
if (isNOU(value)) {
|
|
@@ -925,7 +925,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
925
925
|
* @param {Function} module - specifies the module function.
|
|
926
926
|
* @returns {void}
|
|
927
927
|
* @hidden
|
|
928
|
-
|
|
928
|
+
* @deprecated
|
|
929
929
|
*/
|
|
930
930
|
RichTextEditor.prototype.ensureModuleInjected = function (module) {
|
|
931
931
|
return this.getInjectedModules().indexOf(module) >= 0;
|
|
@@ -933,7 +933,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
933
933
|
/**
|
|
934
934
|
* @returns {void}
|
|
935
935
|
* @hidden
|
|
936
|
-
|
|
936
|
+
* @deprecated
|
|
937
937
|
*/
|
|
938
938
|
RichTextEditor.prototype.onCopy = function () {
|
|
939
939
|
this.contentModule.getDocument().execCommand('copy', false, null);
|
|
@@ -941,7 +941,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
941
941
|
/**
|
|
942
942
|
* @returns {void}
|
|
943
943
|
* @hidden
|
|
944
|
-
|
|
944
|
+
* @deprecated
|
|
945
945
|
*/
|
|
946
946
|
RichTextEditor.prototype.onCut = function () {
|
|
947
947
|
this.contentModule.getDocument().execCommand('cut', false, null);
|
|
@@ -950,7 +950,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
950
950
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
951
951
|
* @returns {void}
|
|
952
952
|
* @hidden
|
|
953
|
-
|
|
953
|
+
* @deprecated
|
|
954
954
|
*/
|
|
955
955
|
RichTextEditor.prototype.onPaste = function (e) {
|
|
956
956
|
var _this = this;
|
|
@@ -1013,7 +1013,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1013
1013
|
* @param {MouseEvent} event - specifies the event.
|
|
1014
1014
|
* @returns {void}
|
|
1015
1015
|
* @hidden
|
|
1016
|
-
|
|
1016
|
+
* @deprecated
|
|
1017
1017
|
*/
|
|
1018
1018
|
RichTextEditor.prototype.clipboardAction = function (action, event) {
|
|
1019
1019
|
switch (action.toLowerCase()) {
|
|
@@ -1206,7 +1206,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1206
1206
|
*
|
|
1207
1207
|
* @returns {void}
|
|
1208
1208
|
* @private
|
|
1209
|
-
|
|
1209
|
+
* @deprecated
|
|
1210
1210
|
*/
|
|
1211
1211
|
RichTextEditor.prototype.getModuleName = function () {
|
|
1212
1212
|
return 'richtexteditor';
|
|
@@ -1218,7 +1218,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1218
1218
|
* @param {RichTextEditorModel} oldProp - specifies the old property.
|
|
1219
1219
|
* @returns {void}
|
|
1220
1220
|
* @hidden
|
|
1221
|
-
|
|
1221
|
+
* @deprecated
|
|
1222
1222
|
*/
|
|
1223
1223
|
/* eslint-disable */
|
|
1224
1224
|
RichTextEditor.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
@@ -1373,7 +1373,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* @hidden
|
|
1375
1375
|
* @returns {void}
|
|
1376
|
-
|
|
1376
|
+
* @deprecated
|
|
1377
1377
|
*/
|
|
1378
1378
|
RichTextEditor.prototype.updateValueData = function () {
|
|
1379
1379
|
if (this.enableHtmlEncode) {
|
|
@@ -1460,7 +1460,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1460
1460
|
*
|
|
1461
1461
|
* @returns {void}
|
|
1462
1462
|
* @hidden
|
|
1463
|
-
|
|
1463
|
+
* @deprecated
|
|
1464
1464
|
*/
|
|
1465
1465
|
RichTextEditor.prototype.setPlaceHolder = function () {
|
|
1466
1466
|
if (this.inputElement && this.placeholder && this.iframeSettings.enable !== true) {
|
|
@@ -1538,7 +1538,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1538
1538
|
* @param {boolean} initial - specifies the boolean value
|
|
1539
1539
|
* @returns {void}
|
|
1540
1540
|
* @hidden
|
|
1541
|
-
|
|
1541
|
+
* @deprecated
|
|
1542
1542
|
*/
|
|
1543
1543
|
RichTextEditor.prototype.setReadOnly = function (initial) {
|
|
1544
1544
|
this.updateReadOnly();
|
|
@@ -1639,7 +1639,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1639
1639
|
*
|
|
1640
1640
|
* @returns {void}
|
|
1641
1641
|
* @public
|
|
1642
|
-
|
|
1642
|
+
* @deprecated
|
|
1643
1643
|
*/
|
|
1644
1644
|
RichTextEditor.prototype.getRange = function () {
|
|
1645
1645
|
return this.formatter.editorManager.nodeSelection.getRange(this.contentModule.getDocument());
|
|
@@ -1784,7 +1784,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1784
1784
|
*
|
|
1785
1785
|
* @returns {void}
|
|
1786
1786
|
* @hidden
|
|
1787
|
-
|
|
1787
|
+
* @deprecated
|
|
1788
1788
|
*/
|
|
1789
1789
|
RichTextEditor.prototype.getInsertImgMaxWidth = function () {
|
|
1790
1790
|
var maxWidth = this.insertImageSettings.maxWidth;
|
|
@@ -1803,7 +1803,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1803
1803
|
*
|
|
1804
1804
|
* @returns {void}
|
|
1805
1805
|
* @hidden
|
|
1806
|
-
|
|
1806
|
+
* @deprecated
|
|
1807
1807
|
*/
|
|
1808
1808
|
RichTextEditor.prototype.getInsertVidMaxWidth = function () {
|
|
1809
1809
|
var maxWidth = this.insertVideoSettings.maxWidth;
|
|
@@ -1824,7 +1824,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1824
1824
|
* @param {boolean} isExpand - specifies the bollean value.
|
|
1825
1825
|
* @returns {void}
|
|
1826
1826
|
* @hidden
|
|
1827
|
-
|
|
1827
|
+
* @deprecated
|
|
1828
1828
|
*/
|
|
1829
1829
|
RichTextEditor.prototype.setContentHeight = function (target, isExpand) {
|
|
1830
1830
|
var heightValue;
|
|
@@ -1988,7 +1988,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
1988
1988
|
/**
|
|
1989
1989
|
* @returns {void}
|
|
1990
1990
|
* @hidden
|
|
1991
|
-
|
|
1991
|
+
* @deprecated
|
|
1992
1992
|
*/
|
|
1993
1993
|
RichTextEditor.prototype.getBaseToolbarObject = function () {
|
|
1994
1994
|
var tbObj;
|
|
@@ -2003,7 +2003,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2003
2003
|
/**
|
|
2004
2004
|
* @returns {void}
|
|
2005
2005
|
* @hidden
|
|
2006
|
-
|
|
2006
|
+
* @deprecated
|
|
2007
2007
|
*/
|
|
2008
2008
|
RichTextEditor.prototype.getToolbar = function () {
|
|
2009
2009
|
return this.toolbarModule ? this.toolbarModule.getToolbarElement() : null;
|
|
@@ -2011,7 +2011,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2011
2011
|
/**
|
|
2012
2012
|
* @returns {void}
|
|
2013
2013
|
* @hidden
|
|
2014
|
-
|
|
2014
|
+
* @deprecated
|
|
2015
2015
|
*/
|
|
2016
2016
|
RichTextEditor.prototype.getToolbarElement = function () {
|
|
2017
2017
|
return this.toolbarModule && this.toolbarModule.getToolbarElement();
|
|
@@ -2021,7 +2021,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2021
2021
|
* getID method
|
|
2022
2022
|
*
|
|
2023
2023
|
* @hidden
|
|
2024
|
-
|
|
2024
|
+
* @deprecated
|
|
2025
2025
|
*/
|
|
2026
2026
|
RichTextEditor.prototype.getID = function () {
|
|
2027
2027
|
return (this.originalElement.tagName === 'TEXTAREA' ? this.valueContainer.id : this.element.id);
|
|
@@ -2044,7 +2044,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2044
2044
|
* @param {FocusEvent} e - specifies the event.
|
|
2045
2045
|
* @returns {void}
|
|
2046
2046
|
* @hidden
|
|
2047
|
-
|
|
2047
|
+
* @deprecated
|
|
2048
2048
|
*/
|
|
2049
2049
|
// eslint-disable-next-line
|
|
2050
2050
|
RichTextEditor.prototype.preventDefaultResize = function (e) {
|
|
@@ -2257,7 +2257,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2257
2257
|
*
|
|
2258
2258
|
* @returns {void}
|
|
2259
2259
|
* @hidden
|
|
2260
|
-
|
|
2260
|
+
* @deprecated
|
|
2261
2261
|
*/
|
|
2262
2262
|
RichTextEditor.prototype.contentChanged = function () {
|
|
2263
2263
|
if (this.autoSaveOnIdle) {
|
|
@@ -2272,7 +2272,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2272
2272
|
*
|
|
2273
2273
|
* @returns {void}
|
|
2274
2274
|
* @hidden
|
|
2275
|
-
|
|
2275
|
+
* @deprecated
|
|
2276
2276
|
*/
|
|
2277
2277
|
RichTextEditor.prototype.invokeChangeEvent = function () {
|
|
2278
2278
|
var currentValue;
|
|
@@ -2294,7 +2294,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2294
2294
|
/**
|
|
2295
2295
|
* @returns {void}
|
|
2296
2296
|
* @hidden
|
|
2297
|
-
|
|
2297
|
+
* @deprecated
|
|
2298
2298
|
*/
|
|
2299
2299
|
RichTextEditor.prototype.wireScrollElementsEvents = function () {
|
|
2300
2300
|
this.scrollParentElements = getScrollableParent(this.element);
|
|
@@ -2324,7 +2324,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2324
2324
|
/**
|
|
2325
2325
|
* @returns {void}
|
|
2326
2326
|
* @hidden
|
|
2327
|
-
|
|
2327
|
+
* @deprecated
|
|
2328
2328
|
*/
|
|
2329
2329
|
RichTextEditor.prototype.unWireScrollElementsEvents = function () {
|
|
2330
2330
|
this.scrollParentElements = getScrollableParent(this.element);
|
|
@@ -2355,7 +2355,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2355
2355
|
/**
|
|
2356
2356
|
* @returns {void}
|
|
2357
2357
|
* @hidden
|
|
2358
|
-
|
|
2358
|
+
* @deprecated
|
|
2359
2359
|
*/
|
|
2360
2360
|
RichTextEditor.prototype.autoResize = function () {
|
|
2361
2361
|
var _this = this;
|
|
@@ -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
|
/**
|
|
@@ -321,7 +321,7 @@ export function updateUndoRedoStatus(baseToolbar, undoRedoStatus) {
|
|
|
321
321
|
* @param {string} type - specifies the string type.
|
|
322
322
|
* @returns {void}
|
|
323
323
|
* @hidden
|
|
324
|
-
|
|
324
|
+
* @deprecated
|
|
325
325
|
*/
|
|
326
326
|
export function dispatchEvent(element, type) {
|
|
327
327
|
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;
|
|
@@ -157,7 +157,7 @@ var Formatter = /** @class */ (function () {
|
|
|
157
157
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
158
158
|
* @returns {void}
|
|
159
159
|
* @hidden
|
|
160
|
-
|
|
160
|
+
* @deprecated
|
|
161
161
|
*/
|
|
162
162
|
Formatter.prototype.onKeyHandler = function (self, e) {
|
|
163
163
|
var _this = this;
|
|
@@ -175,7 +175,7 @@ var Formatter = /** @class */ (function () {
|
|
|
175
175
|
* @param {IMarkdownFormatterCallBack} events - specifies the event call back
|
|
176
176
|
* @returns {void}
|
|
177
177
|
* @hidden
|
|
178
|
-
|
|
178
|
+
* @deprecated
|
|
179
179
|
*/
|
|
180
180
|
Formatter.prototype.onSuccess = function (self, events) {
|
|
181
181
|
self.notify(CONSTANT.contentChanged, {});
|
|
@@ -209,7 +209,7 @@ var Formatter = /** @class */ (function () {
|
|
|
209
209
|
* @param {KeyboardEvent} e - specifies the keyboard event.
|
|
210
210
|
* @returns {void}
|
|
211
211
|
* @hidden
|
|
212
|
-
|
|
212
|
+
* @deprecated
|
|
213
213
|
*/
|
|
214
214
|
Formatter.prototype.saveData = function (e) {
|
|
215
215
|
this.editorManager.undoRedoManager.saveData(e);
|
|
@@ -219,7 +219,7 @@ var Formatter = /** @class */ (function () {
|
|
|
219
219
|
*
|
|
220
220
|
* @returns {void}
|
|
221
221
|
* @hidden
|
|
222
|
-
|
|
222
|
+
* @deprecated
|
|
223
223
|
*/
|
|
224
224
|
Formatter.prototype.getUndoStatus = function () {
|
|
225
225
|
return this.editorManager.undoRedoManager.getUndoStatus();
|
|
@@ -231,7 +231,7 @@ var Formatter = /** @class */ (function () {
|
|
|
231
231
|
* @param {IHtmlUndoRedoData} - specifies the redo data.
|
|
232
232
|
* @returns {void}
|
|
233
233
|
* @hidden
|
|
234
|
-
|
|
234
|
+
* @deprecated
|
|
235
235
|
*/
|
|
236
236
|
/* eslint-enable */
|
|
237
237
|
Formatter.prototype.getUndoRedoStack = function () {
|
|
@@ -243,7 +243,7 @@ var Formatter = /** @class */ (function () {
|
|
|
243
243
|
* @param {IRichTextEditor} self - specifies the self element.
|
|
244
244
|
* @returns {void}
|
|
245
245
|
* @hidden
|
|
246
|
-
|
|
246
|
+
* @deprecated
|
|
247
247
|
*/
|
|
248
248
|
Formatter.prototype.enableUndo = function (self) {
|
|
249
249
|
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) {
|