@syncfusion/ej2-richtexteditor 18.4.34 → 18.4.42-70943

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 (92) hide show
  1. package/CHANGELOG.md +782 -718
  2. package/README.md +67 -67
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -1
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +271 -153
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +393 -275
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/helpers/e2e/index.js +3 -3
  10. package/license +9 -9
  11. package/package.json +76 -53
  12. package/src/editor-manager/plugin/image.js +2 -1
  13. package/src/editor-manager/plugin/inserthtml.js +14 -10
  14. package/src/editor-manager/plugin/link.js +6 -6
  15. package/src/editor-manager/plugin/lists.js +6 -2
  16. package/src/editor-manager/plugin/ms-word-clean-up.js +22 -6
  17. package/src/editor-manager/plugin/selection-commands.d.ts +1 -0
  18. package/src/editor-manager/plugin/selection-commands.js +34 -3
  19. package/src/editor-manager/plugin/table.js +2 -1
  20. package/src/global.d.ts +1 -0
  21. package/src/rich-text-editor/actions/full-screen.d.ts +0 -1
  22. package/src/rich-text-editor/actions/full-screen.js +6 -4
  23. package/src/rich-text-editor/actions/keyboard-model.d.ts +13 -13
  24. package/src/rich-text-editor/actions/keyboard.js +21 -20
  25. package/src/rich-text-editor/actions/resize.js +3 -0
  26. package/src/rich-text-editor/base/constant.d.ts +5 -0
  27. package/src/rich-text-editor/base/constant.js +5 -0
  28. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +701 -701
  29. package/src/rich-text-editor/base/rich-text-editor.js +61 -36
  30. package/src/rich-text-editor/formatter/html-formatter.js +13 -13
  31. package/src/rich-text-editor/formatter/markdown-formatter.js +13 -13
  32. package/src/rich-text-editor/models/iframe-settings-model.d.ts +21 -21
  33. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  34. package/src/rich-text-editor/models/inline-mode-model.d.ts +9 -9
  35. package/src/rich-text-editor/models/inline-mode.js +19 -19
  36. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +328 -328
  37. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  38. package/src/rich-text-editor/renderer/iframe-content-renderer.js +13 -13
  39. package/src/rich-text-editor/renderer/image-module.d.ts +2 -0
  40. package/src/rich-text-editor/renderer/image-module.js +28 -8
  41. package/src/rich-text-editor/renderer/table-module.js +6 -1
  42. package/styles/_all.scss +2 -2
  43. package/styles/bootstrap-dark.css +22 -1
  44. package/styles/bootstrap.css +22 -1
  45. package/styles/bootstrap4.css +22 -1
  46. package/styles/bootstrap5-dark.css +0 -0
  47. package/styles/bootstrap5-dark.scss +0 -0
  48. package/styles/bootstrap5.css +0 -0
  49. package/styles/bootstrap5.scss +0 -0
  50. package/styles/fabric-dark.css +22 -1
  51. package/styles/fabric.css +22 -1
  52. package/styles/highcontrast-light.css +22 -1
  53. package/styles/highcontrast.css +22 -1
  54. package/styles/material-dark.css +22 -1
  55. package/styles/material.css +22 -1
  56. package/styles/rich-text-editor/_all.scss +2 -2
  57. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +151 -151
  58. package/styles/rich-text-editor/_bootstrap-definition.scss +184 -184
  59. package/styles/rich-text-editor/_bootstrap4-definition.scss +307 -307
  60. package/styles/rich-text-editor/_fabric-dark-definition.scss +150 -150
  61. package/styles/rich-text-editor/_fabric-definition.scss +148 -148
  62. package/styles/rich-text-editor/_highcontrast-definition.scss +148 -148
  63. package/styles/rich-text-editor/_highcontrast-light-definition.scss +148 -148
  64. package/styles/rich-text-editor/_layout.scss +1416 -1405
  65. package/styles/rich-text-editor/_material-dark-definition.scss +151 -151
  66. package/styles/rich-text-editor/_material-definition.scss +150 -150
  67. package/styles/rich-text-editor/_theme.scss +499 -489
  68. package/styles/rich-text-editor/bootstrap-dark.css +22 -1
  69. package/styles/rich-text-editor/bootstrap.css +22 -1
  70. package/styles/rich-text-editor/bootstrap4.css +22 -1
  71. package/styles/rich-text-editor/fabric-dark.css +22 -1
  72. package/styles/rich-text-editor/fabric.css +22 -1
  73. package/styles/rich-text-editor/highcontrast-light.css +22 -1
  74. package/styles/rich-text-editor/highcontrast.css +22 -1
  75. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +289 -289
  76. package/styles/rich-text-editor/icons/_bootstrap.scss +288 -288
  77. package/styles/rich-text-editor/icons/_bootstrap4.scss +288 -288
  78. package/styles/rich-text-editor/icons/_fabric-dark.scss +288 -288
  79. package/styles/rich-text-editor/icons/_fabric.scss +288 -288
  80. package/styles/rich-text-editor/icons/_highcontrast-light.scss +288 -288
  81. package/styles/rich-text-editor/icons/_highcontrast.scss +288 -288
  82. package/styles/rich-text-editor/icons/_material-dark.scss +288 -288
  83. package/styles/rich-text-editor/icons/_material.scss +288 -288
  84. package/styles/rich-text-editor/material-dark.css +22 -1
  85. package/styles/rich-text-editor/material.css +22 -1
  86. package/styles/tailwind-dark.css +0 -0
  87. package/styles/tailwind-dark.scss +0 -0
  88. package/styles/tailwind.css +0 -0
  89. package/styles/tailwind.scss +0 -0
  90. package/dist/global/ej2-richtexteditor.min.js +0 -2
  91. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  92. package/dist/global/index.d.ts +0 -5
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
21
21
  import { AjaxSettings, ContextMenuSettings } from '@syncfusion/ej2-filemanager';
