@syncfusion/ej2-richtexteditor 20.3.60 → 20.3.61

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.3.60
3
+ * version : 20.3.61
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-richtexteditor@*",
3
- "_id": "@syncfusion/ej2-richtexteditor@20.3.59",
3
+ "_id": "@syncfusion/ej2-richtexteditor@20.3.60",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-TxF/ECZhds8pq49/ggBENGJuYB3bGc4DC43VwXGmWgaCqogtn/wCaabpcF8x6vhN2ouMHAbq3+pc4A9W43FVvg==",
5
+ "_integrity": "sha512-Udnf4TdzmcsEtjgXDNhzK0xLSblQcpSJadLiOOLQo25IDxSLFwO/2n1o2nlb7YSXykAQ+47iTkE1is58GqEgkw==",
6
6
  "_location": "/@syncfusion/ej2-richtexteditor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -26,8 +26,8 @@
26
26
  "/@syncfusion/ej2-react-richtexteditor",
27
27
  "/@syncfusion/ej2-vue-richtexteditor"
28
28
  ],
29
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-20.3.59.tgz",
30
- "_shasum": "8e872a7a20955614b65b0b804d4fce1b98a69984",
29
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-20.3.60.tgz",
30
+ "_shasum": "3c91a1071f6723039a43de31b6d0f61bfd02b2aa",
31
31
  "_spec": "@syncfusion/ej2-richtexteditor@*",
32
32
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
33
33
  "author": {
@@ -70,6 +70,6 @@
70
70
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
71
71
  },
72
72
  "typings": "index.d.ts",
73
- "version": "20.3.60",
73
+ "version": "20.3.61",
74
74
  "sideEffects": false
75
75
  }
@@ -99,6 +99,7 @@ var NodeCutter = /** @class */ (function () {
99
99
  for (var i = 0; !isNOU(firstChild.childNodes) && i < firstChild.childNodes.length; i++) {
100
100
  if (firstChild.childNodes[i].nodeName === 'IMG' || (firstChild.childNodes[i].nodeName === 'SPAN' &&
101
101
  (firstChild.childNodes[i].classList.contains('e-video-wrap') ||
102
+ firstChild.childNodes[i].classList.contains('e-embed-video-wrap') ||
102
103
  firstChild.childNodes[i].classList.contains('e-audio-wrap')))) {
103
104
  result = false;
104
105
  }
@@ -234,7 +234,7 @@ var ToolbarStatus = /** @class */ (function () {
234
234
  && (fontName === null || fontName === undefined || (fontName.filter(function (value, pos) {
235
235
  var pattern = new RegExp(name, 'i');
236
236
  if ((value.replace(/"/g, '').replace(/ /g, '').toLowerCase() === name.replace(/"/g, '').replace(/ /g, '').toLowerCase()) ||
237
- (value.search(pattern) > -1)) {
237
+ (value.split(',')[0] && value.split(',')[0].search(pattern) > -1)) {
238
238
  index = pos;
239
239
  }
240
240
  }) && (index !== null)))) {
@@ -1444,9 +1444,11 @@ var RichTextEditor = /** @class */ (function (_super) {
1444
1444
  this.notify(events.rtlMode, { enableRtl: this.enableRtl });
1445
1445
  if (this.enableRtl) {
1446
1446
  this.element.classList.add(classes.CLS_RTL);
1447
+ this.inputElement.classList.add(classes.CLS_RTL);
1447
1448
  }
1448
1449
  else {
1449
1450
  this.element.classList.remove(classes.CLS_RTL);
1451
+ this.inputElement.classList.remove(classes.CLS_RTL);
1450
1452
  }
1451
1453
  };
1452
1454
  RichTextEditor.prototype.updateReadOnly = function () {