@syncfusion/ej2-richtexteditor 19.3.57 → 19.4.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.3.57
3
+ * version : 19.4.38
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@19.3.55",
3
+ "_id": "@syncfusion/ej2-richtexteditor@19.6.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-D/DsRzXeFfRt5Dpl70MOKjgCZWbAvgLyeukh+TFdyGjtKeX3+QOcYK+UqdvSmOnjU1K006D1qL8HAWJJ+qko8w==",
5
+ "_integrity": "sha512-uncQep0ZOydM3T6cla1v6NPW+D3IJjBR0JtvsXnb+C9jvkuTDrBNbWxxSxihsJyky8cS6rWZ16Jy6wJ/p/iGKw==",
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-19.3.55.tgz",
30
- "_shasum": "a67a4621ca30dd75181f6d3bf53341c29b0d0e0c",
29
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-19.6.6.tgz",
30
+ "_shasum": "f37bd7060f4824a57ea76890150294d3815cb56c",
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": "~19.3.56",
42
- "@syncfusion/ej2-buttons": "~19.3.53",
43
- "@syncfusion/ej2-filemanager": "~19.3.55",
44
- "@syncfusion/ej2-inputs": "~19.3.57",
45
- "@syncfusion/ej2-navigations": "~19.3.57",
46
- "@syncfusion/ej2-popups": "~19.3.57",
47
- "@syncfusion/ej2-splitbuttons": "~19.3.53"
41
+ "@syncfusion/ej2-base": "~19.4.38",
42
+ "@syncfusion/ej2-buttons": "~19.4.38",
43
+ "@syncfusion/ej2-filemanager": "~19.4.38",
44
+ "@syncfusion/ej2-inputs": "~19.4.38",
45
+ "@syncfusion/ej2-navigations": "~19.4.38",
46
+ "@syncfusion/ej2-popups": "~19.4.38",
47
+ "@syncfusion/ej2-splitbuttons": "~19.4.38"
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": "19.3.57",
73
+ "version": "19.4.38",
74
74
  "sideEffects": false
75
75
  }
