@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.
@@ -30687,6 +30687,7 @@ class HtmlEditor {
30687
30687
  this.xhtmlValidation = new XhtmlValidation(parent);
30688
30688
  this.addEventListener();
30689
30689
  this.isDestroyed = false;
30690
+ this.isCopyAll = false;
30690
30691
  }
30691
30692
  /**
30692
30693
  * Destroys the Markdown.
@@ -30705,6 +30706,7 @@ class HtmlEditor {
30705
30706
  this.clickTimeout = null;
30706
30707
  }
30707
30708
  this.removeEventListener();
30709
+ this.isCopyAll = null;
30708
30710
  this.locator = null;
30709
30711
  this.contentRenderer = null;
30710
30712
  this.renderFactory = null;
@@ -30887,6 +30889,9 @@ class HtmlEditor {
30887
30889
  mentionStartNode.textContent.charCodeAt(0) === 8203 &&
30888
30890
  !isNullOrUndefined(mentionStartNode.previousSibling) && mentionStartNode.previousSibling.contentEditable === 'false';
30889
30891
  }
30892
+ if (this.isCopyAll) {
30893
+ return;
30894
+ }
30890
30895
  let pointer;
30891
30896
  let isRootParent = false;
30892
30897
  if (restrictKeys.indexOf(args.keyCode) < 0 && !args.shiftKey && !args.ctrlKey && !args.altKey && !isEmptyNode && !isMention) {
@@ -30982,6 +30987,12 @@ class HtmlEditor {
30982
30987
  }
30983
30988
  }
30984
30989
  onKeyDown(e) {
30990
+ if (e.args.ctrlKey && e.args.keyCode === 65) {
30991
+ this.isCopyAll = true;
30992
+ }
30993
+ else {
30994
+ this.isCopyAll = false;
30995
+ }
30985
30996
  let currentRange;
30986
30997
  const args = e.args;
30987
30998
  if (this.parent.inputElement.querySelectorAll('.e-cell-select').length > 1 && (args.keyCode === 8 || args.keyCode === 32 || args.keyCode === 13)) {