@syncfusion/ej2-richtexteditor 21.2.6 → 21.2.8
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 +8 -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 +8 -2
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +8 -2
- 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 +7 -7
- package/src/editor-manager/plugin/isformatted.js +8 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.2.
|
|
3
|
+
* version : 21.2.8
|
|
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@21.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@21.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-jj82YucBL6CkkpfxTdzF6l5l20oIvLtIL+XfC21CGQ7EMAk5IWF1dj8Y0ciPX7rowpY9LmzR3pw7noivMaD0dw==",
|
|
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-21.2.
|
|
30
|
-
"_shasum": "
|
|
29
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-21.2.6.tgz",
|
|
30
|
+
"_shasum": "10c78eb2a8529e7180d8936d871accb4ea2ac2b9",
|
|
31
31
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
32
32
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
33
33
|
"author": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@syncfusion/ej2-base": "~21.2.3",
|
|
42
42
|
"@syncfusion/ej2-buttons": "~21.2.6",
|
|
43
43
|
"@syncfusion/ej2-filemanager": "~21.2.5",
|
|
44
|
-
"@syncfusion/ej2-inputs": "~21.2.
|
|
45
|
-
"@syncfusion/ej2-navigations": "~21.2.
|
|
44
|
+
"@syncfusion/ej2-inputs": "~21.2.8",
|
|
45
|
+
"@syncfusion/ej2-navigations": "~21.2.8",
|
|
46
46
|
"@syncfusion/ej2-popups": "~21.2.4",
|
|
47
47
|
"@syncfusion/ej2-splitbuttons": "~21.2.5"
|
|
48
48
|
},
|
|
@@ -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": "21.2.
|
|
73
|
+
"version": "21.2.8",
|
|
74
74
|
"sideEffects": false
|
|
75
75
|
}
|
|
@@ -110,9 +110,12 @@ var IsFormatted = /** @class */ (function () {
|
|
|
110
110
|
var validTags = ['u'];
|
|
111
111
|
if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
|
|
112
112
|
return true;
|
|
113
|
+
/* eslint-disable */
|
|
113
114
|
}
|
|
114
115
|
else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
|
|
115
|
-
node.style && node.style.textDecoration === 'underline'
|
|
116
|
+
node.style && (node.style.textDecoration === 'underline' ||
|
|
117
|
+
node.style.textDecorationLine === 'underline')) {
|
|
118
|
+
/* eslint-enable */
|
|
116
119
|
return true;
|
|
117
120
|
}
|
|
118
121
|
else {
|
|
@@ -131,9 +134,12 @@ var IsFormatted = /** @class */ (function () {
|
|
|
131
134
|
var validTags = ['del', 'strike'];
|
|
132
135
|
if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
|
|
133
136
|
return true;
|
|
137
|
+
/* eslint-disable */
|
|
134
138
|
}
|
|
135
139
|
else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
|
|
136
|
-
node.style && node.style.textDecoration === 'line-through'
|
|
140
|
+
node.style && (node.style.textDecoration === 'line-through' ||
|
|
141
|
+
node.style.textDecorationLine === 'line-through')) {
|
|
142
|
+
/* eslint-enable */
|
|
137
143
|
return true;
|
|
138
144
|
}
|
|
139
145
|
else {
|