22
22
  import { DetailsViewSettings, NavigationPaneSettings } from '@syncfusion/ej2-filemanager';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { ContentRender } from '../renderer/content-renderer';
15
15
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
16
16
  import { getEditValue } from '../base/util';
@@ -24,6 +24,7 @@ export declare class Image {
24
24
  private imgDupPos;
25
25
  private resizeBtnStat;
26
26
  private imgEle;
27
+ private prevSelectedImgEle;
27
28
  private isImgUploaded;
28
29
  private pageX;
29
30
  private pageY;
@@ -45,6 +46,7 @@ export declare class Image {
45
46
  private imgResizePos;
46
47
  private calcPos;
47
48
  private setAspectRatio;
49
+ private onWindowResize;
48
50
  private pixToPerc;
49
51
  private imgDupMouseMove;
50
52
  private resizing;
@@ -31,6 +31,7 @@ var Image = /** @class */ (function () {
31
31
  this.parent.on(events.keyDown, this.onKeyDown, this);
32
32
  this.parent.on(events.keyUp, this.onKeyUp, this);
33
33
  this.parent.on(events.insertImage, this.insertImage, this);
34
+ this.parent.on(events.windowResize, this.onWindowResize, this);
34
35
  this.parent.on(events.insertCompleted, this.showImageQuickToolbar, this);
35
36
  this.parent.on(events.imageToolbarAction, this.onToolbarAction, this);
36
37
  this.parent.on(events.imageCaption, this.caption, this);
@@ -51,6 +52,7 @@ var Image = /** @class */ (function () {
51
52
  }
52
53
  this.parent.off(events.keyDown, this.onKeyDown);
53
54
  this.parent.off(events.keyUp, this.onKeyUp);
55
+ this.parent.off(events.windowResize, this.onWindowResize);
54
56
  this.parent.off(events.insertImage, this.insertImage);
55
57
  this.parent.off(events.insertCompleted, this.showImageQuickToolbar);
56
58
  this.parent.off(events.imageCaption, this.caption);
@@ -138,6 +140,7 @@ var Image = /** @class */ (function () {
138
140
  return;
139
141
  }
140
142
  var target = ele ? ele : e.target;
143
+ this.prevSelectedImgEle = this.imgEle;
141
144
  if (target.tagName === 'IMG') {
142
145
  this.parent.preventDefaultResize(e);
143
146
  var img = target;
@@ -272,7 +275,6 @@ var Image = /** @class */ (function () {
272
275
  Image.prototype.calcPos = function (elem) {
273
276
  var ignoreOffset = ['TD', 'TH', 'TABLE', 'A'];
274
277
  var parentOffset = { top: 0, left: 0 };
275
- var offset = elem.getBoundingClientRect();
276
278
  var doc = elem.ownerDocument;
277
279
  var offsetParent = ((elem.offsetParent && (elem.offsetParent.classList.contains('e-img-caption') ||
278
280
  ignoreOffset.indexOf(elem.offsetParent.tagName) > -1)) ?
@@ -286,8 +288,8 @@ var Image = /** @class */ (function () {
286
288
  parentOffset = offsetParent.getBoundingClientRect();
287
289
  }
288
290
  return {
289
- top: offset.top - parentOffset.top,
290
- left: offset.left - parentOffset.left
291
+ top: elem.offsetTop,
292
+ left: elem.offsetLeft
291
293
  };
292
294
  };
293
295
  Image.prototype.setAspectRatio = function (img, expectedX, expectedY) {
@@ -342,6 +344,11 @@ var Image = /** @class */ (function () {
342
344
  }
343
345
  }
344
346
  };
347
+ Image.prototype.onWindowResize = function () {
348
+ if (!isNOU(this.contentModule.getEditPanel().querySelector('.e-img-resize'))) {
349
+ this.cancelResizeAction();
350
+ }
351
+ };
345
352
  Image.prototype.pixToPerc = function (expected, parentEle) {
346
353
  return expected / parseFloat(getComputedStyle(parentEle).width) * 100;
347
354
  };
@@ -354,7 +361,8 @@ var Image = /** @class */ (function () {
354
361
  }
355
362
  else {
356
363
  if ((parseInt(_this.parent.insertImageSettings.minWidth, 10) >= parseInt(width, 10) ||
357
- parseInt(_this.parent.getInsertImgMaxWidth(), 10) <= parseInt(width, 10))) {
364
+ (parseInt(_this.parent.getInsertImgMaxWidth(), 10) <= parseInt(width, 10) &&
365
+ isNOU(_this.imgEle.style.width)))) {
358
366
  return;
359
367
  }
360
368
  if (!_this.parent.insertImageSettings.resizeByPercent &&
@@ -979,7 +987,11 @@ var Image = /** @class */ (function () {
979
987
  }
980
988
  };
981
989
  Image.prototype.imageRemovePost = function (src) {
982
- var ajax = new Ajax(this.parent.insertImageSettings.removeUrl, 'POST', true, null);
990
+ var removeUrl = this.parent.insertImageSettings.removeUrl;
991
+ if (isNOU(removeUrl) || removeUrl === '') {
992
+ return;
993
+ }
994
+ var ajax = new Ajax(removeUrl, 'POST', true, null);
983
995
  var formData = new FormData();
984
996
  formData.append(name, src);
985
997
  ajax.send(formData);
@@ -1211,9 +1223,16 @@ var Image = /** @class */ (function () {
1211
1223
  this.contentModule.getEditPanel().contains(this.imgResizeDiv)) {
1212
1224
  this.cancelResizeAction();
1213
1225
  }
1214
- if (target.tagName !== 'IMG' && this.contentModule.getEditPanel().querySelector('.e-img-resize')) {
1215
- this.removeResizeEle();
1216
- this.contentModule.getEditPanel().querySelector('img').style.outline = '';
1226
+ if (this.contentModule.getEditPanel().querySelector('.e-img-resize')) {
1227
+ if (target.tagName !== 'IMG') {
1228
+ this.removeResizeEle();
1229
+ }
1230
+ if (target.tagName !== 'IMG' && !isNOU(this.imgEle)) {
1231
+ this.imgEle.style.outline = '';
1232
+ }
1233
+ else if (!isNOU(this.prevSelectedImgEle) && this.prevSelectedImgEle !== target) {
1234
+ this.prevSelectedImgEle.style.outline = '';
1235
+ }
1217
1236
  }
1218
1237
  };
1219
1238
  Image.prototype.removeResizeEle = function () {
@@ -1943,6 +1962,7 @@ var Image = /** @class */ (function () {
1943
1962
  * @deprecated
1944
1963
  */
1945
1964
  Image.prototype.destroy = function () {
1965
+ this.prevSelectedImgEle = undefined;
1946
1966
  this.removeEventListener();
1947
1967
  };
1948
1968
  /**
@@ -450,6 +450,11 @@ var Table = /** @class */ (function () {
450
450
  }
451
451
  var target = e.target || e.targetTouches[0].target;
452
452
  var closestTable = closest(target, 'table');
453
+ if (!isNOU(this.curTable) && !isNOU(closestTable) && closestTable !== this.curTable) {
454
+ this.removeResizeElement();
455
+ this.removeHelper(e);
456
+ this.cancelResizeAction();
457
+ }
453
458
  if (target.nodeName === 'TABLE' || target.nodeName === 'TD' || target.nodeName === 'TH') {
454
459
  this.curTable = (closestTable && this.parent.contentModule.getEditPanel().contains(closestTable))
455
460
  && (target.nodeName === 'TD' || target.nodeName === 'TH') ?
@@ -701,7 +706,7 @@ var Table = /** @class */ (function () {
701
706
  'px; left:' + (_this.calcPos(_this.curTable).left + tableWidth - 4) + 'px;';
702
707
  _this.updateHelper();
703
708
  }
704
- else if (_this.resizeBtnStat.tableBox) {
709
+ else if (_this.resizeBtnStat.tableBox && !isNullOrUndefined(tableReBox)) {
705
710
  if (!Browser.isDevice) {
706
711
  EventHandler.remove(_this.contentModule.getEditPanel(), 'mouseover', _this.resizeHelper);
707
712
  }
package/styles/_all.scss CHANGED
@@ -1,2 +1,2 @@
1
- @import 'rich-text-editor/all.scss';
2
-
1
+ @import 'rich-text-editor/all.scss';
2
+
@@ -526,6 +526,10 @@
526
526
  margin-left: 6px;
527
527
  }
528
528
 
529
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
530
+ height: auto;
531
+ }
532
+
529
533
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
530
534
  margin-left: 0;
531
535
  margin-right: 6px;
@@ -1178,6 +1182,10 @@
1178
1182
  margin: 0;
1179
1183
  }
1180
1184
 
1185
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1186
+ display: block;
1187
+ }
1188
+
1181
1189
  .e-rte-table {
1182
1190
  border-collapse: collapse;
1183
1191
  empty-cells: show;
@@ -2037,7 +2045,10 @@
2037
2045
  }
2038
2046
 
2039
2047
  .e-hide.e-rte-quick-popup-hide {
2040
- display: none;
2048
+ border: 0;
2049
+ height: 0;
2050
+ position: absolute;
2051
+ width: 0;
2041
2052
  }
2042
2053
 
2043
2054
  .e-rte-popup-hide {
@@ -2231,6 +2242,16 @@
2231
2242
  border: 0;
2232
2243
  }
2233
2244
 
2245
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2246
+ border: 1px solid #505050;
2247
+ }
2248
+
2249
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2250
+ border: 0;
2251
+ border-bottom: 0;
2252
+ border-top: 0;
2253
+ }
2254
+
2234
2255
  .e-richtexteditor.e-rte-tb-expand {
2235
2256
  border: 1px solid #505050;
2236
2257
  }
@@ -544,6 +544,10 @@
544
544
  margin-left: 6px;
545
545
  }
546
546
 
547
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
548
+ height: auto;
549
+ }
550
+
547
551
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
548
552
  margin-left: 0;
549
553
  margin-right: 6px;
@@ -1196,6 +1200,10 @@
1196
1200
  margin: 0;
1197
1201
  }
1198
1202
 
1203
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1204
+ display: block;
1205
+ }
1206
+
1199
1207
  .e-rte-table {
1200
1208
  border-collapse: collapse;
1201
1209
  empty-cells: show;
@@ -2055,7 +2063,10 @@
2055
2063
  }
2056
2064
 
2057
2065
  .e-hide.e-rte-quick-popup-hide {
2058
- display: none;
2066
+ border: 0;
2067
+ height: 0;
2068
+ position: absolute;
2069
+ width: 0;
2059
2070
  }
2060
2071
 
2061
2072
  .e-rte-popup-hide {
@@ -2249,6 +2260,16 @@
2249
2260
  border: 0;
2250
2261
  }
2251
2262
 
2263
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2264
+ border: 1px solid #ddd;
2265
+ }
2266
+
2267
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2268
+ border: 0;
2269
+ border-bottom: 0;
2270
+ border-top: 0;
2271
+ }
2272
+
2252
2273
  .e-richtexteditor.e-rte-tb-expand {
2253
2274
  border: 1px solid #ddd;
2254
2275
  }
@@ -665,6 +665,10 @@
665
665
  margin-left: 6px;
666
666
  }
667
667
 
668
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
669
+ height: auto;
670
+ }
671
+
668
672
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
669
673
  margin-left: 0;
670
674
  margin-right: 6px;
@@ -1317,6 +1321,10 @@
1317
1321
  margin: 0;
1318
1322
  }
1319
1323
 
1324
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1325
+ display: block;
1326
+ }
1327
+
1320
1328
  .e-rte-table {
1321
1329
  border-collapse: collapse;
1322
1330
  empty-cells: show;
@@ -2176,7 +2184,10 @@
2176
2184
  }
2177
2185
 
2178
2186
  .e-hide.e-rte-quick-popup-hide {
2179
- display: none;
2187
+ border: 0;
2188
+ height: 0;
2189
+ position: absolute;
2190
+ width: 0;
2180
2191
  }
2181
2192
 
2182
2193
  .e-rte-popup-hide {
@@ -2370,6 +2381,16 @@
2370
2381
  border: 0;
2371
2382
  }
2372
2383
 
2384
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2385
+ border: 1px solid #dee2e6;
2386
+ }
2387
+
2388
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2389
+ border: 0;
2390
+ border-bottom: 0;
2391
+ border-top: 0;
2392
+ }
2393
+
2373
2394
  .e-richtexteditor.e-rte-tb-expand {
2374
2395
  border: 1px solid #dee2e6;
2375
2396
  }
File without changes
File without changes
File without changes
File without changes
@@ -526,6 +526,10 @@
526
526
  margin-left: 4px;
527
527
  }
528
528
 
529
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
530
+ height: auto;
531
+ }
532
+
529
533
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
530
534
  margin-left: 0;
531
535
  margin-right: 4px;
@@ -1178,6 +1182,10 @@
1178
1182
  margin: 0;
1179
1183
  }
1180
1184
 
1185
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1186
+ display: block;
1187
+ }
1188
+
1181
1189
  .e-rte-table {
1182
1190
  border-collapse: collapse;
1183
1191
  empty-cells: show;
@@ -2037,7 +2045,10 @@
2037
2045
  }
2038
2046
 
2039
2047
  .e-hide.e-rte-quick-popup-hide {
2040
- display: none;
2048
+ border: 0;
2049
+ height: 0;
2050
+ position: absolute;
2051
+ width: 0;
2041
2052
  }
2042
2053
 
2043
2054
  .e-rte-popup-hide {
@@ -2231,6 +2242,16 @@
2231
2242
  border: 0;
2232
2243
  }
2233
2244
 
2245
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2246
+ border: 1px solid #414040;
2247
+ }
2248
+
2249
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2250
+ border: 0;
2251
+ border-bottom: 0;
2252
+ border-top: 0;
2253
+ }
2254
+
2234
2255
  .e-richtexteditor.e-rte-tb-expand {
2235
2256
  border: 1px solid #414040;
2236
2257
  }
