@syncfusion/ej2-richtexteditor 26.2.13 → 26.2.14
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/dist/ej2-richtexteditor.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +11 -0
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +11 -0
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/rich-text-editor/actions/html-editor.d.ts +1 -0
- package/src/rich-text-editor/actions/html-editor.js +11 -0
|
@@ -30791,6 +30791,7 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
30791
30791
|
this.xhtmlValidation = new XhtmlValidation(parent);
|
|
30792
30792
|
this.addEventListener();
|
|
30793
30793
|
this.isDestroyed = false;
|
|
30794
|
+
this.isCopyAll = false;
|
|
30794
30795
|
}
|
|
30795
30796
|
/**
|
|
30796
30797
|
* Destroys the Markdown.
|
|
@@ -30809,6 +30810,7 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
30809
30810
|
this.clickTimeout = null;
|
|
30810
30811
|
}
|
|
30811
30812
|
this.removeEventListener();
|
|
30813
|
+
this.isCopyAll = null;
|
|
30812
30814
|
this.locator = null;
|
|
30813
30815
|
this.contentRenderer = null;
|
|
30814
30816
|
this.renderFactory = null;
|
|
@@ -30997,6 +30999,9 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
30997
30999
|
mentionStartNode.textContent.charCodeAt(0) === 8203 &&
|
|
30998
31000
|
!isNullOrUndefined(mentionStartNode.previousSibling) && mentionStartNode.previousSibling.contentEditable === 'false';
|
|
30999
31001
|
}
|
|
31002
|
+
if (this.isCopyAll) {
|
|
31003
|
+
return;
|
|
31004
|
+
}
|
|
31000
31005
|
var pointer;
|
|
31001
31006
|
var isRootParent = false;
|
|
31002
31007
|
if (restrictKeys.indexOf(args.keyCode) < 0 && !args.shiftKey && !args.ctrlKey && !args.altKey && !isEmptyNode && !isMention) {
|
|
@@ -31093,6 +31098,12 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
31093
31098
|
};
|
|
31094
31099
|
HtmlEditor.prototype.onKeyDown = function (e) {
|
|
31095
31100
|
var _this = this;
|
|
31101
|
+
if (e.args.ctrlKey && e.args.keyCode === 65) {
|
|
31102
|
+
this.isCopyAll = true;
|
|
31103
|
+
}
|
|
31104
|
+
else {
|
|
31105
|
+
this.isCopyAll = false;
|
|
31106
|
+
}
|
|
31096
31107
|
var currentRange;
|
|
31097
31108
|
var args = e.args;
|
|
31098
31109
|
if (this.parent.inputElement.querySelectorAll('.e-cell-select').length > 1 && (args.keyCode === 8 || args.keyCode === 32 || args.keyCode === 13)) {
|