@syncfusion/ej2-richtexteditor 25.1.37 → 25.1.38

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/ej2-richtexteditor.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +43 -35
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +42 -34
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +2 -2
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -10
  13. package/src/editor-manager/plugin/inserthtml.js +16 -19
  14. package/src/editor-manager/plugin/lists.js +19 -11
  15. package/src/rich-text-editor/actions/html-editor.js +0 -3
  16. package/src/rich-text-editor/actions/quick-toolbar.js +4 -0
  17. package/src/rich-text-editor/renderer/toolbar-renderer.js +3 -1
  18. package/styles/bootstrap-dark.css +10 -7
  19. package/styles/bootstrap.css +3 -3
  20. package/styles/fluent-dark.css +17 -5
  21. package/styles/fluent.css +17 -5
  22. package/styles/material-dark.css +1 -1
  23. package/styles/material.css +1 -1
  24. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +4 -4
  25. package/styles/rich-text-editor/_bootstrap-definition.scss +2 -2
  26. package/styles/rich-text-editor/_fluent-definition.scss +5 -5
  27. package/styles/rich-text-editor/_layout.scss +3 -3
  28. package/styles/rich-text-editor/_tailwind-definition.scss +5 -5
  29. package/styles/rich-text-editor/_theme.scss +21 -0
  30. package/styles/rich-text-editor/bootstrap-dark.css +10 -7
  31. package/styles/rich-text-editor/bootstrap.css +3 -3
  32. package/styles/rich-text-editor/fluent-dark.css +17 -5
  33. package/styles/rich-text-editor/fluent.css +17 -5
  34. package/styles/rich-text-editor/material-dark.css +1 -1
  35. package/styles/rich-text-editor/material.css +1 -1
  36. package/styles/rich-text-editor/tailwind-dark.css +9 -9
  37. package/styles/rich-text-editor/tailwind.css +9 -9
  38. package/styles/tailwind-dark.css +9 -9
  39. package/styles/tailwind.css +9 -9
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 25.1.37
3
+ * version : 25.1.38
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.1.35",
3
+ "_id": "@syncfusion/ej2-richtexteditor@25.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+ZVGzeuC6zPgsx8Ydma2G5WgxqpfYz7NnO17cQwk7cLzhoGTJqSrY/dcHCwPYe884mJ4hm0P6QB1mD9kUXywFA==",
5
+ "_integrity": "sha512-CEvrleMxqO4OKhdhi18qBG/K230NQEOrIMhby9ijEpKXDIZMDr5Ya3WHfVA+ODcCjIYsSy3kIJcH13sjKdwcyQ==",
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.1.35.tgz",
29
- "_shasum": "9b56182752bfc14fa4ccfbe95f8a3875a66ecabc",
28
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-25.1.37.tgz",
29
+ "_shasum": "33b50ff739e07452c07dcd7aeb20843177c42689",
30
30
  "_spec": "@syncfusion/ej2-richtexteditor@*",
31
31
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
32
32
  "author": {
@@ -39,11 +39,11 @@
39
39
  "dependencies": {
40
40
  "@syncfusion/ej2-base": "~25.1.35",
41
41
  "@syncfusion/ej2-buttons": "~25.1.35",
42
- "@syncfusion/ej2-filemanager": "~25.1.37",
43
- "@syncfusion/ej2-inputs": "~25.1.37",
44
- "@syncfusion/ej2-navigations": "~25.1.37",
45
- "@syncfusion/ej2-popups": "~25.1.35",
46
- "@syncfusion/ej2-splitbuttons": "~25.1.37"
42
+ "@syncfusion/ej2-filemanager": "~25.1.38",
43
+ "@syncfusion/ej2-inputs": "~25.1.38",
44
+ "@syncfusion/ej2-navigations": "~25.1.38",
45
+ "@syncfusion/ej2-popups": "~25.1.38",
46
+ "@syncfusion/ej2-splitbuttons": "~25.1.38"
47
47
  },
48
48
  "deprecated": false,
49
49
  "description": "Essential JS 2 RichTextEditor component",
@@ -69,6 +69,6 @@
69
69
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
70
70
  },