package/styles/fabric.css CHANGED
@@ -526,6 +526,10 @@
526
526
  margin-left: 4px;
527
527
  }
528
528
 
529
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
530
+ height: auto;
531
+ }
532
+
529
533
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
530
534
  margin-left: 0;
531
535
  margin-right: 4px;
@@ -1178,6 +1182,10 @@
1178
1182
  margin: 0;
1179
1183
  }
1180
1184
 
1185
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1186
+ display: block;
1187
+ }
1188
+
1181
1189
  .e-rte-table {
1182
1190
  border-collapse: collapse;
1183
1191
  empty-cells: show;
@@ -2037,7 +2045,10 @@
2037
2045
  }
2038
2046
 
2039
2047
  .e-hide.e-rte-quick-popup-hide {
2040
- display: none;
2048
+ border: 0;
2049
+ height: 0;
2050
+ position: absolute;
2051
+ width: 0;
2041
2052
  }
2042
2053
 
2043
2054
  .e-rte-popup-hide {
@@ -2231,6 +2242,16 @@
2231
2242
  border: 0;
2232
2243
  }
2233
2244
 
2245
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2246
+ border: 1px solid #dadada;
2247
+ }
2248
+
2249
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2250
+ border: 0;
2251
+ border-bottom: 0;
2252
+ border-top: 0;
2253
+ }
2254
+
2234
2255
  .e-richtexteditor.e-rte-tb-expand {
2235
2256
  border: 1px solid #dadada;
2236
2257
  }
