@syncfusion/ej2-richtexteditor 20.2.40 → 20.2.43

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.
@@ -3076,10 +3076,11 @@ var ToolbarRenderer = /** @__PURE__ @class */ (function () {
3076
3076
  proxy.parent.notify(selectionRestore, {});
3077
3077
  range = proxy.parent.formatter.editorManager.nodeSelection.getRange(proxy.parent.contentModule.getDocument());
3078
3078
  var parentNode = range.startContainer.parentNode;
3079
+ var closestElement = closest(range.startContainer.parentNode, 'table');
3079
3080
  if ((range.startContainer.nodeName === 'TD' || range.startContainer.nodeName === 'TH' ||
3080
3081
  (closest(range.startContainer.parentNode, 'td,th')) ||
3081
3082
  (proxy.parent.iframeSettings.enable && !hasClass(parentNode.ownerDocument.querySelector('body'), 'e-lib')))
3082
- && range.collapsed && args.subCommand === 'BackgroundColor') {
3083
+ && range.collapsed && args.subCommand === 'BackgroundColor' && closest(closestElement, '.' + CLS_RTE)) {
3083
3084
  proxy.parent.notify(tableColorPickerChanged, {
3084
3085
  item: { command: args.command, subCommand: args.subCommand,
3085
3086
  value: colorpickerValue }
@@ -27606,6 +27607,11 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
27606
27607
  case 'cut':
27607
27608
  this.onCut();
27608
27609
  break;
27610
+ case 'tab':
27611
+ if (this.iframeSettings.enable) {
27612
+ this.isBlur = true;
27613
+ }
27614
+ break;
27609
27615
  }
27610
27616
  if (e.callBack && (e.event.action === 'copy' || e.event.action === 'cut' || e.event.action === 'delete')) {
27611
27617
  e.callBack({