@syncfusion/ej2-richtexteditor 27.1.52 → 27.1.57-637881
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/README.md +1 -1
- package/dist/ej2-richtexteditor.min.js +1 -0
- 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 +298 -83
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +299 -82
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +1 -10
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +84 -84
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +12 -0
- package/src/common/interface.d.ts +8 -8
- 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 +4 -4
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +11 -11
- 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 +2 -2
- package/src/editor-manager/plugin/dom-node.d.ts +36 -36
- package/src/editor-manager/plugin/dom-node.js +37 -37
- 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 +5 -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 +36 -12
- 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 +4 -4
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +3 -3
- 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 +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +3 -3
- 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 +3 -3
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +9 -9
- 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 -5
- 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 +5 -5
- package/src/rich-text-editor/actions/import-export.js +1 -1
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +1 -1
- 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 +47 -23
- 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.d.ts +3 -0
- package/src/rich-text-editor/actions/resize.js +17 -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 +64 -52
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
- package/src/rich-text-editor/base/rich-text-editor.js +48 -34
- 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 +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
- 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 +4 -4
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +64 -23
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +9 -2
- 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 +1 -1
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +4 -3
- 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 +9 -3
- 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 +27 -22
- package/src/selection/selection.js +66 -23
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
|
@@ -61,7 +61,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
61
61
|
* @param {RenderType} type - specifies the render type.
|
|
62
62
|
* @returns {BaseQuickToolbar} - specifies the quick toolbar
|
|
63
63
|
* @hidden
|
|
64
|
-
|
|
64
|
+
* @deprecated
|
|
65
65
|
*/
|
|
66
66
|
QuickToolbar.prototype.createQTBar = function (popupType, mode, items, type) {
|
|
67
67
|
if (items.length < 1) {
|
|
@@ -148,7 +148,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
148
148
|
* @param {HTMLElement} target - specifies the target element.
|
|
149
149
|
* @returns {void}
|
|
150
150
|
* @hidden
|
|
151
|
-
|
|
151
|
+
* @deprecated
|
|
152
152
|
*/
|
|
153
153
|
QuickToolbar.prototype.showInlineQTBar = function (x, y, target) {
|
|
154
154
|
if (isNOU(this.parent) || this.parent.readonly || target.tagName.toLowerCase() === 'img' || this.inlineQTBar.element.querySelector('.e-rte-color-content')) {
|
|
@@ -161,7 +161,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
161
161
|
*
|
|
162
162
|
* @returns {void}
|
|
163
163
|
* @hidden
|
|
164
|
-
|
|
164
|
+
* @deprecated
|
|
165
165
|
*/
|
|
166
166
|
QuickToolbar.prototype.hideInlineQTBar = function () {
|
|
167
167
|
if (this.inlineQTBar && !hasClass(this.inlineQTBar.element, 'e-popup-close')) {
|
|
@@ -173,7 +173,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
173
173
|
*
|
|
174
174
|
* @returns {void}
|
|
175
175
|
* @hidden
|
|
176
|
-
|
|
176
|
+
* @deprecated
|
|
177
177
|
*/
|
|
178
178
|
QuickToolbar.prototype.hideQuickToolbars = function () {
|
|
179
179
|
if (this.linkQTBar && !hasClass(this.linkQTBar.element, 'e-popup-close') && document.body.contains(this.linkQTBar.element)) {
|
|
@@ -341,7 +341,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
341
341
|
*
|
|
342
342
|
* @returns {void}
|
|
343
343
|
* @hidden
|
|
344
|
-
|
|
344
|
+
* @deprecated
|
|
345
345
|
*/
|
|
346
346
|
QuickToolbar.prototype.getInlineBaseToolbar = function () {
|
|
347
347
|
return this.inlineQTBar && this.inlineQTBar.quickTBarObj;
|
|
@@ -352,7 +352,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
352
352
|
* @function destroy
|
|
353
353
|
* @returns {void}
|
|
354
354
|
* @hidden
|
|
355
|
-
|
|
355
|
+
* @deprecated
|
|
356
356
|
*/
|
|
357
357
|
QuickToolbar.prototype.destroy = function () {
|
|
358
358
|
if (this.isDestroyed) {
|
|
@@ -438,7 +438,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
438
438
|
*
|
|
439
439
|
* @returns {void}
|
|
440
440
|
* @hidden
|
|
441
|
-
|
|
441
|
+
* @deprecated
|
|
442
442
|
*/
|
|
443
443
|
QuickToolbar.prototype.addEventListener = function () {
|
|
444
444
|
if (this.parent.isDestroyed) {
|
|
@@ -532,7 +532,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
532
532
|
*
|
|
533
533
|
* @returns {void}
|
|
534
534
|
* @hidden
|
|
535
|
-
|
|
535
|
+
* @deprecated
|
|
536
536
|
*/
|
|
537
537
|
QuickToolbar.prototype.removeEventListener = function () {
|
|
538
538
|
if (this.deBouncer) {
|
|
@@ -563,7 +563,7 @@ var QuickToolbar = /** @class */ (function () {
|
|
|
563
563
|
* @param {RichTextEditorModel} e - specifies the element.
|
|
564
564
|
* @returns {void}
|
|
565
565
|
* @hidden
|
|
566
|
-
|
|
566
|
+
* @deprecated
|
|
567
567
|
*/
|
|
568
568
|
QuickToolbar.prototype.onPropertyChanged = function (e) {
|
|
569
569
|
if (!isNullOrUndefined(e.newProp.quickToolbarSettings)) {
|
|
@@ -9,6 +9,8 @@ export declare class Resize {
|
|
|
9
9
|
protected touchMoveEvent: string;
|
|
10
10
|
protected touchEndEvent: string;
|
|
11
11
|
private isDestroyed;
|
|
12
|
+
private isResizing;
|
|
13
|
+
private iframeMouseUpBoundFn;
|
|
12
14
|
private constructor();
|
|
13
15
|
private addEventListener;
|
|
14
16
|
private renderResizable;
|
|
@@ -21,6 +23,7 @@ export declare class Resize {
|
|
|
21
23
|
private unwireResizeEvents;
|
|
22
24
|
private destroy;
|
|
23
25
|
private removeEventListener;
|
|
26
|
+
private iframeMouseUp;
|
|
24
27
|
/**
|
|
25
28
|
* For internal use only - Get the module name.
|
|
26
29
|
*
|
|
@@ -9,6 +9,8 @@ var Resize = /** @class */ (function () {
|
|
|
9
9
|
this.parent = parent;
|
|
10
10
|
this.addEventListener();
|
|
11
11
|
this.isDestroyed = false;
|
|
12
|
+
this.isResizing = false;
|
|
13
|
+
this.iframeMouseUpBoundFn = this.iframeMouseUp.bind(this);
|
|
12
14
|
}
|
|
13
15
|
Resize.prototype.addEventListener = function () {
|
|
14
16
|
if (this.parent.isDestroyed) {
|
|
@@ -28,6 +30,7 @@ var Resize = /** @class */ (function () {
|
|
|
28
30
|
this.parent.rootContainer.classList.add('e-resize-enabled');
|
|
29
31
|
if (this.parent.iframeSettings.enable) {
|
|
30
32
|
this.parent.inputElement.classList.add('e-resize-enabled');
|
|
33
|
+
this.parent.contentModule.getDocument().addEventListener('mouseup', this.iframeMouseUpBoundFn);
|
|
31
34
|
}
|
|
32
35
|
this.touchStartEvent = (Browser.info.name === 'msie') ? 'pointerdown' : 'touchstart';
|
|
33
36
|
EventHandler.add(this.resizer, 'mousedown', this.resizeStart, this);
|
|
@@ -35,6 +38,7 @@ var Resize = /** @class */ (function () {
|
|
|
35
38
|
};
|
|
36
39
|
Resize.prototype.resizeStart = function (e) {
|
|
37
40
|
var _this = this;
|
|
41
|
+
this.isResizing = false;
|
|
38
42
|
if (e.cancelable) {
|
|
39
43
|
e.preventDefault();
|
|
40
44
|
}
|
|
@@ -49,6 +53,7 @@ var Resize = /** @class */ (function () {
|
|
|
49
53
|
};
|
|
50
54
|
Resize.prototype.performResize = function (e) {
|
|
51
55
|
var _this = this;
|
|
56
|
+
this.isResizing = true;
|
|
52
57
|
var args = { event: e, requestType: 'editor' };
|
|
53
58
|
this.parent.trigger(events.onResize, args, function (resizingArgs) {
|
|
54
59
|
if (resizingArgs.cancel) {
|
|
@@ -75,9 +80,14 @@ var Resize = /** @class */ (function () {
|
|
|
75
80
|
this.parent.element.style.height = eventType.clientY - boundRect.top + 'px';
|
|
76
81
|
this.parent.element.style.width = (!this.parent.enableRtl) ? eventType.clientX - boundRect.left + 'px' : boundRect.right - eventType.clientX + 'px';
|
|
77
82
|
}
|
|
83
|
+
var rteContent = this.parent.element.querySelector('#' + this.parent.getID() + '_source-view');
|
|
84
|
+
if (!isNullOrUndefined(rteContent)) {
|
|
85
|
+
rteContent.style.height = this.parent.element.style.height;
|
|
86
|
+
}
|
|
78
87
|
this.parent.refreshUI();
|
|
79
88
|
};
|
|
80
89
|
Resize.prototype.stopResize = function (e) {
|
|
90
|
+
this.isResizing = false;
|
|
81
91
|
this.parent.refreshUI();
|
|
82
92
|
this.unwireResizeEvents();
|
|
83
93
|
var args = { event: e, requestType: 'editor' };
|
|
@@ -127,6 +137,7 @@ var Resize = /** @class */ (function () {
|
|
|
127
137
|
}
|
|
128
138
|
if (this.parent.iframeSettings.enable && !isNullOrUndefined(this.parent.inputElement)) {
|
|
129
139
|
this.parent.inputElement.classList.remove('e-resize-enabled');
|
|
140
|
+
this.parent.contentModule.getDocument().removeEventListener('mouseup', this.iframeMouseUpBoundFn);
|
|
130
141
|
}
|
|
131
142
|
if (this.resizer) {
|
|
132
143
|
EventHandler.remove(this.resizer, 'mousedown', this.resizeStart);
|
|
@@ -134,6 +145,12 @@ var Resize = /** @class */ (function () {
|
|
|
134
145
|
detach(this.resizer);
|
|
135
146
|
}
|
|
136
147
|
this.parent.off(events.destroy, this.destroy);
|
|
148
|
+
this.iframeMouseUpBoundFn = null;
|
|
149
|
+
};
|
|
150
|
+
Resize.prototype.iframeMouseUp = function (e) {
|
|
151
|
+
if (this.isResizing) {
|
|
152
|
+
this.stopResize(e);
|
|
153
|
+
}
|
|
137
154
|
};
|
|
138
155
|
/**
|
|
139
156
|
* For internal use only - Get the module name.
|
|
@@ -45,7 +45,7 @@ export declare class Toolbar {
|
|
|
45
45
|
*
|
|
46
46
|
* @returns {void}
|
|
47
47
|
* @hidden
|
|
48
|
-
|
|
48
|
+
* @deprecated
|
|
49
49
|
*/
|
|
50
50
|
addFixedTBarClass(): void;
|
|
51
51
|
/**
|
|
@@ -53,7 +53,7 @@ export declare class Toolbar {
|
|
|
53
53
|
*
|
|
54
54
|
* @returns {void}
|
|
55
55
|
* @hidden
|
|
56
|
-
|
|
56
|
+
* @deprecated
|
|
57
57
|
*/
|
|
58
58
|
removeFixedTBarClass(): void;
|
|
59
59
|
private showFixedTBar;
|
|
@@ -64,7 +64,7 @@ export declare class Toolbar {
|
|
|
64
64
|
* @param {IUpdateItemsModel} args - specifies the arguments.
|
|
65
65
|
* @returns {void}
|
|
66
66
|
* @hidden
|
|
67
|
-
|
|
67
|
+
* @deprecated
|
|
68
68
|
*/
|
|
69
69
|
updateItem(args: IUpdateItemsModel): void;
|
|
70
70
|
private updateToolbarStatus;
|
|
@@ -75,7 +75,7 @@ export declare class Toolbar {
|
|
|
75
75
|
*
|
|
76
76
|
* @returns {void}
|
|
77
77
|
* @hidden
|
|
78
|
-
|
|
78
|
+
* @deprecated
|
|
79
79
|
*/
|
|
80
80
|
getBaseToolbar(): BaseToolbar;
|
|
81
81
|
/**
|
|
@@ -85,7 +85,7 @@ export declare class Toolbar {
|
|
|
85
85
|
* @param {number} index - specifies the index value.
|
|
86
86
|
* @returns {void}
|
|
87
87
|
* @hidden
|
|
88
|
-
|
|
88
|
+
* @deprecated
|
|
89
89
|
*/
|
|
90
90
|
addTBarItem(args: IUpdateItemsModel, index: number): void;
|
|
91
91
|
/**
|
|
@@ -97,7 +97,7 @@ export declare class Toolbar {
|
|
|
97
97
|
* @param {boolean} muteToolbarUpdate - specifies the toolbar.
|
|
98
98
|
* @returns {void}
|
|
99
99
|
* @hidden
|
|
100
|
-
|
|
100
|
+
* @deprecated
|
|
101
101
|
*/
|
|
102
102
|
enableTBarItems(baseToolbar: BaseToolbar, items: string | string[], isEnable: boolean, muteToolbarUpdate?: boolean): void;
|
|
103
103
|
/**
|
|
@@ -106,7 +106,7 @@ export declare class Toolbar {
|
|
|
106
106
|
* @param {string} items - specifies the string value.
|
|
107
107
|
* @returns {void}
|
|
108
108
|
* @hidden
|
|
109
|
-
|
|
109
|
+
* @deprecated
|
|
110
110
|
*/
|
|
111
111
|
removeTBarItems(items: string | string[]): void;
|
|
112
112
|
/**
|
|
@@ -114,7 +114,7 @@ export declare class Toolbar {
|
|
|
114
114
|
*
|
|
115
115
|
* @returns {void}
|
|
116
116
|
* @hidden
|
|
117
|
-
|
|
117
|
+
* @deprecated
|
|
118
118
|
*/
|
|
119
119
|
getExpandTBarPopHeight(): number;
|
|
120
120
|
/**
|
|
@@ -122,7 +122,7 @@ export declare class Toolbar {
|
|
|
122
122
|
*
|
|
123
123
|
* @returns {void}
|
|
124
124
|
* @hidden
|
|
125
|
-
|
|
125
|
+
* @deprecated
|
|
126
126
|
*/
|
|
127
127
|
getToolbarHeight(): number;
|
|
128
128
|
/**
|
|
@@ -130,7 +130,7 @@ export declare class Toolbar {
|
|
|
130
130
|
*
|
|
131
131
|
* @returns {void}
|
|
132
132
|
* @hidden
|
|
133
|
-
|
|
133
|
+
* @deprecated
|
|
134
134
|
*/
|
|
135
135
|
getToolbarElement(): Element;
|
|
136
136
|
/**
|
|
@@ -138,7 +138,7 @@ export declare class Toolbar {
|
|
|
138
138
|
*
|
|
139
139
|
* @returns {void}
|
|
140
140
|
* @hidden
|
|
141
|
-
|
|
141
|
+
* @deprecated
|
|
142
142
|
*/
|
|
143
143
|
refreshToolbarOverflow(): void;
|
|
144
144
|
private isToolbarDestroyed;
|
|
@@ -149,7 +149,7 @@ export declare class Toolbar {
|
|
|
149
149
|
* @function destroy
|
|
150
150
|
* @returns {void}
|
|
151
151
|
* @hidden
|
|
152
|
-
|
|
152
|
+
* @deprecated
|
|
153
153
|
*/
|
|
154
154
|
destroy(): void;
|
|
155
155
|
private mouseDownHandler;
|
|
@@ -168,7 +168,7 @@ export declare class Toolbar {
|
|
|
168
168
|
* @param {RichTextEditorModel} e - specifies the string value
|
|
169
169
|
* @returns {void}
|
|
170
170
|
* @hidden
|
|
171
|
-
|
|
171
|
+
* @deprecated
|
|
172
172
|
*/
|
|
173
173
|
protected onPropertyChanged(e: {
|
|
174
174
|
[key: string]: RichTextEditorModel;
|
|
@@ -206,7 +206,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
206
206
|
*
|
|
207
207
|
* @returns {void}
|
|
208
208
|
* @hidden
|
|
209
|
-
|
|
209
|
+
* @deprecated
|
|
210
210
|
*/
|
|
211
211
|
Toolbar.prototype.addFixedTBarClass = function () {
|
|
212
212
|
addClass([this.tbElement], [classes.CLS_TB_FIXED]);
|
|
@@ -216,7 +216,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
216
216
|
*
|
|
217
217
|
* @returns {void}
|
|
218
218
|
* @hidden
|
|
219
|
-
|
|
219
|
+
* @deprecated
|
|
220
220
|
*/
|
|
221
221
|
Toolbar.prototype.removeFixedTBarClass = function () {
|
|
222
222
|
removeClass([this.tbElement], [classes.CLS_TB_FIXED]);
|
|
@@ -237,7 +237,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
237
237
|
* @param {IUpdateItemsModel} args - specifies the arguments.
|
|
238
238
|
* @returns {void}
|
|
239
239
|
* @hidden
|
|
240
|
-
|
|
240
|
+
* @deprecated
|
|
241
241
|
*/
|
|
242
242
|
Toolbar.prototype.updateItem = function (args) {
|
|
243
243
|
var item = this.tools[args.updateItem.toLocaleLowerCase()];
|
|
@@ -283,7 +283,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
283
283
|
*
|
|
284
284
|
* @returns {void}
|
|
285
285
|
* @hidden
|
|
286
|
-
|
|
286
|
+
* @deprecated
|
|
287
287
|
*/
|
|
288
288
|
Toolbar.prototype.getBaseToolbar = function () {
|
|
289
289
|
return this.baseToolbar;
|
|
@@ -295,7 +295,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
295
295
|
* @param {number} index - specifies the index value.
|
|
296
296
|
* @returns {void}
|
|
297
297
|
* @hidden
|
|
298
|
-
|
|
298
|
+
* @deprecated
|
|
299
299
|
*/
|
|
300
300
|
Toolbar.prototype.addTBarItem = function (args, index) {
|
|
301
301
|
args.baseToolbar.toolbarObj.addItems([args.baseToolbar.getObject(args.updateItem, 'toolbar')], index);
|
|
@@ -309,7 +309,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
309
309
|
* @param {boolean} muteToolbarUpdate - specifies the toolbar.
|
|
310
310
|
* @returns {void}
|
|
311
311
|
* @hidden
|
|
312
|
-
|
|
312
|
+
* @deprecated
|
|
313
313
|
*/
|
|
314
314
|
Toolbar.prototype.enableTBarItems = function (baseToolbar, items, isEnable, muteToolbarUpdate) {
|
|
315
315
|
var trgItems = getTBarItemsIndex(getCollection(items), baseToolbar.toolbarObj.items);
|
|
@@ -330,7 +330,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
330
330
|
* @param {string} items - specifies the string value.
|
|
331
331
|
* @returns {void}
|
|
332
332
|
* @hidden
|
|
333
|
-
|
|
333
|
+
* @deprecated
|
|
334
334
|
*/
|
|
335
335
|
Toolbar.prototype.removeTBarItems = function (items) {
|
|
336
336
|
if (isNullOrUndefined(this.baseToolbar.toolbarObj)) {
|
|
@@ -348,7 +348,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
348
348
|
*
|
|
349
349
|
* @returns {void}
|
|
350
350
|
* @hidden
|
|
351
|
-
|
|
351
|
+
* @deprecated
|
|
352
352
|
*/
|
|
353
353
|
Toolbar.prototype.getExpandTBarPopHeight = function () {
|
|
354
354
|
var popHeight = 0;
|
|
@@ -371,7 +371,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
371
371
|
*
|
|
372
372
|
* @returns {void}
|
|
373
373
|
* @hidden
|
|
374
|
-
|
|
374
|
+
* @deprecated
|
|
375
375
|
*/
|
|
376
376
|
Toolbar.prototype.getToolbarHeight = function () {
|
|
377
377
|
return this.tbElement.offsetHeight;
|
|
@@ -381,7 +381,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
381
381
|
*
|
|
382
382
|
* @returns {void}
|
|
383
383
|
* @hidden
|
|
384
|
-
|
|
384
|
+
* @deprecated
|
|
385
385
|
*/
|
|
386
386
|
Toolbar.prototype.getToolbarElement = function () {
|
|
387
387
|
return this.parent && this.parent.element ? select('.' + classes.CLS_TOOLBAR, this.parent.element) : null;
|
|
@@ -391,7 +391,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
391
391
|
*
|
|
392
392
|
* @returns {void}
|
|
393
393
|
* @hidden
|
|
394
|
-
|
|
394
|
+
* @deprecated
|
|
395
395
|
*/
|
|
396
396
|
Toolbar.prototype.refreshToolbarOverflow = function () {
|
|
397
397
|
this.parent.element.classList.remove(classes.CLS_RTL);
|
|
@@ -438,7 +438,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
438
438
|
* @function destroy
|
|
439
439
|
* @returns {void}
|
|
440
440
|
* @hidden
|
|
441
|
-
|
|
441
|
+
* @deprecated
|
|
442
442
|
*/
|
|
443
443
|
Toolbar.prototype.destroy = function () {
|
|
444
444
|
if (this.isDestroyed) {
|
|
@@ -565,7 +565,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
565
565
|
* @param {RichTextEditorModel} e - specifies the string value
|
|
566
566
|
* @returns {void}
|
|
567
567
|
* @hidden
|
|
568
|
-
|
|
568
|
+
* @deprecated
|
|
569
569
|
*/
|
|
570
570
|
Toolbar.prototype.onPropertyChanged = function (e) {
|
|
571
571
|
if (!isNullOrUndefined(e.newProp.inlineMode)) {
|
|
@@ -13,7 +13,7 @@ export declare class XhtmlValidation {
|
|
|
13
13
|
* @param {string} currentValue - specifies the string value.
|
|
14
14
|
* @param {number} valueLength - specifies the length of the current value.
|
|
15
15
|
* @returns {void}
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
selfEncloseValidation(currentValue: string, valueLength?: number): string;
|
|
19
19
|
private clean;
|
|
@@ -37,7 +37,7 @@ var XhtmlValidation = /** @class */ (function () {
|
|
|
37
37
|
* @param {string} currentValue - specifies the string value.
|
|
38
38
|
* @param {number} valueLength - specifies the length of the current value.
|
|
39
39
|
* @returns {void}
|
|
40
|
-
|
|
40
|
+
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
XhtmlValidation.prototype.selfEncloseValidation = function (currentValue, valueLength) {
|
|
43
43
|
if (valueLength === 0 && currentValue.indexOf('table') < 0 && currentValue.indexOf('img') < 0 &&
|