@@ -526,6 +526,10 @@
526
526
  margin-left: 5px;
527
527
  }
528
528
 
529
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
530
+ height: auto;
531
+ }
532
+
529
533
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
530
534
  margin-left: 0;
531
535
  margin-right: 5px;
@@ -1178,6 +1182,10 @@
1178
1182
  margin: 0;
1179
1183
  }
1180
1184
 
1185
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1186
+ display: block;
1187
+ }
1188
+
1181
1189
  .e-rte-table {
1182
1190
  border-collapse: collapse;
1183
1191
  empty-cells: show;
@@ -2037,7 +2045,10 @@
2037
2045
  }
2038
2046
 
2039
2047
  .e-hide.e-rte-quick-popup-hide {
2040
- display: none;
2048
+ border: 0;
2049
+ height: 0;
2050
+ position: absolute;
2051
+ width: 0;
2041
2052
  }
2042
2053
 
2043
2054
  .e-rte-popup-hide {
@@ -2231,6 +2242,16 @@
2231
2242
  border: 0;
2232
2243
  }
2233
2244
 
2245
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2246
+ border: 1px solid #000;
2247
+ }
2248
+
2249
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2250
+ border: 0;
2251
+ border-bottom: 0;
2252
+ border-top: 0;
2253
+ }
2254
+
2234
2255
  .e-richtexteditor.e-rte-tb-expand {
2235
2256
  border: 1px solid #000;
2236
2257
  }
