@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
@@ -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
  }
@@ -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
  }
@@ -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
  }