@@ -46,7 +46,7 @@ var MsWordPaste = /** @class */ (function () {
46
46
  this.parent.observer.on(EVENTS.MS_WORD_CLEANUP_PLUGIN, this.wordCleanup, this);
47
47
  };
48
48
  MsWordPaste.prototype.wordCleanup = function (e) {
49
- var wordPasteStyleConfig = e.allowedStylePropertiesArray;
49
+ var wordPasteStyleConfig = !isNOU(e.allowedStylePropertiesArray) ? e.allowedStylePropertiesArray : [];
50
50
  var listNodes = [];
51
51
  var tempHTMLContent = e.args.clipboardData.getData('text/HTML');
52
52
  var rtfData = e.args.clipboardData.getData('text/rtf');
@@ -1,4 +1,4 @@
1
- import { debounce, isNullOrUndefined } from '@syncfusion/ej2-base';
1
+ import { debounce, isNullOrUndefined, detach } from '@syncfusion/ej2-base';
2
2
  import { NodeSelection } from './../../selection/selection';
3
3
  import * as EVENTS from './../../common/constant';
4
4
  import { isIDevice, setEditFrameFocus } from '../../common/util';
@@ -96,6 +96,15 @@ var UndoRedoManager = /** @class */ (function () {
96
96
  */
97
97
  UndoRedoManager.prototype.saveData = function (e) {
98
98
  var range = new NodeSelection().getRange(this.parent.currentDocument);
99
+ var currentContainer = range.startContainer;
100
+ for (var i = currentContainer.childNodes.length - 1; i >= 0; i--) {
101
+ if (!isNullOrUndefined(currentContainer.childNodes[i]) && currentContainer.childNodes[i].nodeName === '#text' &&
102
+ currentContainer.childNodes[i].textContent.length === 0 && currentContainer.childNodes[i].nodeName !== 'IMG' &&
103
+ currentContainer.childNodes[i].nodeName !== 'BR' && currentContainer.childNodes[i].nodeName && 'HR') {
104
+ detach(currentContainer.childNodes[i]);
105
+ }
106
+ }
107
+ range = new NodeSelection().getRange(this.parent.currentDocument);
99
108
  var save = new NodeSelection().save(range, this.parent.currentDocument);
100
109
  var htmlText = this.parent.editableElement.innerHTML;
101
110
  var changEle = { text: htmlText, range: save };
@@ -206,11 +206,6 @@ var DropDownButtons = /** @class */ (function () {
206
206
  var prop = _a[_i];
207
207
  switch (prop) {
208
208
  case 'fontFamily':
209
- if (this.parent.inlineMode.enable) {
210
- if (!isNullOrUndefined(this.parent.fontFamily.default)) {
211
- this.getEditNode().style.fontFamily = this.parent.fontFamily.default;
212
- }
213
- }
214
209
  if (this.fontNameDropDown) {
215
210
  for (var _b = 0, _c = Object.keys(newProp.fontFamily); _b < _c.length; _b++) {
216
211
  var fontFamily = _c[_b];
@@ -242,11 +237,6 @@ var DropDownButtons = /** @class */ (function () {
242
237
  }
243
238
  break;
244
239
  case 'fontSize':
245
- if (this.parent.inlineMode) {
246
- if (!isNullOrUndefined(this.parent.fontSize.default)) {
247
- this.getEditNode().style.fontSize = this.parent.fontSize.default;
248
- }
249
- }
250
240
  if (this.fontSizeDropDown) {
251
241
  for (var _d = 0, _e = Object.keys(newProp.fontSize); _d < _e.length; _d++) {
252
242
  var fontSize = _e[_d];
@@ -29,9 +29,20 @@ var EnterKeyAction = /** @class */ (function () {
29
29
  EnterKeyAction.prototype.enterHandler = function (e) {
30
30
  var _this = this;
31
31
  this.getRangeNode();
32
+ var isTableEnter = true;
33
+ if (!isNOU(this.startNode.closest('TABLE')) && !isNOU(this.endNode.closest('TABLE'))) {
34
+ isTableEnter = false;
35
+ var curElement = this.startNode;
36
+ var blockElement = curElement;
37
+ while (!this.parent.formatter.editorManager.domNode.isBlockNode(curElement)) {
38
+ blockElement = curElement;
39
+ curElement = curElement.parentElement;
40
+ }
41
+ isTableEnter = blockElement.tagName === 'TD' ? false : true;
42
+ }
32
43
  if (e.args.which === 13 && e.args.code === 'Enter') {
33
- if (isNOU(this.startNode.closest('LI')) && isNOU(this.endNode.closest('LI')) && isNOU(this.startNode.closest('TABLE')) &&
34
- isNOU(this.endNode.closest('TABLE')) && isNOU(this.startNode.closest('PRE')) && isNOU(this.endNode.closest('PRE'))) {
44
+ if (isNOU(this.startNode.closest('LI')) && isNOU(this.endNode.closest('LI')) && isTableEnter &&
45
+ isNOU(this.startNode.closest('PRE')) && isNOU(this.endNode.closest('PRE'))) {
35
46
  var shiftKey_1 = e.args.shiftKey;
36
47
  var actionBeginArgs = {
37
48
  cancel: false,
@@ -92,10 +103,29 @@ var EnterKeyAction = /** @class */ (function () {
92
103
  if ((_this.parent.enterKey === 'P' && !shiftKey_1) || (_this.parent.enterKey === 'DIV' && !shiftKey_1) ||
93
104
  (_this.parent.shiftEnterKey === 'P' && shiftKey_1) ||
94
105
  (_this.parent.shiftEnterKey === 'DIV' && shiftKey_1)) {
95
- var nearBlockNode = _this.parent.formatter.editorManager.domNode.blockParentNode(_this.startNode);
106
+ var nearBlockNode = void 0;
107
+ if (isTableEnter && _this.parent.formatter.editorManager.domNode.isBlockNode(_this.startNode)) {
108
+ nearBlockNode = _this.startNode;
109
+ }
110
+ else {
111
+ nearBlockNode = _this.parent.formatter.editorManager.domNode.blockParentNode(_this.startNode);
112
+ }
96
113
  var isImageNode = false;
97
- if (_this.range.startOffset === 0 && _this.range.endOffset === 0 && !(!isNOU(_this.range.startContainer.previousSibling) &&
98
- (_this.range.startContainer.previousSibling.nodeName === 'IMG' || _this.range.startContainer.previousSibling.nodeName === 'BR'))) {
114
+ var isFocusedFirst = false;
115
+ if (_this.range.startOffset != 0 && _this.range.endOffset != 0 && _this.range.startContainer === _this.range.endContainer &&
116
+ !(!isNOU(nearBlockNode.childNodes[0]) && nearBlockNode.childNodes[0].nodeName === 'IMG')) {
117
+ var startNodeText = _this.range.startContainer.textContent;
118
+ var splitFirstText = startNodeText.substring(0, _this.range.startOffset);
119
+ if (splitFirstText.charCodeAt(_this.range.startOffset - 1) != 160 && splitFirstText.trim().length === 0) {
120
+ isFocusedFirst = true;
121
+ }
122
+ }
123
+ else if (_this.range.startOffset === 0 && _this.range.endOffset === 0) {
124
+ isFocusedFirst = true;
125
+ }
126
+ if (((_this.range.startOffset === 0 && _this.range.endOffset === 0) || isFocusedFirst) &&
127
+ !(!isNOU(_this.range.startContainer.previousSibling) &&
128
+ (_this.range.startContainer.previousSibling.nodeName === 'IMG' || _this.range.startContainer.previousSibling.nodeName === 'BR'))) {
99
129
  var isNearBlockLengthZero = void 0;
100
130
  var newElem = void 0;
101
131
  if (_this.range.startContainer.nodeName === 'IMG') {
@@ -104,7 +134,7 @@ var EnterKeyAction = /** @class */ (function () {
104
134
  isNearBlockLengthZero = false;
105
135
  }
106
136
  else {
107
- if (nearBlockNode.textContent.length !== 0) {
137
+ if (nearBlockNode.textContent.trim().length !== 0) {
108
138
  newElem = _this.parent.formatter.editorManager.nodeCutter.SplitNode(_this.range, nearBlockNode, false).cloneNode(true);
109
139
  isNearBlockLengthZero = false;
110
140
  }
@@ -153,7 +183,18 @@ var EnterKeyAction = /** @class */ (function () {
153
183
  }
154
184
  if (newElem.textContent.trim().length === 0) {
155
185
  var brElm = _this.parent.createElement('br');
156
- _this.startNode.appendChild(brElm);
186
+ if (_this.startNode.nodeName === 'A') {
187
+ var startParentElem = _this.startNode.parentElement;
188
+ _this.startNode.parentElement.insertBefore(brElm, _this.startNode);
189
+ detach(_this.startNode);
190
+ _this.startNode = startParentElem;
191
+ }
192
+ else {
193
+ _this.startNode.appendChild(brElm);
194
+ }
195
+ if (newElem.childNodes[0].textContent === '\n') {
196
+ detach(newElem.childNodes[0]);
197
+ }
157
198
  _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), _this.startNode, 0);
158
199
  }
159
200
  if (((_this.parent.enterKey === 'P' || _this.parent.enterKey === 'DIV') && !shiftKey_1) || ((_this.parent.shiftEnterKey === 'DIV' ||
@@ -164,7 +205,8 @@ var EnterKeyAction = /** @class */ (function () {
164
205
  }
165
206
  _this.parent.formatter.editorManager.domNode.insertAfter(insertElm, newElem);
166
207
  detach(newElem);
167
- _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), _this.parent.formatter.editorManager.domNode.isBlockNode(_this.startNode) ? insertElm : _this.startNode, 0);
208
+ _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), _this.parent.formatter.editorManager.domNode.isBlockNode(_this.startNode) ?
209
+ insertElm : _this.startNode, 0);
168
210
  }
169
211
  }
170
212
  e.args.preventDefault();
@@ -149,7 +149,7 @@ var HtmlEditor = /** @class */ (function () {
149
149
  e.args.action === 'enter' ||
150
150
  e.args.keyCode === 13) {
151
151
  this.spaceLink(e.args);
152
- if (this.parent.editorMode === 'HTML') {
152
+ if (this.parent.editorMode === 'HTML' && !this.parent.readonly) {
153
153
  this.parent.notify(events.enterHandler, { args: e.args });
154
154
  }
155
155
  }
@@ -29,7 +29,7 @@ var XhtmlValidation = /** @class */ (function () {
29
29
  this.ImageTags();
30
30
  this.removeTags();
31
31
  this.RemoveUnsupported();
32
- this.currentElement.innerHTML = this.selfEncloseValidation(this.currentElement.innerHTML, this.currentElement.innerText === '\n' ?
32
+ this.currentElement.innerHTML = this.selfEncloseValidation(this.currentElement.innerHTML, this.currentElement.innerText === "\n" ?
33
33
  this.currentElement.innerText.length : this.currentElement.innerText.trim().length);
34
34
  this.parent.setProperties({ value: this.currentElement.innerHTML }, true);
35
35
  }
@@ -1431,7 +1431,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1431
1431
  this.setProperties({ value: this.valueTemplate });
1432
1432
  }
1433
1433
  else {
1434
- var compiledTemplate = compile(this.valueTemplate)('', this, 'valueTemplate');
1434
+ var compiledTemplate = compile(this.valueTemplate)("", this, 'valueTemplate');
1435
1435
  for (var i = 0; i < compiledTemplate.length; i++) {
1436
1436
  var item = compiledTemplate[i];
1437
1437
  append([item], this.element);
@@ -0,0 +1,168 @@
1
+ $skin-name: 'FluentUI' !default;
2
+ //Layout Variables Start
3
+ $rte-border-size: 1px !default;
4
+ $rte-2px-border-size: 2px !default;
5
+ $rte-border-type: solid !default;
6
+ $rte-list-btn-flex: column !default;
7
+ $rte-list-btn-line-height: 1 !default;
8
+ $rte-split-btn-line-height: 41px !default;
9
+ $rte-big-split-btn-line-height: 50px !default;
10
+ $rte-big-quick-item-btn-width: 39px !default;
11
+ $rte-quick-item-btn-width: 27px !default;
12
+ $rte-big-quick-item-btn-height: 34px !default;
13
+ $rte-quick-item-btn-height: 26px !default;
14
+ $rte-big-quick-item-padding: 0 !default;
15
+ $rte-quick-item-padding: 0 !default;
16
+ $rte-quick-item-icon-min-width: 20px !default;
17
+ $rte-big-quick-item-line-height: $leading-normal !default;
18
+ $rte-content-padding: 24px !default;
19
+ $rte-toolbar-icon-size: $text-base !default;
20
+ $rte-toolbar-big-icon-size: $text-lg !default;
21
+ $rte-big-quick-drop-btn-line-height: 33px !default;
22
+ $rte-quick-drop-btn-line-height: 24px !default;
23
+ $rte-big-quick-drop-btn-margin: 4px 0 !default;
24
+ $rte-quick-drop-btn-margin: 4px 0 !default;
25
+ $rte-big-quick-drop-btn-padding: 0 !default;
26
+ $rte-quick-drop-btn-padding: 1px 0 !default;
27
+ $rte-big-quick-drop-btn-icon-size: 16px !default;
28
+ $rte-quick-drop-btn-icon-size: 14px !default;
29
+ $rte-big-quick-drop-btn-caret-icon-size: 10px !default;
30
+ $rte-quick-drop-btn-caret-icon-size: 12px !default;
31
+ $rte-big-quick-drop-btn-caret-font-size: 12px !default;
32
+ $rte-quick-drop-btn-caret-font-size: 10px !default;
33
+ $rte-big-tb-items-margin-left: 8px !default;
34
+ $rte-tb-items-margin-left: 8px !default;
35
+ $rte-big-tb-items-padding-left: 8px !default;
36
+ $rte-tb-items-padding-left: 8px !default;
37
+ $rte-active-tb-item-btn-padding: 0 !default;
38
+ $rte-split-btn-bar-size: 0 !default;
39
+ $rte-split-btn-active-color-icon-line-height: 30px !default;
40
+ $rte-big-split-btn-active-color-icon-line-height: 37px !default;
41
+ $rte-format-btn-min-width: 72px !default;
42
+ $rte-font-name-btn-min-width: 0 !default;
43
+ $rte-font-size-btn-min-width: 37px !default;
44
+ $rte-drop-btn-padding-left: 7px !default;
45
+ $dropdown-btn-font-size: $text-sm;
46
+ $dropdown-btn-big-font-size: $text-base;
47
+ $rte-drop-btn-padding-right: 7px !default;
48
+ $rte-drop-btn-action-padding-left: 7px !default;
49
+ $rte-drop-btn-action-padding-right: 7px !default;
50
+ $rte-big-drop-btn-padding-left: 10px !default;
51
+ $rte-big-drop-btn-padding-right: 6px !default;
52
+ $rte-big-drop-btn-action-padding-left: 10px !default;
53
+ $rte-big-drop-btn-action-padding-right: 6px !default;
54
+ $rte-colorpicker-parent-padding: 0 !default;
55
+ $rte-colorpicker-parent-padding-hover: 0 !default;
56
+ $rte-colorpicker-parent-padding-active-hover: 0 !default;
57
+ $rte-font-icon-width: 30px !default;
58
+ $rte-font-arrow-width: 18px !default;
59
+ $rte-font-arrow-touch-width: 20px !default;
60
+ $rte-font-icon-line-height: $leading-tight !default;
61
+ $rte-placeholder-line-height: $leading-normal !default;
62
+ $rte-big-active-tb-item-btn-padding: 0 6px !default;
63
+ $rte-table-popup-padding: 10px !default;
64
+ $rte-insert-dialog-label-padding-top: 12px !default;
65
+ $rte-insert-dialog-label-padding-bottom: 12px !default;
66
+ $rte-big-quick-tbar-item-min-height: 34px !default;
67
+ $rte-big-quick-tbar-item-min-width: 39px !default;
68
+ $rte-content-font-size: $text-sm !default;
69
+ $rte-dropdown-caret-icon-size: $text-xs !default;
70
+ $rte-big-dropdown-caret-icon-size: $text-sm !default;
71
+ $font-weight: $font-weight-normal !default;
72
+ $rte-table-popup-bdr-radius: 0 !default;
73
+ $rte-resize-handler-width: 15px;
74
+ $rte-resize-handler-height: 15px;
75
+ $rte-resize-handler-position: 0;
76
+ $rte-big-inline-tmp-min-width: 48px;
77
+ $rte-inline-tmp-min-width: 55px;
78
+ $rte-big-inline-tmp-size-min-width: 59px;
79
+ $rte-inline-tmp-size-min-width: 66px;
80
+ $rte-big-inline-tmp-color-min-width: 50px;
81
+ $rte-inline-tmp-color-min-width: 55px;
82
+ $rte-big-color-list-span-common-padding-left-right: 0;
83
+ //Layout Variables End
84
+
85
+ //Theme Variables Start
86
+ $rte-split-btn-active-border: 0 !default;
87
+ $rte-border-color: $border-light !default;
88
+ $rte-content-bg: $content-bg-color !default;
89
+ $rte-full-screen-bg: $content-bg-color !default;
90
+ $rte-content-font-color: $content-text-color !default;
91
+ $rte-item-color: $icon-color !default;
92
+ $rte-icons-color: $icon-color !default;
93
+ $rte-img-popup-border: 1px solid $border-light !default;
94
+ $rte-img-popup-box-shadow: $shadow-lg !default;
95
+ $rte-img-popup-color: $border-light !default;
96
+ $rte-quick-item-active-bg: $content-bg-color-alt5 !default;
97
+ $rte-quick-item-active-font-color: $icon-color !default;
98
+ $rte-quick-item-border: 0 !default;
99
+ $rte-quick-item-hover-border-color: $content-bg-color-alt4 !default;
100
+ $rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
101
+ $rte-quick-drop-btn-border-color: $content-bg-color-alt2 !default;
102
+ $rte-quick-drop-btn-hover-border-color: $content-bg-color-alt4 !default;
103
+ $rte-extended-toolbar-background: $content-bg-color-alt2 !default;
104
+ $rte-quick-pop-border: none !default;
105
+ $rte-quick-tb-border: 1px solid $border-light !default;
106
+ $rte-quick-pop-bg: $content-bg-color-alt2 !default;
107
+ $rte-quick-vr-line-color: $border-light !default;
108
+ $rte-quick-pop-shadow: $shadow-sm !default;
109
+ $rte-quick-pop-item-focus-bg: $content-bg-color-alt4 !default;
110
+ $rte-quick-tb-btn-hover: $content-bg-color-alt4 !default;
111
+ $rte-tb-item-active-bg: $content-bg-color-alt5 !default;
112
+ $rte-tb-active-font-color: $icon-color !default;
113
+ $rte-tb-item-active-border: 1px solid $secondary-border-color-pressed !default;
114
+ $rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
115
+ $rte-color-picker-active-bg: inherit !default;
116
+ $rte-drop-btn-active-bg: $secondary-bg-color-pressed !default;
117
+ $rte-drop-btn-active-color: $icon-color !default;
118
+ $rte-drop-btn-active-border-color: $secondary-border-color-pressed !default;
119
+ $rte-split-btn-active-hover-font-color: $icon-color !default;
120
+ $rte-split-btn-color: $secondary-bg-color-pressed !default;
121
+ $rte-split-btn-active-color: $icon-color !default;
122
+ $rte-split-btn-hover-bg: $content-bg-color-alt3 !default;
123
+ $rte-split-btn-active-bg: $content-bg-color-alt5 !default;
124
+ $rte-split-btn-span-hover-bg: $content-bg-color-alt3 !default;
125
+ $rte-split-btn-span-focus-bg: $content-bg-color-alt3 !default;
126
+ $rte-split-btn-span-active-bg: $content-bg-color-alt5 !default;
127
+ $rte-split-btn-bar-bg: $content-bg-color !default;
128
+ $rte-split-btn-active-bar-bg: $content-bg-color !default;
129
+ $rte-split-btn-bar-size: 0 !default;
130
+ $rte-split-btn-active-border: 0 !default;
131
+ $rte-split-btn-active-color-icon-line-height: 30px !default;
132
+ $rte-big-split-btn-active-color-icon-line-height: 38px !default;
133
+
134
+ $rte-link-valid-color: $danger !default;
135
+ $rte-upload-drag-border-clr: $border-dark !default;
136
+ $rte-img-header-clr: $content-text-color !default;
137
+ $rte-drop-text-clr: $content-text-color-alt2 !default;
138
+ $rte-default-character-count-color: $content-text-color-disabled !default;
139
+ $rte-warning-character-count-color: $warning !default;
140
+ $rte-error-character-count-color: $danger !default;
141
+ $rte-img-border: dashed 2px $primary !default;
142
+ $rte-font-family: $font-family !default;
143
+ $rte-content-color: $content-text-color !default;
144
+ $rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
145
+ $rte-dropdown-selection-bgcolor: $secondary-bg-color-pressed !default;
146
+ $rte-ext-tbar-overlay-icons-color: $icon-color-disabled !default;
147
+ $rte-overlay-color: $overlay-bg-color !default;
148
+ $rte-dropdown-selection-color: $secondary-text-color-pressed !default;
149
+ $rte-anchor-color: $primary !default;
150
+ $rte-ext-tbar-overlay-dropdown-color: $content-bg-color-alt4 !default;
151
+ $rte-img-resize-back-color: $primary !default;
152
+ $rte-img-resize-color: $primary-text-color !default;
153
+ $rte-table-header-color: $content-text-color-alt2 !default;
154
+ $rte-table-span-bg-color: $flyout-bg-color !default;
155
+ $rte-table-span-border: 1px solid $flyout-border !default;
156
+ $rte-table-span-active-bg-color: $primary-lighter !default;
157
+ $rte-table-span-active-border-color: $primary !default;
158
+ $rte-table-select-border-color: $primary !default;
159
+ $rte-table-popup-bg: $flyout-bg-color !default;
160
+ $rte-table-popup-color: $flyout-border !default;
161
+ $rte-table-popup-box: $shadow-lg !default;
162
+ $rte-table-border-color: $border-light !default;
163
+ $rte-table-alternate-color: $content-bg-color-alt1 !default;
164
+ $rte-table-header-bg: $content-bg-color-alt1 !default;
165
+ //Theme Variables End
166
+
167
+ $rte-tb-hover-font-color: $secondary-text-color-hover;
168
+ $transparent: $transparent;
@@ -194,7 +194,7 @@
194
194
  }
195
195
 
196
196
  .e-rte-dropdown-btn-text {
197
- @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
197
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
198
198
  font-size: $dropdown-btn-font-size;
199
199
  }
200
200
  font-weight: $font-weight;