@@ -526,6 +526,10 @@
526
526
  margin-left: 5px;
527
527
  }
528
528
 
529
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
530
+ height: auto;
531
+ }
532
+
529
533
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
530
534
  margin-left: 0;
531
535
  margin-right: 5px;
@@ -1178,6 +1182,10 @@
1178
1182
  margin: 0;
1179
1183
  }
1180
1184
 
1185
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1186
+ display: block;
1187
+ }
1188
+
1181
1189
  .e-rte-table {
1182
1190
  border-collapse: collapse;
1183
1191
  empty-cells: show;
@@ -2037,7 +2045,10 @@
2037
2045
  }
2038
2046
 
2039
2047
  .e-hide.e-rte-quick-popup-hide {
2040
- display: none;
2048
+ border: 0;
2049
+ height: 0;
2050
+ position: absolute;
2051
+ width: 0;
2041
2052
  }
2042
2053
 
2043
2054
  .e-rte-popup-hide {
@@ -2231,6 +2242,16 @@
2231
2242
  border: 0;
2232
2243
  }
2233
2244
 
2245
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2246
+ border: 1px solid #fff;
2247
+ }
2248
+
2249
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2250
+ border: 0;
2251
+ border-bottom: 0;
2252
+ border-top: 0;
2253
+ }
2254
+
2234
2255
  .e-richtexteditor.e-rte-tb-expand {
2235
2256
  border: 1px solid #fff;
2236
2257
  }
