@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.
- package/CHANGELOG.md +4 -0
- 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 +7 -1
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +7 -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 +12 -12
- package/src/rich-text-editor/base/rich-text-editor.js +5 -0
- package/src/rich-text-editor/renderer/toolbar-renderer.js +2 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.43
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@20.2.40",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-UujypHiBETmZH0BRvYEQ3Ymz7fo37930L/lnqY5z4JGCRf1pcPGRfbNAVcY40vXJOkxbEnmH5nzge0JyMK3SfA==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-20.2.
|
|
30
|
-
"_shasum": "
|
|
29
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-20.2.40.tgz",
|
|
30
|
+
"_shasum": "d1096ffac3f968b575499b3d57ac92d8d2f85558",
|
|
31
31
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
32
32
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
33
33
|
"author": {
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"bundleDependencies": false,
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@syncfusion/ej2-base": "~20.2.
|
|
42
|
-
"@syncfusion/ej2-buttons": "~20.2.
|
|
43
|
-
"@syncfusion/ej2-filemanager": "~20.2.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.2.
|
|
45
|
-
"@syncfusion/ej2-navigations": "~20.2.
|
|
46
|
-
"@syncfusion/ej2-popups": "~20.2.
|
|
47
|
-
"@syncfusion/ej2-splitbuttons": "~20.2.
|
|
41
|
+
"@syncfusion/ej2-base": "~20.2.43",
|
|
42
|
+
"@syncfusion/ej2-buttons": "~20.2.43",
|
|
43
|
+
"@syncfusion/ej2-filemanager": "~20.2.43",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.2.43",
|
|
45
|
+
"@syncfusion/ej2-navigations": "~20.2.43",
|
|
46
|
+
"@syncfusion/ej2-popups": "~20.2.43",
|
|
47
|
+
"@syncfusion/ej2-splitbuttons": "~20.2.43"
|
|
48
48
|
},
|
|
49
49
|
"deprecated": false,
|
|
50
50
|
"description": "Essential JS 2 RichTextEditor component",
|
|
@@ -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.2.
|
|
73
|
+
"version": "20.2.43",
|
|
74
74
|
"sideEffects": false
|
|
75
75
|
}
|
|
@@ -2157,6 +2157,11 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2157
2157
|
case 'cut':
|
|
2158
2158
|
this.onCut();
|
|
2159
2159
|
break;
|
|
2160
|
+
case 'tab':
|
|
2161
|
+
if (this.iframeSettings.enable) {
|
|
2162
|
+
this.isBlur = true;
|
|
2163
|
+
}
|
|
2164
|
+
break;
|
|
2160
2165
|
}
|
|
2161
2166
|
if (e.callBack && (e.event.action === 'copy' || e.event.action === 'cut' || e.event.action === 'delete')) {
|
|
2162
2167
|
e.callBack({
|
|
@@ -324,10 +324,11 @@ var ToolbarRenderer = /** @class */ (function () {
|
|
|
324
324
|
proxy.parent.notify(events.selectionRestore, {});
|
|
325
325
|
range = proxy.parent.formatter.editorManager.nodeSelection.getRange(proxy.parent.contentModule.getDocument());
|
|
326
326
|
var parentNode = range.startContainer.parentNode;
|
|
327
|
+
var closestElement = closest(range.startContainer.parentNode, 'table');
|
|
327
328
|
if ((range.startContainer.nodeName === 'TD' || range.startContainer.nodeName === 'TH' ||
|
|
328
329
|
(closest(range.startContainer.parentNode, 'td,th')) ||
|
|
329
330
|
(proxy.parent.iframeSettings.enable && !hasClass(parentNode.ownerDocument.querySelector('body'), 'e-lib')))
|
|
330
|
-
&& range.collapsed && args.subCommand === 'BackgroundColor') {
|
|
331
|
+
&& range.collapsed && args.subCommand === 'BackgroundColor' && closest(closestElement, '.' + classes.CLS_RTE)) {
|
|
331
332
|
proxy.parent.notify(events.tableColorPickerChanged, {
|
|
332
333
|
item: { command: args.command, subCommand: args.subCommand,
|
|
333
334
|
value: colorpickerValue }
|