@syncfusion/ej2-richtexteditor 24.1.41 → 24.1.43-569781
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +259 -259
- package/CHANGELOG.md +1927 -1775
- 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 +2601 -1077
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +2706 -1181
- 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/config.d.ts +7 -0
- package/src/common/config.js +11 -0
- package/src/common/constant.d.ts +6 -0
- package/src/common/constant.js +6 -0
- package/src/common/interface.d.ts +19 -7
- package/src/common/types.d.ts +6 -0
- package/src/common/util.d.ts +6 -0
- package/src/common/util.js +61 -20
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/constant.d.ts +6 -0
- package/src/editor-manager/base/constant.js +6 -0
- package/src/editor-manager/base/editor-manager.d.ts +8 -3
- package/src/editor-manager/base/editor-manager.js +62 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +17 -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 +39 -35
- package/src/editor-manager/plugin/dom-node.js +203 -49
- package/src/editor-manager/plugin/format-painter-actions.d.ts +2 -1
- package/src/editor-manager/plugin/format-painter-actions.js +20 -2
- package/src/editor-manager/plugin/formats.d.ts +3 -2
- package/src/editor-manager/plugin/formats.js +40 -5
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +15 -19
- 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 +64 -7
- 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 +6 -3
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +123 -67
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +4 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +213 -86
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +8 -8
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
- package/src/editor-manager/plugin/selection-commands.js +127 -4
- 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 -3
- package/src/editor-manager/plugin/table.js +35 -32
- package/src/editor-manager/plugin/toolbar-status.d.ts +4 -4
- package/src/editor-manager/plugin/toolbar-status.js +22 -12
- package/src/editor-manager/plugin/undo.d.ts +7 -6
- package/src/editor-manager/plugin/undo.js +27 -7
- 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 +12 -12
- package/src/rich-text-editor/actions/base-quick-toolbar.js +57 -20
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +35 -37
- package/src/rich-text-editor/actions/color-picker.d.ts +3 -2
- package/src/rich-text-editor/actions/color-picker.js +12 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +4 -4
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +23 -4
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +4 -4
- package/src/rich-text-editor/actions/enter-key.js +4 -3
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +6 -5
- package/src/rich-text-editor/actions/html-editor.d.ts +5 -5
- package/src/rich-text-editor/actions/html-editor.js +129 -45
- 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 +23 -21
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +5 -3
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +4 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +87 -12
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +16 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +33 -18
- package/src/rich-text-editor/actions/resize.js +2 -1
- package/src/rich-text-editor/actions/toolbar-action.js +1 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +15 -16
- package/src/rich-text-editor/actions/toolbar.js +31 -100
- 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 -126
- package/src/rich-text-editor/base/classes.js +121 -126
- package/src/rich-text-editor/base/constant.d.ts +190 -150
- package/src/rich-text-editor/base/constant.js +359 -150
- 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 +87 -53
- 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 +68 -65
- package/src/rich-text-editor/base/rich-text-editor.js +232 -199
- package/src/rich-text-editor/base/util.d.ts +5 -1
- package/src/rich-text-editor/base/util.js +47 -4
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +23 -12
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +15 -15
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
- package/src/rich-text-editor/models/default-locale.js +30 -26
- 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/items.js +2 -2
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +20 -20
- package/src/rich-text-editor/renderer/audio-module.d.ts +2 -1
- package/src/rich-text-editor/renderer/audio-module.js +14 -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 +4 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +14 -3
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +19 -18
- package/src/rich-text-editor/renderer/image-module.d.ts +10 -2
- package/src/rich-text-editor/renderer/image-module.js +200 -168
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +11 -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/table-module.d.ts +9 -2
- package/src/rich-text-editor/renderer/table-module.js +289 -137
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +13 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +103 -24
- package/src/rich-text-editor/renderer/video-module.d.ts +4 -1
- package/src/rich-text-editor/renderer/video-module.js +62 -35
- package/src/rich-text-editor/renderer/view-source.d.ts +7 -6
- package/src/rich-text-editor/renderer/view-source.js +18 -10
- 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 +25 -22
- package/styles/_all.scss +1 -1
- package/styles/bootstrap-dark.css +153 -49
- package/styles/bootstrap.css +158 -57
- package/styles/bootstrap4.css +145 -45
- package/styles/bootstrap5-dark.css +150 -45
- package/styles/bootstrap5.css +150 -45
- package/styles/fabric-dark.css +139 -39
- package/styles/fabric.css +140 -40
- package/styles/fluent-dark.css +147 -41
- package/styles/fluent.css +147 -41
- package/styles/highcontrast-light.css +139 -39
- package/styles/highcontrast.css +143 -40
- package/styles/material-dark.css +143 -39
- package/styles/material.css +143 -39
- package/styles/material3-dark.css +155 -49
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +155 -49
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bds-definition.scss +279 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +281 -277
- package/styles/rich-text-editor/_bootstrap-definition.scss +337 -334
- package/styles/rich-text-editor/_bootstrap4-definition.scss +464 -460
- package/styles/rich-text-editor/_bootstrap5-definition.scss +266 -262
- package/styles/rich-text-editor/_fabric-dark-definition.scss +263 -259
- package/styles/rich-text-editor/_fabric-definition.scss +261 -257
- package/styles/rich-text-editor/_fluent-definition.scss +267 -263
- package/styles/rich-text-editor/_fusionnew-definition.scss +265 -261
- package/styles/rich-text-editor/_highcontrast-definition.scss +261 -257
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +261 -257
- package/styles/rich-text-editor/_layout.scss +2249 -2147
- package/styles/rich-text-editor/_material-dark-definition.scss +266 -262
- package/styles/rich-text-editor/_material-definition.scss +264 -260
- package/styles/rich-text-editor/_material3-definition.scss +266 -262
- package/styles/rich-text-editor/_tailwind-definition.scss +261 -257
- package/styles/rich-text-editor/_theme.scss +906 -837
- package/styles/rich-text-editor/bootstrap-dark.css +153 -49
- package/styles/rich-text-editor/bootstrap.css +158 -57
- package/styles/rich-text-editor/bootstrap4.css +145 -45
- package/styles/rich-text-editor/bootstrap5-dark.css +150 -45
- package/styles/rich-text-editor/bootstrap5.css +150 -45
- package/styles/rich-text-editor/fabric-dark.css +139 -39
- package/styles/rich-text-editor/fabric.css +140 -40
- package/styles/rich-text-editor/fluent-dark.css +147 -41
- package/styles/rich-text-editor/fluent.css +147 -41
- package/styles/rich-text-editor/highcontrast-light.css +139 -39
- package/styles/rich-text-editor/highcontrast.css +143 -40
- package/styles/rich-text-editor/icons/_bds.scss +348 -0
- 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/material-dark.css +143 -39
- package/styles/rich-text-editor/material.css +143 -39
- package/styles/rich-text-editor/material3-dark.css +155 -49
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +155 -49
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +194 -66
- package/styles/rich-text-editor/tailwind.css +194 -66
- package/styles/tailwind-dark.css +194 -66
- package/styles/tailwind.css +194 -66
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
- 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
|
@@ -386,12 +386,20 @@ var Link = /** @class */ (function () {
|
|
|
386
386
|
}
|
|
387
387
|
var target = (this.selfLink.checkBoxObj.checked) ? '_blank' : null;
|
|
388
388
|
var linkLabel = (this.selfLink.checkBoxObj.checked) ? this.selfLink.i10n.getConstant('linkAriaLabel') : null;
|
|
389
|
+
if (this.selfLink.parent.editorMode === 'Markdown' && linkUrl === '') {
|
|
390
|
+
linkUrl = 'http://';
|
|
391
|
+
}
|
|
389
392
|
if (linkUrl === '') {
|
|
390
393
|
this.selfLink.checkUrl(true);
|
|
391
394
|
return;
|
|
392
395
|
}
|
|
393
396
|
if (!this.selfLink.isUrl(linkUrl)) {
|
|
394
|
-
|
|
397
|
+
if (this.selfLink.parent.editorMode === 'Markdown') {
|
|
398
|
+
linkText = (linkText !== '') ? linkText : '';
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
linkText = (linkText === '') ? linkUrl : linkText;
|
|
402
|
+
}
|
|
395
403
|
if (!this.selfLink.parent.enableAutoUrl) {
|
|
396
404
|
linkUrl = linkUrl.indexOf('http') > -1 ? linkUrl : 'http://' + linkUrl;
|
|
397
405
|
}
|
|
@@ -532,6 +540,7 @@ var Link = /** @class */ (function () {
|
|
|
532
540
|
this.parent.inlineMode.enable && !closest(target, '#' + this.dialogObj.element.id)) &&
|
|
533
541
|
!closest(target, '#' + this.parent.getID() + '_toolbar_CreateLink') &&
|
|
534
542
|
!target.querySelector('#' + this.parent.getID() + '_toolbar_CreateLink')))) {
|
|
543
|
+
this.parent.notify(events.documentClickClosedBy, { closedBy: "outside click" });
|
|
535
544
|
this.dialogObj.hide({ returnValue: true });
|
|
536
545
|
EventHandler.remove(this.parent.element.ownerDocument, 'mousedown', this.onDocumentClick);
|
|
537
546
|
this.parent.isBlur = true;
|
|
@@ -544,7 +553,7 @@ var Link = /** @class */ (function () {
|
|
|
544
553
|
* @function destroy
|
|
545
554
|
* @returns {void}
|
|
546
555
|
* @hidden
|
|
547
|
-
|
|
556
|
+
* @deprecated
|
|
548
557
|
*/
|
|
549
558
|
Link.prototype.destroy = function () {
|
|
550
559
|
if (isNOU(this.parent)) {
|
|
@@ -3,7 +3,7 @@ import { IRenderer, IRichTextEditor } from '../base/interface';
|
|
|
3
3
|
* Markdown module is used to render Rich Text Editor as Markdown editor content
|
|
4
4
|
*
|
|
5
5
|
* @hidden
|
|
6
|
-
|
|
6
|
+
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class MarkdownRender implements IRenderer {
|
|
9
9
|
private contentPanel;
|
|
@@ -20,7 +20,7 @@ export declare class MarkdownRender implements IRenderer {
|
|
|
20
20
|
*
|
|
21
21
|
* @returns {void}
|
|
22
22
|
* @hidden
|
|
23
|
-
|
|
23
|
+
* @deprecated
|
|
24
24
|
*/
|
|
25
25
|
renderPanel(): void;
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export declare class MarkdownRender implements IRenderer {
|
|
|
28
28
|
*
|
|
29
29
|
* @returns {Element} - specifies the element
|
|
30
30
|
* @hidden
|
|
31
|
-
|
|
31
|
+
* @deprecated
|
|
32
32
|
*/
|
|
33
33
|
getPanel(): Element;
|
|
34
34
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class MarkdownRender implements IRenderer {
|
|
|
36
36
|
*
|
|
37
37
|
* @returns {Element} - specifies the element
|
|
38
38
|
* @hidden
|
|
39
|
-
|
|
39
|
+
* @deprecated
|
|
40
40
|
*/
|
|
41
41
|
getEditPanel(): Element;
|
|
42
42
|
/**
|
|
@@ -51,7 +51,7 @@ export declare class MarkdownRender implements IRenderer {
|
|
|
51
51
|
* @param {Element} panel - specifies the element.
|
|
52
52
|
* @returns {void}
|
|
53
53
|
* @hidden
|
|
54
|
-
|
|
54
|
+
* @deprecated
|
|
55
55
|
*/
|
|
56
56
|
setPanel(panel: Element): void;
|
|
57
57
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class MarkdownRender implements IRenderer {
|
|
|
59
59
|
*
|
|
60
60
|
* @returns {void}
|
|
61
61
|
* @hidden
|
|
62
|
-
|
|
62
|
+
* @deprecated
|
|
63
63
|
*/
|
|
64
64
|
getDocument(): Document;
|
|
65
65
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Markdown module is used to render Rich Text Editor as Markdown editor content
|
|
3
3
|
*
|
|
4
4
|
* @hidden
|
|
5
|
-
|
|
5
|
+
* @deprecated
|
|
6
6
|
*/
|
|
7
7
|
var MarkdownRender = /** @class */ (function () {
|
|
8
8
|
/**
|
|
@@ -18,7 +18,7 @@ var MarkdownRender = /** @class */ (function () {
|
|
|
18
18
|
*
|
|
19
19
|
* @returns {void}
|
|
20
20
|
* @hidden
|
|
21
|
-
|
|
21
|
+
* @deprecated
|
|
22
22
|
*/
|
|
23
23
|
MarkdownRender.prototype.renderPanel = function () {
|
|
24
24
|
var rteObj = this.parent;
|
|
@@ -37,7 +37,7 @@ var MarkdownRender = /** @class */ (function () {
|
|
|
37
37
|
*
|
|
38
38
|
* @returns {Element} - specifies the element
|
|
39
39
|
* @hidden
|
|
40
|
-
|
|
40
|
+
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
MarkdownRender.prototype.getPanel = function () {
|
|
43
43
|
return this.contentPanel;
|
|
@@ -47,7 +47,7 @@ var MarkdownRender = /** @class */ (function () {
|
|
|
47
47
|
*
|
|
48
48
|
* @returns {Element} - specifies the element
|
|
49
49
|
* @hidden
|
|
50
|
-
|
|
50
|
+
* @deprecated
|
|
51
51
|
*/
|
|
52
52
|
MarkdownRender.prototype.getEditPanel = function () {
|
|
53
53
|
return this.editableElement;
|
|
@@ -66,7 +66,7 @@ var MarkdownRender = /** @class */ (function () {
|
|
|
66
66
|
* @param {Element} panel - specifies the element.
|
|
67
67
|
* @returns {void}
|
|
68
68
|
* @hidden
|
|
69
|
-
|
|
69
|
+
* @deprecated
|
|
70
70
|
*/
|
|
71
71
|
MarkdownRender.prototype.setPanel = function (panel) {
|
|
72
72
|
this.contentPanel = panel;
|
|
@@ -76,7 +76,7 @@ var MarkdownRender = /** @class */ (function () {
|
|
|
76
76
|
*
|
|
77
77
|
* @returns {void}
|
|
78
78
|
* @hidden
|
|
79
|
-
|
|
79
|
+
* @deprecated
|
|
80
80
|
*/
|
|
81
81
|
MarkdownRender.prototype.getDocument = function () {
|
|
82
82
|
return this.getEditPanel().ownerDocument;
|
|
@@ -4,7 +4,7 @@ import { BaseQuickToolbar } from '../actions/base-quick-toolbar';
|
|
|
4
4
|
* `Popup renderer` module is used to render popup in RichTextEditor.
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export declare class PopupRenderer implements IRenderer {
|
|
10
10
|
private popupObj;
|
|
@@ -23,7 +23,7 @@ export declare class PopupRenderer implements IRenderer {
|
|
|
23
23
|
* @param {BaseQuickToolbar} args - specifies the arguments.
|
|
24
24
|
* @returns {void}
|
|
25
25
|
* @hidden
|
|
26
|
-
|
|
26
|
+
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
renderPopup(args: BaseQuickToolbar): void;
|
|
29
29
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class PopupRenderer implements IRenderer {
|
|
|
31
31
|
*
|
|
32
32
|
* @returns {void}
|
|
33
33
|
* @hidden
|
|
34
|
-
|
|
34
|
+
* @deprecated
|
|
35
35
|
*/
|
|
36
36
|
renderPanel(): void;
|
|
37
37
|
/**
|
|
@@ -39,7 +39,7 @@ export declare class PopupRenderer implements IRenderer {
|
|
|
39
39
|
*
|
|
40
40
|
* @returns {Element} - specifies the element
|
|
41
41
|
* @hidden
|
|
42
|
-
|
|
42
|
+
* @deprecated
|
|
43
43
|
*/
|
|
44
44
|
getPanel(): Element;
|
|
45
45
|
/**
|
|
@@ -48,7 +48,7 @@ export declare class PopupRenderer implements IRenderer {
|
|
|
48
48
|
* @returns {void}
|
|
49
49
|
* @param {Element} panel - specifies the element
|
|
50
50
|
* @hidden
|
|
51
|
-
|
|
51
|
+
* @deprecated
|
|
52
52
|
*/
|
|
53
53
|
setPanel(panel: Element): void;
|
|
54
54
|
}
|
|
@@ -5,7 +5,7 @@ import * as events from '../base/constant';
|
|
|
5
5
|
* `Popup renderer` module is used to render popup in RichTextEditor.
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var PopupRenderer = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -26,7 +26,7 @@ var PopupRenderer = /** @class */ (function () {
|
|
|
26
26
|
* @param {BaseQuickToolbar} args - specifies the arguments.
|
|
27
27
|
* @returns {void}
|
|
28
28
|
* @hidden
|
|
29
|
-
|
|
29
|
+
* @deprecated
|
|
30
30
|
*/
|
|
31
31
|
PopupRenderer.prototype.renderPopup = function (args) {
|
|
32
32
|
this.setPanel(args.element);
|
|
@@ -44,7 +44,7 @@ var PopupRenderer = /** @class */ (function () {
|
|
|
44
44
|
*
|
|
45
45
|
* @returns {void}
|
|
46
46
|
* @hidden
|
|
47
|
-
|
|
47
|
+
* @deprecated
|
|
48
48
|
*/
|
|
49
49
|
PopupRenderer.prototype.renderPanel = function () {
|
|
50
50
|
this.getPanel().classList.add(CLS_QUICK_POP);
|
|
@@ -54,7 +54,7 @@ var PopupRenderer = /** @class */ (function () {
|
|
|
54
54
|
*
|
|
55
55
|
* @returns {Element} - specifies the element
|
|
56
56
|
* @hidden
|
|
57
|
-
|
|
57
|
+
* @deprecated
|
|
58
58
|
*/
|
|
59
59
|
PopupRenderer.prototype.getPanel = function () {
|
|
60
60
|
return this.popupPanel;
|
|
@@ -65,7 +65,7 @@ var PopupRenderer = /** @class */ (function () {
|
|
|
65
65
|
* @returns {void}
|
|
66
66
|
* @param {Element} panel - specifies the element
|
|
67
67
|
* @hidden
|
|
68
|
-
|
|
68
|
+
* @deprecated
|
|
69
69
|
*/
|
|
70
70
|
PopupRenderer.prototype.setPanel = function (panel) {
|
|
71
71
|
this.popupPanel = panel;
|
|
@@ -4,7 +4,7 @@ import { ServiceLocator } from '../services/service-locator';
|
|
|
4
4
|
* Content module is used to render Rich Text Editor content
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export declare class Render {
|
|
10
10
|
private parent;
|
|
@@ -24,7 +24,7 @@ export declare class Render {
|
|
|
24
24
|
*
|
|
25
25
|
* @returns {void}
|
|
26
26
|
* @hidden
|
|
27
|
-
|
|
27
|
+
* @deprecated
|
|
28
28
|
*/
|
|
29
29
|
render(): void;
|
|
30
30
|
/**
|
|
@@ -5,7 +5,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
|
5
5
|
* Content module is used to render Rich Text Editor content
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var Render = /** @class */ (function () {
|
|
11
11
|
/**
|
|
@@ -26,7 +26,7 @@ var Render = /** @class */ (function () {
|
|
|
26
26
|
*
|
|
27
27
|
* @returns {void}
|
|
28
28
|
* @hidden
|
|
29
|
-
|
|
29
|
+
* @deprecated
|
|
30
30
|
*/
|
|
31
31
|
Render.prototype.render = function () {
|
|
32
32
|
// eslint-disable-next-line
|
|
@@ -33,8 +33,8 @@ export declare class Table {
|
|
|
33
33
|
private helper;
|
|
34
34
|
private dialogRenderObj;
|
|
35
35
|
private currentColumnResize;
|
|
36
|
-
private currentMarginLeft;
|
|
37
36
|
private previousTableElement;
|
|
37
|
+
private resizeEndTime;
|
|
38
38
|
private constructor();
|
|
39
39
|
protected addEventListener(): void;
|
|
40
40
|
protected removeEventListener(): void;
|
|
@@ -46,6 +46,7 @@ export declare class Table {
|
|
|
46
46
|
private UpdateCells;
|
|
47
47
|
private keyUp;
|
|
48
48
|
private keyDown;
|
|
49
|
+
private handleSelectAll;
|
|
49
50
|
private tableModulekeyUp;
|
|
50
51
|
private openDialog;
|
|
51
52
|
private showDialog;
|
|
@@ -54,6 +55,7 @@ export declare class Table {
|
|
|
54
55
|
private verticalAlign;
|
|
55
56
|
private tableStyles;
|
|
56
57
|
private insideList;
|
|
58
|
+
private removeEmptyTextNodes;
|
|
57
59
|
private tabSelection;
|
|
58
60
|
private tableArrowNavigation;
|
|
59
61
|
private setBGColor;
|
|
@@ -75,17 +77,20 @@ export declare class Table {
|
|
|
75
77
|
private getPointX;
|
|
76
78
|
private getPointY;
|
|
77
79
|
private resizeStart;
|
|
80
|
+
private getCellIndex;
|
|
78
81
|
private removeHelper;
|
|
79
82
|
private appendHelper;
|
|
80
83
|
private setHelperHeight;
|
|
81
84
|
private updateHelper;
|
|
82
85
|
private calMaxCol;
|
|
83
86
|
private resizing;
|
|
87
|
+
private getCurrentColWidth;
|
|
84
88
|
private getCurrentTableWidth;
|
|
85
89
|
private findFirstLastColCells;
|
|
86
90
|
private convertPixelToPercentage;
|
|
87
91
|
private cancelResizeAction;
|
|
88
92
|
private resizeEnd;
|
|
93
|
+
private resetResizeHelper;
|
|
89
94
|
private resizeBtnInit;
|
|
90
95
|
private addRow;
|
|
91
96
|
private addColumn;
|
|
@@ -110,7 +115,7 @@ export declare class Table {
|
|
|
110
115
|
* @function destroy
|
|
111
116
|
* @returns {void}
|
|
112
117
|
* @hidden
|
|
113
|
-
|
|
118
|
+
* @deprecated
|
|
114
119
|
*/
|
|
115
120
|
destroy(): void;
|
|
116
121
|
private moduleDestroy;
|
|
@@ -120,4 +125,6 @@ export declare class Table {
|
|
|
120
125
|
* @returns {void}
|
|
121
126
|
*/
|
|
122
127
|
private getModuleName;
|
|
128
|
+
private afterKeyDown;
|
|
129
|
+
private updateResizeIconPosition;
|
|
123
130
|
}
|