@@ -527,6 +527,10 @@
527
527
  margin-left: 7px;
528
528
  }
529
529
 
530
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
531
+ height: auto;
532
+ }
533
+
530
534
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
531
535
  margin-left: 0;
532
536
  margin-right: 7px;
@@ -1179,6 +1183,10 @@
1179
1183
  margin: 0;
1180
1184
  }
1181
1185
 
1186
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1187
+ display: block;
1188
+ }
1189
+
1182
1190
  .e-rte-table {
1183
1191
  border-collapse: collapse;
1184
1192
  empty-cells: show;
@@ -2038,7 +2046,10 @@
2038
2046
  }
2039
2047
 
2040
2048
  .e-hide.e-rte-quick-popup-hide {
2041
- display: none;
2049
+ border: 0;
2050
+ height: 0;
2051
+ position: absolute;
2052
+ width: 0;
2042
2053
  }
2043
2054
 
2044
2055
  .e-rte-popup-hide {
@@ -2232,6 +2243,16 @@
2232
2243
  border: 0;
2233
2244
  }
2234
2245
 
2246
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2247
+ border: 1px solid #616161;
2248
+ }
2249
+
2250
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2251
+ border: 0;
2252
+ border-bottom: 0;
2253
+ border-top: 0;
2254
+ }
2255
+
2235
2256
  .e-richtexteditor.e-rte-tb-expand {
2236
2257
  border: 1px solid #616161;
2237
2258
  }