71
71
  "typings": "index.d.ts",
72
- "version": "25.1.37",
72
+ "version": "25.1.38",
73
73
  "sideEffects": false
74
74
  }
@@ -215,25 +215,22 @@ var InsertHtml = /** @class */ (function () {
215
215
  CONSTANT.TABLE_BLOCK_TAGS.indexOf(closestParentNode.tagName.toLocaleLowerCase()) !== -1))
216
216
  || (node.nodeName.toLowerCase() === 'table' && closestParentNode &&
217
217
  CONSTANT.TABLE_BLOCK_TAGS.indexOf(closestParentNode.tagName.toLocaleLowerCase()) === -1))) {
218
- if (isCollapsed) {
219
- preNode = nodeCutter.SplitNode(range, closestParentNode, true);
220
- }
221
- else {
222
- preNode = nodeCutter.SplitNode(range, closestParentNode, false);
223
- }
224
- sibNode = isNOU(preNode.previousSibling) ? preNode.parentNode.previousSibling : preNode.previousSibling;
225
- if (nodes.length === 1) {
226
- nodeSelection.setSelectionContents(docElement, preNode);
227
- range = nodeSelection.getRange(docElement);
228
- isSingleNode = true;
229
- }
230
- else {
231
- lasNode = nodeCutter.GetSpliceNode(range, nodes[nodes.length - 1].parentElement);
232
- lasNode = isNOU(lasNode) ? preNode : lasNode;
233
- nodeSelection.setSelectionText(docElement, preNode, lasNode, 0, (lasNode.nodeType === 3) ?
234
- lasNode.textContent.length : lasNode.childNodes.length);
235
- range = nodeSelection.getRange(docElement);
236
- isSingleNode = false;
218
+ preNode = nodeCutter.GetSpliceNode(range, closestParentNode);
219
+ if (!isNOU(preNode)) {
220
+ sibNode = isNOU(preNode.previousSibling) ? preNode.parentNode.previousSibling : preNode.previousSibling;
221
+ if (nodes.length === 1) {
222
+ nodeSelection.setSelectionContents(docElement, preNode);
223
+ range = nodeSelection.getRange(docElement);
224
+ isSingleNode = true;
225
+ }
226
+ else {
227
+ lasNode = nodeCutter.GetSpliceNode(range, nodes[nodes.length - 1].parentElement);
228
+ lasNode = isNOU(lasNode) ? preNode : lasNode;
229
+ nodeSelection.setSelectionText(docElement, preNode, lasNode, 0, (lasNode.nodeType === 3) ?
230
+ lasNode.textContent.length : lasNode.childNodes.length);
231
+ range = nodeSelection.getRange(docElement);
232
+ isSingleNode = false;
233
+ }
237
234
  }
238
235
  }
239
236
  var containsBlockNode = false;
@@ -212,6 +212,7 @@ var Lists = /** @class */ (function () {
212
212
  endNode = endNode.nodeName === 'BR' ? endNode.parentElement : endNode;
213
213
  startNode = startNode.nodeName !== 'LI' && !isNOU(startNode.closest('LI')) ? startNode.closest('LI') : startNode;
214
214
  endNode = endNode.nodeName !== 'LI' && endNode.nodeName !== '#text' && !isNOU(endNode.closest('LI')) ? endNode.closest('LI') : endNode;
215
+ var parentList = (range.startContainer.nodeName === '#text') ? range.startContainer.parentElement.closest('li') : range.startContainer.closest('li');
215
216
  if (((range.commonAncestorContainer.nodeName === 'OL' || range.commonAncestorContainer.nodeName === 'UL' || range.commonAncestorContainer.nodeName === 'LI') &&
216
217
  isNOU(endNode.nextElementSibling) && endNode.textContent.length === range.endOffset &&
217
218
  isNOU(startNode.previousElementSibling) && range.startOffset === 0) ||
@@ -228,6 +229,12 @@ var Lists = /** @class */ (function () {
228
229
  }
229
230
  e.event.preventDefault();
230
231
  }
232
+ else if (!isNOU(parentList) && parentList.textContent === range.startContainer.textContent && parentList.closest('li').previousElementSibling === null) {
233
+ range.deleteContents();
234
+ this.parent.editableElement.querySelectorAll('li:empty').forEach(function (e) { return e.remove(); });
235
+ this.parent.editableElement.querySelectorAll('ol:empty').forEach(function (e) { return e.remove(); });
236
+ e.event.preventDefault();
237
+ }
231
238
  };
232
239
  Lists.prototype.onKeyUp = function () {
233
240
  if (!isNOU(this.commonLIParent) && !isNOU(this.commonLIParent.querySelector('.removeList'))) {
@@ -267,7 +274,7 @@ var Lists = /** @class */ (function () {
267
274
  if (e.event.which === 8) {
268
275
  this.backspaceList(e);
269
276
  }
270
- if (e.event.which === 46 && e.event.action === 'delete') {
277
+ if ((e.event.which === 46 && e.event.action === 'delete') || (e.event.which === 88 && e.event.action === 'cut')) {
271
278
  var range = this.parent.nodeSelection.getRange(this.parent.currentDocument);
272
279
  var commonAncestor = range.commonAncestorContainer;
273
280
  var startEle = range.startContainer;
@@ -867,17 +874,18 @@ var Lists = /** @class */ (function () {
867
874
  var wrapperclass = isNullOrUndefined(className) ? ' class="e-rte-wrap-inner"' :
868
875
  ' class="' + className + ' e-rte-wrap-inner"';
869
876
  var parentElement = parentNode;
870
- if (!isNOU(parentElement.style.listStyleType)) {
871
- parentNode.style.removeProperty("list-style-type");
872
- }
873
- if (!isNOU(parentElement.style.listStyleImage)) {
874
- parentNode.style.removeProperty("list-style-image");
875
- }
876
- if (parentElement.style.length === 0) {
877
- parentNode.removeAttribute("style");
877
+ if (elements.length === parentElement.querySelectorAll('li').length) {
878
+ if (!isNOU(parentElement.style.listStyleType)) {
879
+ parentNode.style.removeProperty('list-style-type');
880
+ }
881
+ if (!isNOU(parentElement.style.listStyleImage)) {
882
+ parentNode.style.removeProperty('list-style-image');
883
+ }
884
+ if (parentElement.style.length === 0) {
885
+ parentNode.removeAttribute('style');
886
+ }
878
887
  }
879
- var wrapper = '<' + CONSTANT.DEFAULT_TAG + wrapperclass +
880
- this.domNode.attributes(parentElement) + '></' + CONSTANT.DEFAULT_TAG + '>';
888
+ var wrapper = '<' + CONSTANT.DEFAULT_TAG + wrapperclass + '></' + CONSTANT.DEFAULT_TAG + '>';
881
889
  if (e.enterAction !== 'BR') {
882
890
  this.domNode.wrapInner(element, this.domNode.parseHTMLFragment(wrapper));
883
891
  }
@@ -90,9 +90,6 @@ var HtmlEditor = /** @class */ (function () {
90
90
  };
91
91
  HtmlEditor.prototype.onSelectionRestore = function (e) {
92
92
  this.parent.isBlur = false;
93
- if (isNOU(this.saveSelection) || isNOU(closest(this.saveSelection.range.startContainer.parentElement, ".e-img-caption")) ? true : !(closest(this.saveSelection.range.startContainer.parentElement, ".e-img-caption").getAttribute("contenteditable") == "false")) {
94
- this.contentRenderer.getEditPanel().focus();
95
- }
96
93
  if (isNullOrUndefined(e.items) || e.items) {
97
94
  this.saveSelection.restore();
98
95
  }
@@ -261,6 +261,10 @@ var QuickToolbar = /** @class */ (function () {
261
261
  };
262
262
  QuickToolbar.prototype.keyDownHandler = function (e) {
263
263
  var preventHide = e.args.altKey;
264
+ if (this.parent.inlineMode.enable && e.args.metaKey && e.args.keyCode === 65) {
265
+ this.showInlineQTBar(this.offsetX, this.offsetY, e.args.target);
266
+ return;
267
+ }
264
268
  if (!preventHide) {
265
269
  if ((this.parent.inlineMode.enable && (!Browser.isDevice || isIDevice()))
266
270
  && !isNullOrUndefined(select('.' + CLS_INLINE_POP, document))) {
@@ -366,9 +366,11 @@ var ToolbarRenderer = /** @class */ (function () {
366
366
  for (var index = 0; index < args.element.childNodes.length; index++) {
367
367
  if (currentListStyle === args.element.childNodes[index].innerHTML.split(' ').join('').toLocaleLowerCase()) {
368
368
  addClass([args.element.childNodes[index]], 'e-active');
369
+ break;
369
370
  }
370
- else if (currentListStyle === '') {
371
+ else if (currentListStyle === '' && args.element.childNodes[index].innerHTML !== 'None') {
371
372
  addClass([args.element.childNodes[index]], 'e-active');
373
+ break;
372
374
  }
373
375
  }
374
376
  }
@@ -475,7 +475,7 @@
475
475
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
476
476
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-dropdown-btn .e-rte-color-content {
477
477
  padding-top: 1px;
478
- height: 30px;
478
+ height: 35px;
479
479
  }
480
480
  .e-bigger .e-richtexteditor.e-rte-full-screen iframe,
481
481
  .e-richtexteditor.e-bigger.e-rte-full-screen iframe {
@@ -545,11 +545,11 @@
545
545
  }
546
546
  .e-bigger .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control,
547
547
  .e-richtexteditor.e-bigger .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
548
- padding: 0 6px;
548
+ padding: 0 7px;
549
549
  }
550
550
  .e-bigger .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover,
551
551
  .e-richtexteditor.e-bigger .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
552
- padding: 0 6px;
552
+ padding: 0 7px;
553
553
  }
554
554
 
555
555
  .e-richtexteditor {
@@ -629,7 +629,7 @@
629
629
  }
630
630
  .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
631
631
  height: auto;
632
- min-height: 44px;
632
+ min-height: 40px;
633
633
  padding-left: 1px;
634
634
  }
635
635
  .e-richtexteditor .e-rte-toolbar .e-toolbar-multirow {
@@ -1383,7 +1383,7 @@
1383
1383
  .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control,
1384
1384
  .e-rte-elements .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
1385
1385
  .e-rte-elements .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1386
- padding: 2px 3.5px;
1386
+ padding: 0 2.5px;
1387
1387
  }
1388
1388
  .e-richtexteditor .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon,
1389
1389
  .e-rte-elements .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon {
@@ -1794,11 +1794,11 @@
1794
1794
  }
1795
1795
  .e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content,
1796
1796
  .e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret {
1797
- height: 30px;
1797
+ height: 35px;
1798
1798
  }
1799
1799
  .e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover,
1800
1800
  .e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
1801
- height: 30px;
1801
+ height: 35px;
1802
1802
  }
1803
1803
  .e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) {
1804
1804
  margin: 0 6px;
@@ -2944,6 +2944,9 @@
2944
2944
  .e-richtexteditor .e-video-url-wrap textarea {
2945
2945
  height: 80px;
2946
2946
  }
2947
+ .e-richtexteditor .e-toolbar-extended .e-toolbar-item:not(.e-active) .e-tbar-btn {
2948
+ border: 1px solid transparent;
2949
+ }
2947
2950
 
2948
2951
  .e-rte-quick-popup {
2949
2952
  border: 0;
@@ -770,7 +770,7 @@
770
770
  }
771
771
  .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
772
772
  height: auto;
773
- min-height: 44px;
773
+ min-height: 40px;
774
774
  padding-left: 1px;
775
775
  }
776
776
  .e-richtexteditor .e-rte-toolbar .e-toolbar-multirow {
@@ -1524,7 +1524,7 @@
1524
1524
  .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control,
1525
1525
  .e-rte-elements .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
1526
1526
  .e-rte-elements .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1527
- padding: 2px 3.5px;
1527
+ padding: 1px 2.5px;
1528
1528
  }
1529
1529
  .e-richtexteditor .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon,
1530
1530
  .e-rte-elements .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon {
@@ -1770,7 +1770,7 @@
1770
1770
  .e-richtexteditor .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn:hover, .e-richtexteditor .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn:focus,
1771
1771
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn:hover,
1772
1772
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn:focus {
1773
- padding: 6px 2px;
1773
+ padding: 7px 3px;
1774
1774
  }
1775
1775
  .e-richtexteditor .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text,
1776
1776
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
@@ -453,7 +453,7 @@
453
453
  .e-richtexteditor.e-bigger .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
454
454
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
455
455
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
456
- padding: 0 6px;
456
+ padding: 0 8px;
457
457
  border-radius: 0;
458
458
  }
459
459
  .e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
@@ -747,7 +747,7 @@
747
747
  .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
748
748
  .e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
749
749
  .e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
750
- padding: 0;
750
+ padding: 0 4px;
751
751
  border-radius: 0;
752
752
  }
753
753
  .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
@@ -2716,7 +2716,7 @@
2716
2716
  }
2717
2717
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
2718
2718
  background: #3b3a39;
2719
- border: 0 solid #8a8886;
2719
+ border: 1px solid transparent;
2720
2720
  }
2721
2721
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn .e-icons, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
2722
2722
  color: #a19f9d;
@@ -2784,7 +2784,7 @@
2784
2784
  }
2785
2785
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active {
2786
2786
  background: #3b3a39;
2787
- border: 0;
2787
+ border: 1px solid transparent;
2788
2788
  }
2789
2789
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active .e-rte-color-content::after {
2790
2790
  background: #1b1a19;
@@ -2973,6 +2973,18 @@
2973
2973
  .e-richtexteditor .e-video-url-wrap textarea {
2974
2974
  height: 80px;
2975
2975
  }
2976
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn {
2977
+ border: 1px solid transparent;
2978
+ }
2979
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
2980
+ border: 1px solid transparent;
2981
+ }
2982
+ .e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn {
2983
+ border: 1px solid transparent;
2984
+ }
2985
+ .e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn:hover {
2986
+ border: 1px solid transparent;
2987
+ }
2976
2988
 
2977
2989
  .e-rte-quick-popup {
2978
2990
  border: none;
@@ -3026,7 +3038,7 @@
3026
3038
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn,
3027
3039
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus {
3028
3040
  background: #3b3a39;
3029
- border: 0 solid #8a8886;
3041
+ border: 1px solid transparent;
3030
3042
  }
3031
3043
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn .e-icons,
3032
3044
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
package/styles/fluent.css CHANGED
@@ -453,7 +453,7 @@
453
453
  .e-richtexteditor.e-bigger .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
454
454
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
455
455
  .e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
456
- padding: 0 6px;
456
+ padding: 0 8px;
457
457
  border-radius: 0;
458
458
  }
459
459
  .e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
@@ -747,7 +747,7 @@
747
747
  .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
748
748
  .e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
749
749
  .e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
750
- padding: 0;
750
+ padding: 0 4px;
751
751
  border-radius: 0;
752
752
  }
753
753
  .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
@@ -2716,7 +2716,7 @@
2716
2716
  }
2717
2717
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
2718
2718
  background: #d2d0ce;
2719
- border: 0 solid #8a8886;
2719
+ border: 1px solid transparent;
2720
2720
  }
2721
2721
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn .e-icons, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
2722
2722
  color: #605e5c;
@@ -2784,7 +2784,7 @@
2784
2784
  }
2785
2785
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active {
2786
2786
  background: #d2d0ce;
2787
- border: 0;
2787
+ border: 1px solid transparent;
2788
2788
  }
2789
2789
  .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active .e-rte-color-content::after {
2790
2790
  background: #fff;
@@ -2973,6 +2973,18 @@
2973
2973
  .e-richtexteditor .e-video-url-wrap textarea {
2974
2974
  height: 80px;
2975
2975
  }
2976
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn {
2977
+ border: 1px solid transparent;
2978
+ }
2979
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
2980
+ border: 1px solid transparent;
2981
+ }
2982
+ .e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn {
2983
+ border: 1px solid transparent;
2984
+ }
2985
+ .e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn:hover {
2986
+ border: 1px solid transparent;
2987
+ }
2976
2988
 
2977
2989
  .e-rte-quick-popup {
2978
2990
  border: none;
@@ -3026,7 +3038,7 @@
3026
3038
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn,
3027
3039
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus {
3028
3040
  background: #d2d0ce;
3029
- border: 0 solid #8a8886;
3041
+ border: 1px solid transparent;
3030
3042
  }
3031
3043
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn .e-icons,
3032
3044
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
@@ -1614,7 +1614,7 @@
1614
1614
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn {
1615
1615
  padding: 7px 3px;
1616
1616
  border-radius: 4px;
1617
- padding: 3px;
1617
+ padding: 0 6px;
1618
1618
  }
1619
1619
  .e-richtexteditor .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text,
1620
1620
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
@@ -1614,7 +1614,7 @@
1614
1614
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn {
1615
1615
  padding: 7px 3px;
1616
1616
  border-radius: 4px;
1617
- padding: 3px;
1617
+ padding: 0 6px;
1618
1618
  }
1619
1619
  .e-richtexteditor .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text,
1620
1620
  .e-rte-elements .e-rte-emojipicker-popup.e-popup.e-popup-open .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
@@ -124,7 +124,7 @@ $rte-colorpicker-parent-padding-hover: 1px !default;
124
124
  $rte-colorpicker-parent-padding-active-hover: 1px !default;
125
125
  $rte-overlay-color: #383838 !default;
126
126
  $rte-dropdown-btn-color-content-height: 30px !default;
127
- $rte-big-dropdown-btn-color-content-height: 30px !default;
127
+ $rte-big-dropdown-btn-color-content-height: 35px !default;
128
128
  $rte-font-icon-width: 30px !default;
129
129
  $rte-font-arrow-width: 18px !default;
130
130
  $rte-font-arrow-touch-width: 20px !default;
@@ -229,9 +229,9 @@ $rte-big-tablecell-width : 16px;
229
229
  $rte-toolbar-item-frist-last-child-margin: 0;
230
230
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
231
231
  $dropdown-btn-font-size: inherit !default;
232
- $rte-toolbar-expaned-padding: 2px 3.5px;
232
+ $rte-toolbar-expaned-padding: 0 2.5px;
233
233
  $rte-toolbar-expaned-padding-hover: 0 2.5px;
234
- $rte-big-toolbar-expaned-padding: 0 6px;
234
+ $rte-big-toolbar-expaned-padding: 0 7px;
235
235
  $rte-extended-toolbar-items-padding: 0;
236
236
  $rte-expand-tbar-hover-bg: transparent !default;
237
237
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -240,7 +240,7 @@ $rte-background-color-icon-fontsize: 14px;
240
240
  $rte-big-background-color-icon-fontsize: 18px;
241
241
  $rte-dropdown-btn-color-content-padding: 1px !default;
242
242
  $rte-big-dropdown-btn-color-content-padding: 1px !default;
243
- $rte-tb-expended-min-height: 44px !default;
243
+ $rte-tb-expended-min-height: 40px !default;
244
244
  $rte-big-tb-expended-min-height: 49px !default;
245
245
  $rte-tb-expended-padding-left: 1px !default;
246
246
  $rte-tb-expended-hover-padding-left: 1px !default;
@@ -228,7 +228,7 @@ $rte-big-tablecell-height : 16px;
228
228
  $rte-big-tablecell-width : 16px;
229
229
  $rte-toolbar-item-frist-last-child-margin: 0;
230
230
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
231
- $rte-toolbar-expaned-padding: 2px 3.5px;
231
+ $rte-toolbar-expaned-padding: 1px 2.5px;
232
232
  $dropdown-btn-font-size: inherit !default;
233
233
  $rte-toolbar-expaned-padding-hover: 1px 2.5px;
234
234
  $rte-big-toolbar-expaned-padding: 0 7px;
@@ -240,7 +240,7 @@ $rte-background-color-icon-fontsize: 14px;
240
240
  $rte-big-background-color-icon-fontsize: 18px;
241
241
  $rte-dropdown-btn-color-content-padding: 1px !default;
242
242
  $rte-big-dropdown-btn-color-content-padding: 1px !default;
243
- $rte-tb-expended-min-height: 44px !default;
243
+ $rte-tb-expended-min-height: 40px !default;
244
244
  $rte-big-tb-expended-min-height: 49px !default;
245
245
  $rte-tb-expended-padding-left: 1px !default;
246
246
  $rte-tb-expended-hover-padding-left: 1px !default;
@@ -36,7 +36,7 @@ $rte-big-tb-items-margin-left: 8px !default;
36
36
  $rte-tb-items-margin-left: 8px !default;
37
37
  $rte-big-tb-items-padding-left: 8px !default;
38
38
  $rte-tb-items-padding-left: 8px !default;
39
- $rte-active-tb-item-btn-padding: 0 !default;
39
+ $rte-active-tb-item-btn-padding: 0 4px !default;
40
40
  $rte-split-btn-bar-size: 0 !default;
41
41
  $rte-split-btn-active-color-icon-line-height: 30px !default;
42
42
  $rte-big-split-btn-active-color-icon-line-height: 37px !default;
@@ -65,7 +65,7 @@ $rte-font-arrow-width: 12px !default;
65
65
  $rte-font-arrow-touch-width: 20px !default;
66
66
  $rte-font-icon-line-height: $leading-none !default;
67
67
  $rte-placeholder-line-height: $leading-normal !default;
68
- $rte-big-active-tb-item-btn-padding: 0 6px !default;
68
+ $rte-big-active-tb-item-btn-padding: 0 8px !default;
69
69
  $rte-table-popup-padding: 10px !default;
70
70
  $rte-table-popup-border: 0 solid $gray30 !default;
71
71
  $rte-insert-dialog-label-padding-top: 12px !default;
@@ -116,7 +116,7 @@ $rte-big-formatlists-dropdown-line-height: 30px;
116
116
  //Layout Variables End
117
117
 
118
118
  //Theme Variables Start
119
- $rte-split-btn-active-border: 0 !default;
119
+ $rte-split-btn-active-border: 1px solid $transparent !default;
120
120
  $rte-border-color: $border-light !default;
121
121
  $rte-content-bg: $content-bg-color !default;
122
122
  $rte-full-screen-bg: $content-bg-color !default;
@@ -145,7 +145,7 @@ $rte-quick-pop-item-focus-bg: $content-bg-color-alt4 !default;
145
145
  $rte-quick-tb-btn-hover: $content-bg-color-alt4 !default;
146
146
  $rte-tb-item-active-bg: $content-bg-color-alt5 !default;
147
147
  $rte-tb-active-font-color: $icon-color !default;
148
- $rte-tb-item-active-border: 0 solid $secondary-border-color-pressed !default;
148
+ $rte-tb-item-active-border: 1px solid $transparent !default;
149
149
  $rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
150
150
  $rte-color-picker-active-bg: inherit !default;
151
151
  $rte-drop-btn-active-bg: $content-bg-color-alt5 !default;
@@ -162,7 +162,7 @@ $rte-split-btn-span-active-bg: $content-bg-color-alt3 !default;
162
162
  $rte-split-btn-bar-bg: $content-bg-color !default;
163
163
  $rte-split-btn-active-bar-bg: $content-bg-color !default;
164
164
  $rte-split-btn-bar-size: 0 !default;
165
- $rte-split-btn-active-border: 0 !default;
165
+ $rte-split-btn-active-border: 1px solid $transparent !default;
166
166
  $rte-split-btn-active-color-icon-line-height: 40px !default;
167
167
  $rte-big-split-btn-active-color-icon-line-height: 48px !default;
168
168
 
@@ -1284,12 +1284,12 @@
1284
1284
  @if $skin-name =='bootstrap' or $skin-name =='botstrap-dark' {
1285
1285
  &:hover,
1286
1286
  &:focus{
1287
- padding: 6px 2px;
1287
+ padding: 7px 3px;
1288
1288
  }
1289
1289
  }
1290
1290
 
1291
1291
  @if $skin-name =='material' or $skin-name =='material-dark' {
1292
- padding: 3px;
1292
+ padding: 0 6px;
1293
1293
  }
1294
1294
 
1295
1295
  .e-tbar-btn-text {
@@ -1684,7 +1684,7 @@
1684
1684
  .e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1685
1685
  .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1686
1686
  @if $skin-name == 'tailwind' {
1687
- padding: 1px;
1687
+ padding: 0;
1688
1688
  }
1689
1689
  }
1690
1690
  }
@@ -12,7 +12,7 @@ $rte-quick-item-btn-width: 26px !default;
12
12
  $rte-big-quick-item-btn-height: 38px !default;
13
13
  $rte-quick-item-btn-height: 30px !default;
14
14
  $rte-big-quick-item-padding: 12px !default;
15
- $rte-quick-item-padding: 3px !default;
15
+ $rte-quick-item-padding: 0 3px !default;
16
16
  $rte-quick-item-icon-min-width: 24px !default;
17
17
  $rte-big-quick-item-line-height: $leading-normal !default;
18
18
  $rte-content-padding: 12px !default;
@@ -51,8 +51,8 @@ $rte-big-drop-btn-padding-left: 10px !default;
51
51
  $rte-big-drop-btn-padding-right: 6px !default;
52
52
  $rte-big-drop-btn-action-padding-left: 10px !default;
53
53
  $rte-big-drop-btn-action-padding-right: 6px !default;
54
- $rte-colorpicker-parent-padding: 1px !default;
55
- $rte-colorpicker-parent-padding-hover: 1px !default;
54
+ $rte-colorpicker-parent-padding: 0 !default;
55
+ $rte-colorpicker-parent-padding-hover: 0 !default;
56
56
  $rte-colorpicker-parent-padding-active-hover: 0 !default;
57
57
  $rte-dropdown-btn-color-content-height: 30px !default;
58
58
  $rte-big-dropdown-btn-color-content-height: 38px !default;
@@ -85,7 +85,7 @@ $rte-big-inline-tmp-size-min-width: 59px;
85
85
  $rte-inline-tmp-size-min-width: 66px;
86
86
  $rte-big-inline-tmp-color-min-width: 50px;
87
87
  $rte-inline-tmp-color-min-width: 55px;
88
- $rte-big-color-list-span-common-padding-left-right: 1px;
88
+ $rte-big-color-list-span-common-padding-left-right: 0;
89
89
  $rte-placeholder-padding: 12px !default;
90
90
  $rte-default-character-count-opacity: 1;
91
91
  $rte-droparea-line-height: 10;
@@ -159,7 +159,7 @@ $rte-split-btn-span-active-bg: $secondary-bg-color-pressed !default;
159
159
  $rte-split-btn-bar-bg: $content-bg-color-alt1 !default;
160
160
  $rte-split-btn-active-bar-bg: $content-bg-color !default;
161
161
  $rte-split-btn-bar-size: 0 !default;
162
- $rte-split-btn-active-border: 0 solid $secondary-border-color-hover !default;
162
+ $rte-split-btn-active-border: 1px solid $secondary-border-color-hover !default;
163
163
  $rte-split-btn-active-color-icon-line-height: 30px !default;
164
164
  $rte-big-split-btn-active-color-icon-line-height: 38px !default;
165
165
 
@@ -381,6 +381,27 @@
381
381
  .e-video-url-wrap textarea {
382
382
  height: 80px;
383
383
  }
384
+
385
+ @if $skin-name == 'FluentUI' {
386
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn{
387
+ border: 1px solid transparent;
388
+ &:hover{
389
+ border: 1px solid transparent;
390
+ }
391
+ }
392
+ .e-toolbar .e-toolbar-item .e-tbar-btn{
393
+ border: 1px solid transparent;
394
+ &:hover{
395
+ border: 1px solid transparent;
396
+ }
397
+ }
398
+ }
399
+
400
+ @if $skin-name == 'bootstrap-dark' {
401
+ .e-toolbar-extended .e-toolbar-item:not(.e-active) .e-tbar-btn{
402
+ border: 1px solid transparent;
403
+ }
404
+ }
384
405
  }
385
406
 
386
407
  .e-rte-quick-popup {