@syncfusion/ej2-richtexteditor 28.1.35 → 28.1.37
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/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 +85 -42
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +85 -42
- 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 +11 -12
- package/src/editor-manager/plugin/link.js +1 -0
- package/src/editor-manager/plugin/ms-word-clean-up.js +4 -2
- package/src/rich-text-editor/actions/enter-key.js +13 -5
- package/src/rich-text-editor/actions/html-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.js +26 -3
- package/src/rich-text-editor/formatter/formatter.js +1 -1
- package/src/rich-text-editor/renderer/table-module.js +29 -23
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -6
- package/styles/bootstrap5.3-lite.css +5 -0
- package/styles/bootstrap5.3.css +5 -0
- package/styles/rich-text-editor/_layout.scss +1 -1
- package/styles/rich-text-editor/_theme.scss +1 -1
- package/styles/rich-text-editor/bootstrap5.3.css +5 -0
- package/styles/rich-text-editor/tailwind3.css +5 -0
- package/styles/tailwind3-lite.css +5 -0
- package/styles/tailwind3.css +5 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.1.
|
|
3
|
+
* version : 28.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. 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@28.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@28.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-aIMukhmmZtMcqF3OrTeOn5NyV+abQapHpYCT2gbAXyvlwk9NHnEMDjnyXYvrNV5P6E0QzM7VL4IbwQgDPT3mHw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-richtexteditor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,15 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
21
|
"/@syncfusion/ej2-angular-richtexteditor",
|
|
23
22
|
"/@syncfusion/ej2-gantt",
|
|
24
23
|
"/@syncfusion/ej2-inplace-editor",
|
|
25
24
|
"/@syncfusion/ej2-react-richtexteditor",
|
|
26
25
|
"/@syncfusion/ej2-vue-richtexteditor"
|
|
27
26
|
],
|
|
28
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-28.1.
|
|
29
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-28.1.35.tgz",
|
|
28
|
+
"_shasum": "25ac67811ac74eb19f2e6439f85f508de8538fe9",
|
|
30
29
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
31
30
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
32
31
|
"author": {
|
|
@@ -38,13 +37,13 @@
|
|
|
38
37
|
"bundleDependencies": false,
|
|
39
38
|
"dependencies": {
|
|
40
39
|
"@syncfusion/ej2-base": "~28.1.33",
|
|
41
|
-
"@syncfusion/ej2-buttons": "~28.1.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~28.1.
|
|
43
|
-
"@syncfusion/ej2-filemanager": "~28.1.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~28.1.
|
|
45
|
-
"@syncfusion/ej2-navigations": "~28.1.
|
|
40
|
+
"@syncfusion/ej2-buttons": "~28.1.37",
|
|
41
|
+
"@syncfusion/ej2-dropdowns": "~28.1.37",
|
|
42
|
+
"@syncfusion/ej2-filemanager": "~28.1.36",
|
|
43
|
+
"@syncfusion/ej2-inputs": "~28.1.37",
|
|
44
|
+
"@syncfusion/ej2-navigations": "~28.1.37",
|
|
46
45
|
"@syncfusion/ej2-popups": "~28.1.33",
|
|
47
|
-
"@syncfusion/ej2-splitbuttons": "~28.1.
|
|
46
|
+
"@syncfusion/ej2-splitbuttons": "~28.1.37"
|
|
48
47
|
},
|
|
49
48
|
"deprecated": false,
|
|
50
49
|
"description": "Essential JS 2 RichTextEditor component",
|
|
@@ -80,6 +79,6 @@
|
|
|
80
79
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
81
80
|
},
|
|
82
81
|
"typings": "index.d.ts",
|
|
83
|
-
"version": "28.1.
|
|
82
|
+
"version": "28.1.37",
|
|
84
83
|
"sideEffects": false
|
|
85
84
|
}
|
|
@@ -190,6 +190,7 @@ var LinkCommand = /** @class */ (function () {
|
|
|
190
190
|
if (child && child.length === 1) {
|
|
191
191
|
e.item.selection.startContainer = e.item.selection.getNodeArray(child[child.length - 1], true);
|
|
192
192
|
e.item.selection.endContainer = e.item.selection.startContainer;
|
|
193
|
+
e.item.selection.endOffset = child[child.length - 1].textContent.length;
|
|
193
194
|
}
|
|
194
195
|
e.item.selection = this.parent.domNode.saveMarker(e.item.selection);
|
|
195
196
|
}
|
|
@@ -189,7 +189,8 @@ var MsWordPaste = /** @class */ (function () {
|
|
|
189
189
|
imgElem[i].getAttribute('v:shapes').indexOf('Graphic') < 0 &&
|
|
190
190
|
imgElem[i].getAttribute('v:shapes').indexOf('_x0000_s') < 0 &&
|
|
191
191
|
imgElem[i].getAttribute('v:shapes').indexOf('_x0000_i') < 0 &&
|
|
192
|
-
imgElem[i].getAttribute('v:shapes').indexOf('img1') < 0
|
|
192
|
+
imgElem[i].getAttribute('v:shapes').indexOf('img1') < 0 &&
|
|
193
|
+
imgElem[i].getAttribute('v:shapes').indexOf('Immagine') < 0) {
|
|
193
194
|
imgElem[i].classList.add('e-rte-image-unsupported');
|
|
194
195
|
}
|
|
195
196
|
imgElem[i].removeAttribute('v:shapes');
|
|
@@ -203,7 +204,8 @@ var MsWordPaste = /** @class */ (function () {
|
|
|
203
204
|
if (imgElem.length > 0) {
|
|
204
205
|
for (var i = 0; i < imgElem.length; i++) {
|
|
205
206
|
imgSrc.push(imgElem[i].getAttribute('src'));
|
|
206
|
-
|
|
207
|
+
var imageName = imgElem[i].getAttribute('src').split('/')[imgElem[i].getAttribute('src').split('/').length - 1].split('.')[0] + i;
|
|
208
|
+
imgName.push(imageName);
|
|
207
209
|
}
|
|
208
210
|
var hexValue = this.hexConversion(rtfData);
|
|
209
211
|
for (var i = 0; i < hexValue.length; i++) {
|
|
@@ -173,7 +173,14 @@ var EnterKeyAction = /** @class */ (function () {
|
|
|
173
173
|
var isMediaNode = false; // To check the image audio and video node cases
|
|
174
174
|
var isFocusedFirst = false;
|
|
175
175
|
var parentElement = _this.range.startContainer.parentElement;
|
|
176
|
-
var isPreWrapApplied =
|
|
176
|
+
var isPreWrapApplied = false;
|
|
177
|
+
var isTextWrapApplied = false;
|
|
178
|
+
if (parentElement) {
|
|
179
|
+
// eslint-disable-next-line max-len
|
|
180
|
+
var computedStyle = _this.parent.contentModule.getDocument().defaultView.getComputedStyle(parentElement);
|
|
181
|
+
isPreWrapApplied = computedStyle.getPropertyValue('white-space') === 'pre-wrap';
|
|
182
|
+
isTextWrapApplied = computedStyle.getPropertyValue('text-wrap') === 'nowrap';
|
|
183
|
+
}
|
|
177
184
|
if (_this.range.startOffset !== 0 && _this.range.endOffset !== 0 &&
|
|
178
185
|
_this.range.startContainer === _this.range.endContainer && !(!isNOU(nearBlockNode.childNodes[0])
|
|
179
186
|
&& (nearBlockNode.childNodes[0].nodeName === 'IMG' || nearBlockNode.querySelectorAll('img, audio, video').length > 0))) {
|
|
@@ -183,10 +190,11 @@ var EnterKeyAction = /** @class */ (function () {
|
|
|
183
190
|
var isSplitTextEmpty = splitFirstText.trim().length === 0;
|
|
184
191
|
var hasContentAfterCursor = startNodeText.slice(_this.range.startOffset).trim().length !== 0;
|
|
185
192
|
var isCursorAtStartNonPreWrap = lastCharBeforeCursor !== 160
|
|
186
|
-
&& isSplitTextEmpty && !isPreWrapApplied;
|
|
193
|
+
&& isSplitTextEmpty && !isPreWrapApplied && !isTextWrapApplied;
|
|
187
194
|
var isCursorAtStartPreWrapWithContent = lastCharBeforeCursor === 32
|
|
188
|
-
&& isPreWrapApplied && isSplitTextEmpty && hasContentAfterCursor;
|
|
189
|
-
if (isCursorAtStartNonPreWrap || isCursorAtStartPreWrapWithContent)
|
|
195
|
+
&& (isPreWrapApplied || isTextWrapApplied) && isSplitTextEmpty && hasContentAfterCursor;
|
|
196
|
+
if ((isCursorAtStartNonPreWrap || isCursorAtStartPreWrapWithContent) &&
|
|
197
|
+
!_this.range.startContainer.previousSibling) {
|
|
190
198
|
isFocusedFirst = true;
|
|
191
199
|
}
|
|
192
200
|
}
|
|
@@ -195,7 +203,7 @@ var EnterKeyAction = /** @class */ (function () {
|
|
|
195
203
|
}
|
|
196
204
|
_this.removeBRElement(nearBlockNode);
|
|
197
205
|
var fireFoxEnterAtMiddle = Browser.userAgent.indexOf('Firefox') !== -1 && _this.range.startOffset === 0 && _this.range.startContainer === _this.range.endContainer &&
|
|
198
|
-
_this.range.startContainer.nodeName === '#text' && !_this.parent.formatter.editorManager.domNode.isBlockNode(_this.range.startContainer.previousSibling) &&
|
|
206
|
+
_this.range.startContainer.nodeName === '#text' && !isNOU(_this.range.startContainer.previousSibling) && !_this.parent.formatter.editorManager.domNode.isBlockNode(_this.range.startContainer.previousSibling) &&
|
|
199
207
|
_this.range.startContainer.parentElement === _this.range.startContainer.previousSibling.parentElement;
|
|
200
208
|
var preventZeroWithSpace = ((_this.range.startContainer.nodeName === '#text' && _this.range.startContainer.textContent.includes('\u200B') &&
|
|
201
209
|
_this.range.startContainer.textContent.trim() === '\u200B') ||
|
|
@@ -124,7 +124,7 @@ var HtmlEditor = /** @class */ (function () {
|
|
|
124
124
|
HtmlEditor.prototype.onSelectionRestore = function (e) {
|
|
125
125
|
this.parent.isBlur = false;
|
|
126
126
|
this.contentRenderer.getEditPanel().focus({ preventScroll: true });
|
|
127
|
-
if (isNullOrUndefined(e.items) || e.items) {
|
|
127
|
+
if ((isNullOrUndefined(e.items) || e.items) && (!isNullOrUndefined(this.saveSelection))) {
|
|
128
128
|
this.saveSelection.restore();
|
|
129
129
|
}
|
|
130
130
|
};
|
|
@@ -589,7 +589,7 @@ var HtmlEditor = /** @class */ (function () {
|
|
|
589
589
|
var checkParent = false;
|
|
590
590
|
if (this.oldRangeElement && this.oldRangeElement.nodeName !== '#text' && this.oldRangeElement.querySelectorAll('BR').length === 1) {
|
|
591
591
|
var brElement = this.oldRangeElement.querySelector('BR');
|
|
592
|
-
if (brElement) {
|
|
592
|
+
if (brElement && isNOU(brElement.nextSibling)) {
|
|
593
593
|
var brParentElement = brElement.parentNode;
|
|
594
594
|
var currentState = this.oldRangeElement.innerHTML;
|
|
595
595
|
this.parent.formatter.saveData(currentState);
|
|
@@ -476,8 +476,20 @@ var PasteCleanup = /** @class */ (function () {
|
|
|
476
476
|
this.parent.trigger(events.imageUploadSuccess, e, function (e) {
|
|
477
477
|
if (!isNullOrUndefined(_this.parent.insertImageSettings.path)) {
|
|
478
478
|
var url = _this.parent.insertImageSettings.path + e.file.name;
|
|
479
|
-
imgElem
|
|
480
|
-
|
|
479
|
+
if (!_this.parent.inputElement.contains(imgElem)) {
|
|
480
|
+
var imgHtmlElems = _this.parent.inputElement.querySelectorAll('#' + imgElem.id);
|
|
481
|
+
for (var i = 0; i < imgHtmlElems.length; i++) {
|
|
482
|
+
var imgHtmlElem = imgHtmlElems[i];
|
|
483
|
+
if (imgHtmlElem && imgHtmlElem.style && imgHtmlElem.style.opacity === '0.5') {
|
|
484
|
+
imgHtmlElem.src = url;
|
|
485
|
+
imgHtmlElem.setAttribute('alt', e.file.name);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
imgElem.src = url;
|
|
491
|
+
imgElem.setAttribute('alt', e.file.name);
|
|
492
|
+
}
|
|
481
493
|
}
|
|
482
494
|
});
|
|
483
495
|
}
|
|
@@ -490,7 +502,18 @@ var PasteCleanup = /** @class */ (function () {
|
|
|
490
502
|
}
|
|
491
503
|
this.popupCloseTime = setTimeout(function () {
|
|
492
504
|
popupObj.close();
|
|
493
|
-
|
|
505
|
+
if (!_this.parent.inputElement.contains(imgElem)) {
|
|
506
|
+
var imgHtmlElems = _this.parent.inputElement.querySelectorAll('#' + imgElem.id);
|
|
507
|
+
for (var i = 0; i < imgHtmlElems.length; i++) {
|
|
508
|
+
var imgHtmlElem = imgHtmlElems[i];
|
|
509
|
+
if (imgHtmlElem && imgHtmlElem.style && imgHtmlElem.style.opacity === '0.5') {
|
|
510
|
+
imgHtmlElem.style.opacity = '1';
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
else {
|
|
515
|
+
imgElem.style.opacity = '1';
|
|
516
|
+
}
|
|
494
517
|
_this.toolbarEnableDisable(false);
|
|
495
518
|
if (uploadObj && document.body.contains(uploadObj.element)) {
|
|
496
519
|
uploadObj.destroy();
|
|
@@ -143,7 +143,7 @@ var Formatter = /** @class */ (function () {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
var command = actionBeginArgs.item.subCommand.toLocaleLowerCase();
|
|
146
|
-
if (command === 'image') {
|
|
146
|
+
if (command === 'image' || command === 'file' || command === 'replace') {
|
|
147
147
|
value = actionBeginArgs.itemCollection;
|
|
148
148
|
}
|
|
149
149
|
if (command === 'paste' || command === 'cut' || command === 'copy') {
|
|
@@ -2047,34 +2047,40 @@ var Table = /** @class */ (function () {
|
|
|
2047
2047
|
// eslint-disable-next-line
|
|
2048
2048
|
Table.prototype.applyProperties = function (args, e) {
|
|
2049
2049
|
var dialogEle = this.editdlgObj.element;
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
if (
|
|
2058
|
-
|
|
2059
|
-
|
|
2050
|
+
if (dialogEle && args && args.selectNode.length > 0 && args.selectNode[0]) {
|
|
2051
|
+
var selectedElement = (args.selectNode[0] && args.selectNode[0].nodeType === 3 ?
|
|
2052
|
+
args.selectNode[0].parentNode : args.selectNode[0]);
|
|
2053
|
+
var table = selectedElement ? closest(selectedElement, 'table') : null;
|
|
2054
|
+
if (table) {
|
|
2055
|
+
table.style.width = dialogEle.querySelector('.e-table-width') ? dialogEle.querySelector('.e-table-width').value + 'px'
|
|
2056
|
+
: table.style.width;
|
|
2057
|
+
if (dialogEle.querySelector('.e-cell-padding') && dialogEle.querySelector('.e-cell-padding').value !== '') {
|
|
2058
|
+
var tdElm = table.querySelectorAll('td');
|
|
2059
|
+
for (var i = 0; i < tdElm.length; i++) {
|
|
2060
|
+
var padVal = '';
|
|
2061
|
+
if (tdElm[i].style.padding === '') {
|
|
2062
|
+
padVal = tdElm[i].getAttribute('style') + ' padding:' +
|
|
2063
|
+
dialogEle.querySelector('.e-cell-padding').value + 'px;';
|
|
2064
|
+
}
|
|
2065
|
+
else {
|
|
2066
|
+
tdElm[i].style.padding = dialogEle.querySelector('.e-cell-padding').value + 'px';
|
|
2067
|
+
padVal = tdElm[i].getAttribute('style');
|
|
2068
|
+
}
|
|
2069
|
+
tdElm[i].setAttribute('style', padVal);
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
table.cellSpacing = dialogEle.querySelector('.e-cell-spacing') ? dialogEle.querySelector('.e-cell-spacing').value
|
|
2073
|
+
: table.cellSpacing;
|
|
2074
|
+
if (!isNOU(table.cellSpacing) && table.cellSpacing !== '0') {
|
|
2075
|
+
addClass([table], classes.CLS_TABLE_BORDER);
|
|
2060
2076
|
}
|
|
2061
2077
|
else {
|
|
2062
|
-
|
|
2063
|
-
padVal = tdElm[i].getAttribute('style');
|
|
2078
|
+
removeClassWithAttr([table], classes.CLS_TABLE_BORDER);
|
|
2064
2079
|
}
|
|
2065
|
-
|
|
2080
|
+
this.parent.formatter.saveData();
|
|
2081
|
+
this.editdlgObj.hide({ returnValue: true });
|
|
2066
2082
|
}
|
|
2067
2083
|
}
|
|
2068
|
-
table.cellSpacing = dialogEle.querySelector('.e-cell-spacing') ? dialogEle.querySelector('.e-cell-spacing').value
|
|
2069
|
-
: table.cellSpacing;
|
|
2070
|
-
if (!isNOU(table.cellSpacing) && table.cellSpacing !== '0') {
|
|
2071
|
-
addClass([table], classes.CLS_TABLE_BORDER);
|
|
2072
|
-
}
|
|
2073
|
-
else {
|
|
2074
|
-
removeClassWithAttr([table], classes.CLS_TABLE_BORDER);
|
|
2075
|
-
}
|
|
2076
|
-
this.parent.formatter.saveData();
|
|
2077
|
-
this.editdlgObj.hide({ returnValue: true });
|
|
2078
2084
|
};
|
|
2079
2085
|
Table.prototype.tableDlgContent = function (e) {
|
|
2080
2086
|
var selectNode = e.selectParent[0];
|
|
@@ -649,11 +649,10 @@ var ToolbarRenderer = /** @class */ (function () {
|
|
|
649
649
|
enableRtl: this.parent.enableRtl,
|
|
650
650
|
inline: true,
|
|
651
651
|
value: null,
|
|
652
|
-
cssClass: ((item === 'backgroundcolor') ? CLS_BACKGROUND_COLOR_PICKER : CLS_FONT_COLOR_PICKER) + ' ' + args.cssClass
|
|
652
|
+
cssClass: ((item === 'backgroundcolor') ? CLS_BACKGROUND_COLOR_PICKER : CLS_FONT_COLOR_PICKER) + ' ' + args.cssClass,
|
|
653
653
|
created: function () {
|
|
654
654
|
var value = (item === 'backgroundcolor') ? proxy.parent.backgroundColor.default : proxy.parent.fontColor.default;
|
|
655
|
-
|
|
656
|
-
colorPicker.setProperties({ value: value, cssClass: cssClass });
|
|
655
|
+
colorPicker.setProperties({ value: value });
|
|
657
656
|
},
|
|
658
657
|
mode: ((item === 'backgroundcolor') ? proxy.parent.backgroundColor.mode : proxy.parent.fontColor.mode),
|
|
659
658
|
modeSwitcher: ((item === 'backgroundcolor') ? proxy.parent.backgroundColor.modeSwitcher : proxy.parent.fontColor.modeSwitcher),
|
|
@@ -682,17 +681,21 @@ var ToolbarRenderer = /** @class */ (function () {
|
|
|
682
681
|
value: colorpickerValue
|
|
683
682
|
};
|
|
684
683
|
proxy.parent.notify(events.selectionRestore, {});
|
|
685
|
-
proxy.currentElement
|
|
684
|
+
if (proxy.currentElement) {
|
|
685
|
+
proxy.currentElement.querySelector('.' + CLS_RTE_ELEMENTS).style.borderBottomColor = colorpickerValue;
|
|
686
|
+
}
|
|
686
687
|
var range = proxy.parent.formatter.editorManager.nodeSelection.getRange(proxy.parent.contentModule.getDocument());
|
|
687
688
|
var closestElement = closest(range.startContainer.parentNode, 'table');
|
|
688
689
|
if ((range.startContainer.nodeName === 'TD' || range.startContainer.nodeName === 'TH' || range.startContainer.nodeName === 'BODY' ||
|
|
689
|
-
closest(range.startContainer.parentNode, 'td,th')) && range.collapsed && args.subCommand === 'BackgroundColor' && (closest(closestElement, '.' + classes.CLS_RTE) || proxy.parent.iframeSettings.enable)) {
|
|
690
|
+
(range.startContainer.parentNode && closest(range.startContainer.parentNode, 'td,th'))) && range.collapsed && args.subCommand === 'BackgroundColor' && (closestElement && closest(closestElement, '.' + classes.CLS_RTE) || proxy.parent.iframeSettings.enable)) {
|
|
690
691
|
proxy.parent.notify(events.tableColorPickerChanged, colorPickerArgs);
|
|
691
692
|
}
|
|
692
693
|
else {
|
|
693
694
|
proxy.parent.notify(events.colorPickerChanged, colorPickerArgs);
|
|
694
695
|
}
|
|
695
|
-
proxy.currentDropdown
|
|
696
|
+
if (proxy.currentDropdown) {
|
|
697
|
+
proxy.currentDropdown.toggle();
|
|
698
|
+
}
|
|
696
699
|
},
|
|
697
700
|
beforeModeSwitch: function (args) {
|
|
698
701
|
value = colorPicker.value;
|
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2648,6 +2652,7 @@ iframe.e-rte-content {
|
|
|
2648
2652
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2649
2653
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2650
2654
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2655
|
+
border: 0;
|
|
2651
2656
|
}
|
|
2652
2657
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2653
2658
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2648,6 +2652,7 @@ iframe.e-rte-content {
|
|
|
2648
2652
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2649
2653
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2650
2654
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2655
|
+
border: 0;
|
|
2651
2656
|
}
|
|
2652
2657
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2653
2658
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2648,6 +2652,7 @@ iframe.e-rte-content {
|
|
|
2648
2652
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2649
2653
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2650
2654
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2655
|
+
border: 0;
|
|
2651
2656
|
}
|
|
2652
2657
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2653
2658
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2655,6 +2659,7 @@ iframe.e-rte-content {
|
|
|
2655
2659
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2656
2660
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2657
2661
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2662
|
+
border: 0;
|
|
2658
2663
|
}
|
|
2659
2664
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2660
2665
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2655,6 +2659,7 @@ iframe.e-rte-content {
|
|
|
2655
2659
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2656
2660
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2657
2661
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2662
|
+
border: 0;
|
|
2658
2663
|
}
|
|
2659
2664
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2660
2665
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
package/styles/tailwind3.css
CHANGED
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
padding-top: 0;
|
|
782
782
|
height: 32px;
|
|
783
783
|
}
|
|
784
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
785
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
786
|
+
padding: 0 4px;
|
|
787
|
+
}
|
|
784
788
|
.e-richtexteditor .e-rte-toolbar.e-control[class*=e-toolbar],
|
|
785
789
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-control[class*=e-toolbar] {
|
|
786
790
|
-webkit-box-sizing: border-box;
|
|
@@ -2655,6 +2659,7 @@ iframe.e-rte-content {
|
|
|
2655
2659
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2656
2660
|
background: var(--color-sf-secondary-bg-color-pressed);
|
|
2657
2661
|
border: 1px solid var(--color-sf-secondary-border-color-pressed);
|
|
2662
|
+
border: 0;
|
|
2658
2663
|
}
|
|
2659
2664
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
2660
2665
|
.e-richtexteditor .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|