@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.
- package/CHANGELOG.md +16 -0
- 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 +4 -1
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +4 -1
- 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 +5 -5
- package/src/editor-manager/plugin/nodecutter.js +1 -0
- package/src/editor-manager/plugin/toolbar-status.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor.js +2 -0
|
@@ -12098,6 +12098,7 @@ class NodeCutter {
|
|
|
12098
12098
|
for (let i = 0; !isNullOrUndefined(firstChild.childNodes) && i < firstChild.childNodes.length; i++) {
|
|
12099
12099
|
if (firstChild.childNodes[i].nodeName === 'IMG' || (firstChild.childNodes[i].nodeName === 'SPAN' &&
|
|
12100
12100
|
(firstChild.childNodes[i].classList.contains('e-video-wrap') ||
|
|
12101
|
+
firstChild.childNodes[i].classList.contains('e-embed-video-wrap') ||
|
|
12101
12102
|
firstChild.childNodes[i].classList.contains('e-audio-wrap')))) {
|
|
12102
12103
|
result = false;
|
|
12103
12104
|
}
|
|
@@ -17799,7 +17800,7 @@ class ToolbarStatus {
|
|
|
17799
17800
|
&& (fontName === null || fontName === undefined || (fontName.filter((value, pos) => {
|
|
17800
17801
|
const pattern = new RegExp(name, 'i');
|
|
17801
17802
|
if ((value.replace(/"/g, '').replace(/ /g, '').toLowerCase() === name.replace(/"/g, '').replace(/ /g, '').toLowerCase()) ||
|
|
17802
|
-
(value.search(pattern) > -1)) {
|
|
17803
|
+
(value.split(',')[0] && value.split(',')[0].search(pattern) > -1)) {
|
|
17803
17804
|
index = pos;
|
|
17804
17805
|
}
|
|
17805
17806
|
}) && (index !== null)))) {
|
|
@@ -30006,9 +30007,11 @@ let RichTextEditor = class RichTextEditor extends Component {
|
|
|
30006
30007
|
this.notify(rtlMode, { enableRtl: this.enableRtl });
|
|
30007
30008
|
if (this.enableRtl) {
|
|
30008
30009
|
this.element.classList.add(CLS_RTL);
|
|
30010
|
+
this.inputElement.classList.add(CLS_RTL);
|
|
30009
30011
|
}
|
|
30010
30012
|
else {
|
|
30011
30013
|
this.element.classList.remove(CLS_RTL);
|
|
30014
|
+
this.inputElement.classList.remove(CLS_RTL);
|
|
30012
30015
|
}
|
|
30013
30016
|
}
|
|
30014
30017
|
updateReadOnly() {
|