@syncfusion/ej2-richtexteditor 25.2.6 → 25.2.7
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 +10 -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 +21 -3
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +21 -3
- 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 +8 -8
- package/src/editor-manager/plugin/inserthtml.js +3 -0
- package/src/rich-text-editor/renderer/audio-module.js +6 -1
- package/src/rich-text-editor/renderer/image-module.js +6 -1
- package/src/rich-text-editor/renderer/video-module.js +6 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.2.
|
|
3
|
+
* version : 25.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@25.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@25.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-0E3huj01qT7voU4IQj9FS/TYLEhaDHR1Ra+XbI3CPS/H+T6GFDl7D/s2/Bdmnq/91Zoc6euRIr90y/uF6BQCMA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-richtexteditor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"/@syncfusion/ej2-react-richtexteditor",
|
|
26
26
|
"/@syncfusion/ej2-vue-richtexteditor"
|
|
27
27
|
],
|
|
28
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-25.2.
|
|
29
|
-
"_shasum": "
|
|
28
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-25.2.6.tgz",
|
|
29
|
+
"_shasum": "c3577a3287defef6955415004a3623d0dd9b327e",
|
|
30
30
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
31
31
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
32
32
|
"author": {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"bundleDependencies": false,
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@syncfusion/ej2-base": "~25.2.
|
|
41
|
-
"@syncfusion/ej2-buttons": "~25.2.
|
|
40
|
+
"@syncfusion/ej2-base": "~25.2.7",
|
|
41
|
+
"@syncfusion/ej2-buttons": "~25.2.7",
|
|
42
42
|
"@syncfusion/ej2-filemanager": "~25.2.6",
|
|
43
43
|
"@syncfusion/ej2-inputs": "~25.2.6",
|
|
44
44
|
"@syncfusion/ej2-navigations": "~25.2.6",
|
|
45
|
-
"@syncfusion/ej2-popups": "~25.2.
|
|
45
|
+
"@syncfusion/ej2-popups": "~25.2.7",
|
|
46
46
|
"@syncfusion/ej2-splitbuttons": "~25.2.4"
|
|
47
47
|
},
|
|
48
48
|
"deprecated": false,
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
80
80
|
},
|
|
81
81
|
"typings": "index.d.ts",
|
|
82
|
-
"version": "25.2.
|
|
82
|
+
"version": "25.2.7",
|
|
83
83
|
"sideEffects": false
|
|
84
84
|
}
|
|
@@ -63,6 +63,9 @@ var InsertHtml = /** @class */ (function () {
|
|
|
63
63
|
this.insertTableInList(range, node, closestParentNode, nodes[0], nodeCutter);
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
+
if (isCursor && range.startContainer.textContent === '' && range.startContainer.nodeName !== 'BR' && enterAction !== 'BR' && node.nodeName !== '#text' && !isNOU(node.children[0]) && !isNOU(node.children[0].tagName) && node.children[0].tagName === 'IMG' && node.children.length === 1) {
|
|
67
|
+
range.startContainer.innerHTML = '';
|
|
68
|
+
}
|
|
66
69
|
if (isExternal || (!isNOU(node) && !isNOU(node.classList) &&
|
|
67
70
|
node.classList.contains('pasteContent'))) {
|
|
68
71
|
this.pasteInsertHTML(nodes, node, range, nodeSelection, nodeCutter, docElement, isCollapsed, closestParentNode, editNode, enterAction);
|
|
@@ -583,7 +583,12 @@ var Audio = /** @class */ (function () {
|
|
|
583
583
|
animationSettings: { effect: 'None' },
|
|
584
584
|
close: function (event) {
|
|
585
585
|
if (_this.isAudioUploaded) {
|
|
586
|
-
_this.
|
|
586
|
+
if (_this.dialogObj.element.querySelector('.e-file-abort-btn')) {
|
|
587
|
+
_this.dialogObj.element.querySelector('.e-file-abort-btn').click();
|
|
588
|
+
}
|
|
589
|
+
else {
|
|
590
|
+
_this.uploadObj.remove();
|
|
591
|
+
}
|
|
587
592
|
}
|
|
588
593
|
_this.parent.isBlur = false;
|
|
589
594
|
if (event && !isNOU(event.event) && event.event.returnValue) {
|
|
@@ -1396,7 +1396,12 @@ var Image = /** @class */ (function () {
|
|
|
1396
1396
|
animationSettings: { effect: 'None' },
|
|
1397
1397
|
close: function (event) {
|
|
1398
1398
|
if (_this.isImgUploaded) {
|
|
1399
|
-
_this.
|
|
1399
|
+
if (_this.dialogObj.element.querySelector('.e-file-abort-btn')) {
|
|
1400
|
+
_this.dialogObj.element.querySelector('.e-file-abort-btn').click();
|
|
1401
|
+
}
|
|
1402
|
+
else {
|
|
1403
|
+
_this.uploadObj.remove();
|
|
1404
|
+
}
|
|
1400
1405
|
}
|
|
1401
1406
|
_this.parent.isBlur = false;
|
|
1402
1407
|
if (event && !isNOU(event.event) && event.event.returnValue) {
|
|
@@ -1081,7 +1081,12 @@ var Video = /** @class */ (function () {
|
|
|
1081
1081
|
animationSettings: { effect: 'None' },
|
|
1082
1082
|
close: function (event) {
|
|
1083
1083
|
if (_this.isVideoUploaded) {
|
|
1084
|
-
_this.
|
|
1084
|
+
if (_this.dialogObj.element.querySelector('.e-file-abort-btn')) {
|
|
1085
|
+
_this.dialogObj.element.querySelector('.e-file-abort-btn').click();
|
|
1086
|
+
}
|
|
1087
|
+
else {
|
|
1088
|
+
_this.uploadObj.remove();
|
|
1089
|
+
}
|
|
1085
1090
|
}
|
|
1086
1091
|
_this.parent.isBlur = false;
|
|
1087
1092
|
if (event && !isNOU(event.event) && event.event.returnValue) {
|