@@ -527,6 +527,10 @@
527
527
  margin-left: 7px;
528
528
  }
529
529
 
530
+ .e-richtexteditor .e-rte-toolbar .e-hor-nav.e-expended-nav {
531
+ height: auto;
532
+ }
533
+
530
534
  .e-richtexteditor.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
531
535
  margin-left: 0;
532
536
  margin-right: 7px;
@@ -1179,6 +1183,10 @@
1179
1183
  margin: 0;
1180
1184
  }
1181
1185
 
1186
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
1187
+ display: block;
1188
+ }
1189
+
1182
1190
  .e-rte-table {
1183
1191
  border-collapse: collapse;
1184
1192
  empty-cells: show;
@@ -2038,7 +2046,10 @@
2038
2046
  }
2039
2047
 
2040
2048
  .e-hide.e-rte-quick-popup-hide {
2041
- display: none;
2049
+ border: 0;
2050
+ height: 0;
2051
+ position: absolute;
2052
+ width: 0;
2042
2053
  }
2043
2054
 
2044
2055
  .e-rte-popup-hide {
@@ -2232,6 +2243,16 @@
2232
2243
  border: 0;
2233
2244
  }
2234
2245
 
2246
+ .e-richtexteditor:not(.e-rte-tb-expand) {
2247
+ border: 1px solid rgba(0, 0, 0, 0.12);
2248
+ }
2249
+
2250
+ .e-richtexteditor:not(.e-rte-tb-expand) .e-rte-content {
2251
+ border: 0;
2252
+ border-bottom: 0;
2253
+ border-top: 0;
2254
+ }
2255
+
2235
2256
  .e-richtexteditor.e-rte-tb-expand {
2236
2257
  border: 1px solid rgba(0, 0, 0, 0.12);
2237
2258
  }
@@ -1,2 +1,2 @@
1
- @import 'layout.scss';
2
- @import 'theme.scss';
1
+ @import 'layout.scss';
2
+ @import 'theme.scss';