@syncfusion/ej2-richtexteditor 23.2.7-52849 → 24.1.41-569421

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 (171) hide show
  1. package/.eslintrc.json +260 -0
  2. package/CHANGELOG.md +203 -1
  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 +9873 -7941
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +9967 -8034
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/package.json +13 -13
  10. package/src/common/config.d.ts +7 -0
  11. package/src/common/config.js +12 -1
  12. package/src/common/constant.d.ts +6 -0
  13. package/src/common/constant.js +6 -0
  14. package/src/common/interface.d.ts +12 -0
  15. package/src/common/types.d.ts +6 -0
  16. package/src/common/util.d.ts +6 -0
  17. package/src/common/util.js +61 -20
  18. package/src/editor-manager/base/constant.d.ts +6 -0
  19. package/src/editor-manager/base/constant.js +6 -0
  20. package/src/editor-manager/base/editor-manager.d.ts +5 -0
  21. package/src/editor-manager/base/editor-manager.js +59 -0
  22. package/src/editor-manager/base/interface.d.ts +8 -0
  23. package/src/editor-manager/plugin/audio.js +13 -3
  24. package/src/editor-manager/plugin/dom-node.d.ts +5 -1
  25. package/src/editor-manager/plugin/dom-node.js +169 -28
  26. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -0
  27. package/src/editor-manager/plugin/format-painter-actions.js +19 -1
  28. package/src/editor-manager/plugin/formats.d.ts +1 -0
  29. package/src/editor-manager/plugin/formats.js +38 -3
  30. package/src/editor-manager/plugin/image.js +38 -15
  31. package/src/editor-manager/plugin/indents.js +1 -1
  32. package/src/editor-manager/plugin/inserthtml.d.ts +1 -0
  33. package/src/editor-manager/plugin/inserthtml.js +83 -20
  34. package/src/editor-manager/plugin/link.js +8 -3
  35. package/src/editor-manager/plugin/lists.js +159 -70
  36. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +3 -0
  37. package/src/editor-manager/plugin/ms-word-clean-up.js +215 -85
  38. package/src/editor-manager/plugin/nodecutter.js +5 -2
  39. package/src/editor-manager/plugin/selection-commands.d.ts +2 -0
  40. package/src/editor-manager/plugin/selection-commands.js +248 -4
  41. package/src/editor-manager/plugin/table.d.ts +4 -1
  42. package/src/editor-manager/plugin/table.js +95 -49
  43. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  44. package/src/editor-manager/plugin/toolbar-status.js +20 -10
  45. package/src/editor-manager/plugin/undo.d.ts +1 -0
  46. package/src/editor-manager/plugin/undo.js +21 -1
  47. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +4 -3
  48. package/src/rich-text-editor/actions/base-quick-toolbar.js +61 -14
  49. package/src/rich-text-editor/actions/base-toolbar.js +33 -34
  50. package/src/rich-text-editor/actions/color-picker.d.ts +1 -0
  51. package/src/rich-text-editor/actions/color-picker.js +13 -3
  52. package/src/rich-text-editor/actions/count.js +1 -1
  53. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +1 -0
  54. package/src/rich-text-editor/actions/dropdown-buttons.js +11 -5
  55. package/src/rich-text-editor/actions/emoji-picker.js +16 -7
  56. package/src/rich-text-editor/actions/enter-key.js +10 -5
  57. package/src/rich-text-editor/actions/file-manager.js +1 -1
  58. package/src/rich-text-editor/actions/format-painter.js +5 -2
  59. package/src/rich-text-editor/actions/full-screen.js +5 -4
  60. package/src/rich-text-editor/actions/html-editor.d.ts +2 -0
  61. package/src/rich-text-editor/actions/html-editor.js +124 -17
  62. package/src/rich-text-editor/actions/keyboard.js +3 -1
  63. package/src/rich-text-editor/actions/markdown-editor.js +3 -1
  64. package/src/rich-text-editor/actions/paste-clean-up.d.ts +5 -0
  65. package/src/rich-text-editor/actions/paste-clean-up.js +156 -28
  66. package/src/rich-text-editor/actions/quick-toolbar.d.ts +8 -0
  67. package/src/rich-text-editor/actions/quick-toolbar.js +59 -12
  68. package/src/rich-text-editor/actions/resize.js +2 -1
  69. package/src/rich-text-editor/actions/toolbar-action.js +1 -1
  70. package/src/rich-text-editor/actions/toolbar.d.ts +3 -3
  71. package/src/rich-text-editor/actions/toolbar.js +35 -96
  72. package/src/rich-text-editor/base/classes.d.ts +5 -5
  73. package/src/rich-text-editor/base/classes.js +5 -5
  74. package/src/rich-text-editor/base/constant.d.ts +46 -1
  75. package/src/rich-text-editor/base/constant.js +215 -1
  76. package/src/rich-text-editor/base/interface.d.ts +47 -3
  77. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +3 -3
  78. package/src/rich-text-editor/base/rich-text-editor.d.ts +16 -4
  79. package/src/rich-text-editor/base/rich-text-editor.js +184 -97
  80. package/src/rich-text-editor/base/util.js +22 -4
  81. package/src/rich-text-editor/formatter/formatter.js +16 -4
  82. package/src/rich-text-editor/models/default-locale.js +31 -25
  83. package/src/rich-text-editor/models/items.js +3 -3
  84. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +1 -1
  85. package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
  86. package/src/rich-text-editor/models/toolbar-settings.js +1 -1
  87. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -0
  88. package/src/rich-text-editor/renderer/audio-module.js +22 -4
  89. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -0
  90. package/src/rich-text-editor/renderer/dialog-renderer.js +22 -2
  91. package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -1
  92. package/src/rich-text-editor/renderer/image-module.d.ts +9 -1
  93. package/src/rich-text-editor/renderer/image-module.js +248 -213
  94. package/src/rich-text-editor/renderer/link-module.js +53 -24
  95. package/src/rich-text-editor/renderer/table-module.d.ts +10 -1
  96. package/src/rich-text-editor/renderer/table-module.js +343 -168
  97. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +3 -6
  98. package/src/rich-text-editor/renderer/toolbar-renderer.js +106 -101
  99. package/src/rich-text-editor/renderer/video-module.d.ts +3 -0
  100. package/src/rich-text-editor/renderer/video-module.js +82 -41
  101. package/src/rich-text-editor/renderer/view-source.d.ts +1 -0
  102. package/src/rich-text-editor/renderer/view-source.js +15 -5
  103. package/src/selection/selection.js +3 -0
  104. package/styles/bootstrap-dark.css +353 -103
  105. package/styles/bootstrap.css +357 -112
  106. package/styles/bootstrap4.css +338 -96
  107. package/styles/bootstrap5-dark.css +344 -97
  108. package/styles/bootstrap5.css +344 -97
  109. package/styles/fabric-dark.css +332 -90
  110. package/styles/fabric.css +333 -91
  111. package/styles/fluent-dark.css +360 -98
  112. package/styles/fluent.css +360 -98
  113. package/styles/highcontrast-light.css +332 -90
  114. package/styles/highcontrast.css +336 -91
  115. package/styles/material-dark.css +339 -92
  116. package/styles/material.css +339 -92
  117. package/styles/material3-dark.css +348 -100
  118. package/styles/material3.css +348 -100
  119. package/styles/rich-text-editor/_bds-definition.scss +279 -0
  120. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +17 -13
  121. package/styles/rich-text-editor/_bootstrap-definition.scss +22 -19
  122. package/styles/rich-text-editor/_bootstrap4-definition.scss +11 -7
  123. package/styles/rich-text-editor/_bootstrap5-definition.scss +8 -4
  124. package/styles/rich-text-editor/_fabric-dark-definition.scss +6 -2
  125. package/styles/rich-text-editor/_fabric-definition.scss +7 -3
  126. package/styles/rich-text-editor/_fluent-definition.scss +14 -10
  127. package/styles/rich-text-editor/_fusionnew-definition.scss +7 -3
  128. package/styles/rich-text-editor/_highcontrast-definition.scss +7 -3
  129. package/styles/rich-text-editor/_highcontrast-light-definition.scss +6 -2
  130. package/styles/rich-text-editor/_layout.scss +211 -34
  131. package/styles/rich-text-editor/_material-dark-definition.scss +6 -2
  132. package/styles/rich-text-editor/_material-definition.scss +6 -2
  133. package/styles/rich-text-editor/_material3-definition.scss +16 -12
  134. package/styles/rich-text-editor/_tailwind-definition.scss +23 -19
  135. package/styles/rich-text-editor/_theme.scss +113 -24
  136. package/styles/rich-text-editor/bootstrap-dark.css +353 -103
  137. package/styles/rich-text-editor/bootstrap.css +357 -112
  138. package/styles/rich-text-editor/bootstrap4.css +338 -96
  139. package/styles/rich-text-editor/bootstrap5-dark.css +344 -97
  140. package/styles/rich-text-editor/bootstrap5.css +344 -97
  141. package/styles/rich-text-editor/fabric-dark.css +332 -90
  142. package/styles/rich-text-editor/fabric.css +333 -91
  143. package/styles/rich-text-editor/fluent-dark.css +360 -98
  144. package/styles/rich-text-editor/fluent.css +360 -98
  145. package/styles/rich-text-editor/highcontrast-light.css +332 -90
  146. package/styles/rich-text-editor/highcontrast.css +336 -91
  147. package/styles/rich-text-editor/icons/_bds.scss +348 -0
  148. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +4 -4
  149. package/styles/rich-text-editor/icons/_bootstrap.scss +4 -4
  150. package/styles/rich-text-editor/icons/_bootstrap4.scss +4 -4
  151. package/styles/rich-text-editor/icons/_bootstrap5.scss +4 -4
  152. package/styles/rich-text-editor/icons/_fabric-dark.scss +4 -4
  153. package/styles/rich-text-editor/icons/_fabric.scss +4 -4
  154. package/styles/rich-text-editor/icons/_fluent.scss +4 -4
  155. package/styles/rich-text-editor/icons/_fusionnew.scss +3 -3
  156. package/styles/rich-text-editor/icons/_highcontrast-light.scss +4 -4
  157. package/styles/rich-text-editor/icons/_highcontrast.scss +4 -4
  158. package/styles/rich-text-editor/icons/_material-dark.scss +4 -4
  159. package/styles/rich-text-editor/icons/_material.scss +4 -4
  160. package/styles/rich-text-editor/icons/_material3.scss +4 -4
  161. package/styles/rich-text-editor/icons/_tailwind.scss +4 -4
  162. package/styles/rich-text-editor/material-dark.css +339 -92
  163. package/styles/rich-text-editor/material.css +339 -92
  164. package/styles/rich-text-editor/material3-dark.css +348 -100
  165. package/styles/rich-text-editor/material3.css +348 -100
  166. package/styles/rich-text-editor/tailwind-dark.css +383 -113
  167. package/styles/rich-text-editor/tailwind.css +383 -113
  168. package/styles/tailwind-dark.css +383 -113
  169. package/styles/tailwind.css +383 -113
  170. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
  171. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
@@ -161,6 +161,7 @@ $rte-insert-dialog-label-padding-bottom: 20px !default;
161
161
  $rte-big-quick-tbar-item-min-height: 34px !default;
162
162
  $rte-big-quick-tbar-item-min-width: 39px !default;
163
163
  $rte-content-font-size: 14px !default;
164
+ $rte-big-content-font-size: 16px !default;
164
165
  $rte-dropdown-caret-icon-size: 12px !default;
165
166
  $rte-big-dropdown-caret-icon-size: 12px !default;
166
167
 
@@ -201,13 +202,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
201
202
  $rte-big-table-dlg-max-height: 335px !default;
202
203
  $rte-big-edit-table-dlg-max-height: 427px !default;
203
204
  $rte-drop-text-width: 290px !default;
204
- $rte-drop-text-height: 185px !default;
205
+ $rte-drop-text-height: 128px !default;
206
+ $rte-big-drop-text-height: 140px !default;
205
207
  $rte-drop-text-mobile-width: 240px !default;
206
208
  $rte-tbar-default-bg: $neutral-white;
207
209
  $rte-droparea-line-height: 10;
208
210
  $rte-droparea-browsebtn-height: 36px;
209
211
  $rte-droparea-browsebtn-padding: 0 18px;
210
- $rte-droparea-browsebtn-top: -50px;
212
+ $rte-droparea-browsebtn-top: -120px;
213
+ $rte-big-droparea-browsebtn-top: -120px;
211
214
  $rte-insert-dialog-font-size: 15px;
212
215
  $rte-big-insert-dialog-font-size: 15px;
213
216
  $rte-table-popup-tablecell-height: 14px;
@@ -225,6 +228,7 @@ $rte-big-tablecell-width : 16px;
225
228
  $rte-toolbar-item-frist-last-child-margin: 0;
226
229
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
227
230
  $rte-toolbar-expaned-padding: 0;
231
+ $rte-big-toolbar-expaned-padding: 0;
228
232
  $rte-toolbar-expaned-padding-hover: 0;
229
233
  $dropdown-btn-font-size: inherit !default;
230
234
  $rte-extended-toolbar-items-padding: 0;
@@ -239,7 +243,7 @@ $rte-tb-expended-min-height: 40px !default;
239
243
  $rte-big-tb-expended-min-height: 50px !default;
240
244
  $rte-tb-expended-padding-left: 1px !default;
241
245
  $rte-tb-expended-hover-padding-left: 1px !default;
242
- $rte-toolbar-expaned-minwidth: 40px !default;
246
+ $rte-toolbar-expaned-minwidth: 100% !default;
243
247
 
244
248
  $rte-emoji-pop-background: $neutral-white;
245
249
  $rte-emoji-pop-box-shadow: 0 0 6px rgba(0, 0, 0, .25);
@@ -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,14 +65,15 @@ $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;
72
72
  $rte-insert-dialog-label-padding-bottom: 12px !default;
73
73
  $rte-big-quick-tbar-item-min-height: 48px !default;
74
74
  $rte-big-quick-tbar-item-min-width: 48px !default;
75
- $rte-content-font-size: $text-sm !default;
75
+ $rte-content-font-size: 14px !default;
76
+ $rte-big-content-font-size: 16px !default;
76
77
  $rte-dropdown-caret-icon-size: $text-xs !default;
77
78
  $rte-big-dropdown-caret-icon-size: $text-sm !default;
78
79
  $font-weight: $font-weight-normal !default;
@@ -91,7 +92,8 @@ $rte-default-character-count-opacity: .8;
91
92
  $rte-droparea-line-height: 10;
92
93
  $rte-droparea-browsebtn-height: 36px;
93
94
  $rte-droparea-browsebtn-padding: 0 18px;
94
- $rte-droparea-browsebtn-top: -50px;
95
+ $rte-droparea-browsebtn-top: -120px;
96
+ $rte-big-droparea-browsebtn-top: -120px;
95
97
  $rte-insert-dialog-font-size: 15px;
96
98
  $rte-big-insert-dialog-font-size: 15px;
97
99
  $rte-table-popup-tablecell-height: 14px;
@@ -105,6 +107,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
105
107
  $rte-big-toolbar-item-frist-last-child-margin: 0 3px;
106
108
  $rte-toolbar-expaned-padding: 0 4px;
107
109
  $rte-toolbar-expaned-padding-hover: 0 4px;
110
+ $rte-big-toolbar-expaned-padding: 0 8px;
108
111
  $rte-inline-dropdown-line-height: 40px !default;
109
112
  $rte-big-inline-dropdown-line-height: 48px !default;
110
113
  $rte-formatlists-dropdown-line-height: 20px;
@@ -113,7 +116,7 @@ $rte-big-formatlists-dropdown-line-height: 30px;
113
116
  //Layout Variables End
114
117
 
115
118
  //Theme Variables Start
116
- $rte-split-btn-active-border: 0 !default;
119
+ $rte-split-btn-active-border: 1px solid $transparent !default;
117
120
  $rte-border-color: $border-light !default;
118
121
  $rte-content-bg: $content-bg-color !default;
119
122
  $rte-full-screen-bg: $content-bg-color !default;
@@ -142,7 +145,7 @@ $rte-quick-pop-item-focus-bg: $content-bg-color-alt4 !default;
142
145
  $rte-quick-tb-btn-hover: $content-bg-color-alt4 !default;
143
146
  $rte-tb-item-active-bg: $content-bg-color-alt5 !default;
144
147
  $rte-tb-active-font-color: $icon-color !default;
145
- $rte-tb-item-active-border: 0 solid $secondary-border-color-pressed !default;
148
+ $rte-tb-item-active-border: 1px solid $transparent !default;
146
149
  $rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
147
150
  $rte-color-picker-active-bg: inherit !default;
148
151
  $rte-drop-btn-active-bg: $content-bg-color-alt5 !default;
@@ -159,7 +162,7 @@ $rte-split-btn-span-active-bg: $content-bg-color-alt3 !default;
159
162
  $rte-split-btn-bar-bg: $content-bg-color !default;
160
163
  $rte-split-btn-active-bar-bg: $content-bg-color !default;
161
164
  $rte-split-btn-bar-size: 0 !default;
162
- $rte-split-btn-active-border: 0 !default;
165
+ $rte-split-btn-active-border: 1px solid $transparent !default;
163
166
  $rte-split-btn-active-color-icon-line-height: 40px !default;
164
167
  $rte-big-split-btn-active-color-icon-line-height: 48px !default;
165
168
 
@@ -175,7 +178,7 @@ $rte-font-family: $font-family !default;
175
178
  $rte-content-color: $content-text-color !default;
176
179
  $rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
177
180
  $rte-dropdown-selection-bgcolor: $secondary-bg-color-pressed !default;
178
- $rte-ext-tbar-overlay-icons-color: $icon-color-disabled !default;
181
+ $rte-ext-tbar-overlay-icons-color: $icon-color !default;
179
182
  $rte-overlay-color: $overlay-bg-color !default;
180
183
  $rte-dropdown-selection-color: $secondary-text-color-pressed !default;
181
184
  $rte-anchor-color: $primary !default;
@@ -233,7 +236,8 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
233
236
  $rte-big-table-dlg-max-height: 306px !default;
234
237
  $rte-big-edit-table-dlg-max-height: 388px !default;
235
238
  $rte-drop-text-width: 292px !default;
236
- $rte-drop-text-height: 185px !default;
239
+ $rte-drop-text-height: 128px !default;
240
+ $rte-big-drop-text-height: 140px !default;
237
241
  $rte-drop-text-mobile-width: 242px !default;
238
242
  $rte-tbar-default-bg: $content-bg-color-alt2;
239
243
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -243,7 +247,7 @@ $rte-big-background-color-icon-fontsize: 18px;
243
247
  $rte-dropdown-btn-color-content-padding: 0 !default;
244
248
  $rte-big-dropdown-btn-color-content-padding: 3px !default;
245
249
  $rte-tb-expended-min-height: 40px !default;
246
- $rte-big-tb-expended-min-height: 50px !default;
250
+ $rte-big-tb-expended-min-height: 48px !default;
247
251
  $rte-tb-expended-padding-left: 1px !default;
248
252
  $rte-tb-expended-hover-padding-left: 0 !default;
249
253
  $rte-toolbar-expaned-minwidth: 32px !default;
@@ -68,7 +68,8 @@ $rte-insert-dialog-label-padding-top: 12px !default;
68
68
  $rte-insert-dialog-label-padding-bottom: 12px !default;
69
69
  $rte-big-quick-tbar-item-min-height: 34px !default;
70
70
  $rte-big-quick-tbar-item-min-width: 39px !default;
71
- $rte-content-font-size: $text-sm !default;
71
+ $rte-content-font-size: 14px !default;
72
+ $rte-big-content-font-size: 16px !default;
72
73
  $rte-dropdown-caret-icon-size: $text-xs !default;
73
74
  $rte-big-dropdown-caret-icon-size: $text-sm !default;
74
75
  $rte-inline-dropdown-line-height: 0 !default;
@@ -89,7 +90,8 @@ $rte-default-character-count-opacity: 1;
89
90
  $rte-droparea-line-height: 10;
90
91
  $rte-droparea-browsebtn-height: 36px;
91
92
  $rte-droparea-browsebtn-padding: 0 18px;
92
- $rte-droparea-browsebtn-top: -50px;
93
+ $rte-droparea-browsebtn-top: -120px;
94
+ $rte-big-droparea-browsebtn-top: -120px;
93
95
  $rte-insert-dialog-font-size: 15px;
94
96
  $rte-big-insert-dialog-font-size: 15px;
95
97
  $rte-table-popup-tablecell-height: 14px;
@@ -102,6 +104,7 @@ $rte-big-tablecell-width : 16px;
102
104
  $rte-toolbar-item-frist-last-child-margin: 0;
103
105
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
104
106
  $rte-toolbar-expaned-padding: 0 4px;
107
+ $rte-big-toolbar-expaned-padding: 0 4px;
105
108
  $rte-toolbar-expaned-padding-hover: 0 4px;
106
109
  $rte-formatlists-dropdown-line-height: 1;
107
110
  $rte-big-formatlists-dropdown-line-height: 1;
@@ -230,7 +233,8 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
230
233
  $toolbar-expand-icon-min-height: 40px !default;
231
234
  $rte-align-caret-icon-min-width: 24px !default;
232
235
  $rte-drop-text-width: 300px !default;
233
- $rte-drop-text-height: 185px !default;
236
+ $rte-drop-text-height: 128px !default;
237
+ $rte-big-drop-text-height: 140px !default;
234
238
  $rte-drop-text-mobile-width: 250px !default;
235
239
  $rte-tbar-default-bg: $content-bg-color-alt1;
236
240
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -162,6 +162,7 @@ $rte-insert-dialog-label-padding-bottom: 20px !default;
162
162
  $rte-big-quick-tbar-item-min-height: 49px !default;
163
163
  $rte-big-quick-tbar-item-min-width: 50px !default;
164
164
  $rte-content-font-size: 14px !default;
165
+ $rte-big-content-font-size: 16px !default;
165
166
  $rte-dropdown-caret-icon-size: 12px !default;
166
167
  $rte-big-dropdown-caret-icon-size: 12px !default;
167
168
  $rte-toolbar-icon-size: 16px !default;
@@ -205,13 +206,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
205
206
  $rte-big-table-dlg-max-height: 309px !default;
206
207
  $rte-big-edit-table-dlg-max-height: 400px !default;
207
208
  $rte-drop-text-width: 288px !default;
208
- $rte-drop-text-height: 185px !default;
209
+ $rte-drop-text-height: 128px !default;
210
+ $rte-big-drop-text-height: 140px !default;
209
211
  $rte-drop-text-mobile-width: 238px !default;
210
212
  $rte-tbar-default-bg: $bg-base-0;
211
213
  $rte-droparea-line-height: 10;
212
214
  $rte-droparea-browsebtn-height: 36px;
213
215
  $rte-droparea-browsebtn-padding: 0 18px;
214
- $rte-droparea-browsebtn-top: -50px;
216
+ $rte-droparea-browsebtn-top: -120px;
217
+ $rte-big-droparea-browsebtn-top: -120px;
215
218
  $rte-insert-dialog-font-size: 15px;
216
219
  $rte-big-insert-dialog-font-size: 15px;
217
220
  $rte-table-popup-tablecell-height: 14px;
@@ -229,6 +232,7 @@ $rte-big-tablecell-width : 16px;
229
232
  $rte-toolbar-item-frist-last-child-margin: 0;
230
233
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
231
234
  $rte-toolbar-expaned-padding: 0;
235
+ $rte-big-toolbar-expaned-padding: 0;
232
236
  $rte-toolbar-expaned-padding-hover: 0;
233
237
  $dropdown-btn-font-size: inherit !default;
234
238
  $rte-extended-toolbar-items-padding: 0;
@@ -239,7 +243,7 @@ $rte-background-color-icon-fontsize: 14px;
239
243
  $rte-big-background-color-icon-fontsize: 18px;
240
244
  $rte-dropdown-btn-color-content-padding: 0 !default;
241
245
  $rte-big-dropdown-btn-color-content-padding: 1px !default;
242
- $rte-toolbar-expaned-minwidth: 36px !default;
246
+ $rte-toolbar-expaned-minwidth: 100% !default;
243
247
 
244
248
  $rte-emoji-pop-background: $bg-base-0;
245
249
  $rte-emoji-pop-box-shadow: none;
@@ -158,6 +158,7 @@ $rte-insert-dialog-label-padding-bottom: 20px !default;
158
158
  $rte-big-quick-tbar-item-min-height: 34px !default;
159
159
  $rte-big-quick-tbar-item-min-width: 39px !default;
160
160
  $rte-content-font-size: 14px !default;
161
+ $rte-big-content-font-size: 16px !default;
161
162
  $rte-dropdown-caret-icon-size: 12px !default;
162
163
  $rte-big-dropdown-caret-icon-size: 12px !default;
163
164
  $rte-toolbar-icon-size: 16px !default;
@@ -201,13 +202,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
201
202
  $rte-big-table-dlg-max-height: 309px !default;
202
203
  $rte-big-edit-table-dlg-max-height: 400px !default;
203
204
  $rte-drop-text-width: 288px !default;
204
- $rte-drop-text-height: 185px !default;
205
+ $rte-drop-text-height: 128px !default;
206
+ $rte-big-drop-text-height: 140px !default;
205
207
  $rte-drop-text-mobile-width: 238px !default;
206
208
  $rte-tbar-default-bg: $bg-base-0;
207
209
  $rte-droparea-line-height: 10;
208
210
  $rte-droparea-browsebtn-height: 36px;
209
211
  $rte-droparea-browsebtn-padding: 0 18px;
210
- $rte-droparea-browsebtn-top: -50px;
212
+ $rte-droparea-browsebtn-top: -120px;
213
+ $rte-big-droparea-browsebtn-top: -120px;
211
214
  $rte-insert-dialog-font-size: 15px;
212
215
  $rte-big-insert-dialog-font-size: 15px;
213
216
  $rte-table-popup-tablecell-height: 14px;
@@ -225,6 +228,7 @@ $rte-big-tablecell-width : 16px;
225
228
  $rte-toolbar-item-frist-last-child-margin: 0;
226
229
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
227
230
  $rte-toolbar-expaned-padding: 0;
231
+ $rte-big-toolbar-expaned-padding: 0;
228
232
  $rte-toolbar-expaned-padding-hover: 0;
229
233
  $dropdown-btn-font-size: inherit !default;
230
234
  $rte-extended-toolbar-items-padding: 0;
@@ -11,6 +11,12 @@
11
11
  }
12
12
  }
13
13
 
14
+ .e-rte-toolbar {
15
+ .e-toolbar-items .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
16
+ margin-left: 0;
17
+ }
18
+ }
19
+
14
20
  @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
15
21
  .e-rte-toolbar .e-toolbar-item .e-dropdown-btn .e-dropdown-btn {
16
22
  font-size: $dropdown-btn-big-font-size;
@@ -130,6 +136,20 @@
130
136
  min-height: 350px;
131
137
  }
132
138
  }
139
+ .e-rte-content .e-content {
140
+ font-size: $rte-big-content-font-size;
141
+ }
142
+ .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
143
+ .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
144
+ .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
145
+ top: $rte-big-droparea-browsebtn-top;
146
+ }
147
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control{
148
+ padding: $rte-big-toolbar-expaned-padding;
149
+ &:hover {
150
+ padding: $rte-big-toolbar-expaned-padding;
151
+ }
152
+ }
133
153
  }
134
154
 
135
155
  .e-richtexteditor {
@@ -228,6 +248,10 @@
228
248
  margin-left: $rte-tb-items-margin-left;
229
249
  }
230
250
 
251
+ .e-toolbar-items .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
252
+ margin-left: 0;
253
+ }
254
+
231
255
  .e-hor-nav.e-expended-nav {
232
256
  height: auto;
233
257
  min-height: $rte-tb-expended-min-height;
@@ -385,15 +409,6 @@
385
409
  z-index: 101;
386
410
  }
387
411
  }
388
-
389
- &.e-rte-tb-float {
390
- position: fixed;
391
- top: 0;
392
-
393
- &.e-rte-tb-abs-float {
394
- position: absolute;
395
- }
396
- }
397
412
  }
398
413
 
399
414
  .rte-placeholder {
@@ -423,20 +438,18 @@
423
438
  width: 100%;
424
439
 
425
440
  .e-content {
441
+ width: 100%;
442
+ float: left;
426
443
  background: unset;
427
444
  box-sizing: border-box;
428
445
  height: 100%;
429
446
  min-height: 100px;
430
447
  outline: 0 solid transparent;
431
- overflow-x: auto;
432
448
  padding: $rte-content-padding;
433
449
  position: relative;
434
450
  text-align: inherit;
435
451
  z-index: 2;
436
-
437
- @media screen and (min-width: 992px) {
438
- font-size: $rte-content-font-size;
439
- }
452
+ font-size: $rte-content-font-size;
440
453
  }
441
454
 
442
455
  .e-content p {
@@ -548,6 +561,7 @@
548
561
  position: absolute;
549
562
  right: 0;
550
563
  z-index: 100;
564
+ pointer-events: none;
551
565
 
552
566
  &.e-warning {
553
567
  color: $rte-warning-character-count-color;
@@ -622,8 +636,50 @@
622
636
  .e-toolbar.e-extended-toolbar .e-toolbar-extended.e-toolbar-pop .e-toolbar-item .e-tbar-btn{
623
637
  font-size: $rte-tbar-icon-size;
624
638
  }
639
+ .e-clickelem::after,
640
+ .e-video-clickelem::after {
641
+ left: 0;
642
+ right: 0;
643
+ z-index: 1;
644
+ }
645
+ .e-clickelem::before,
646
+ .e-video-clickelem::before {
647
+ left: 0;
648
+ right: 0;
649
+ z-index: 1;
650
+ }
651
+ .e-clickelem::before {
652
+ bottom: 70%;
653
+ top: 0;
654
+ }
655
+ .e-clickelem::after {
656
+ bottom: 0;
657
+ top: 70%;
658
+ }
659
+ .e-video-clickelem::before {
660
+ bottom: 85%;
661
+ top: 0;
662
+ }
663
+ .e-video-clickelem::after {
664
+ bottom: 0;
665
+ top: 90%;
666
+ }
625
667
  }
626
668
 
669
+ @if $skin-name == 'tailwind' {
670
+ .e-bigger {
671
+ .e-richtexteditor {
672
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
673
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
674
+ padding: 0 8px;
675
+ }
676
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
677
+ padding: 0 8px;
678
+ }
679
+ }
680
+ }
681
+ }
682
+
627
683
  .e-rte-linkcontent .e-rte-label {
628
684
  padding-top: $rte-insert-dialog-label-padding-top;
629
685
  }
@@ -816,7 +872,9 @@
816
872
 
817
873
  .e-rte-image.e-imginline,
818
874
  .e-rte-audio.e-audio-inline,
819
- .e-rte-video.e-video-inline {
875
+ .e-rte-video.e-video-inline {
876
+ margin-left: 5px;
877
+ margin-right: 5px;
820
878
  display: inline-block;
821
879
  float: none;
822
880
  max-width: calc(100% - (2 * 5px));
@@ -874,36 +932,34 @@
874
932
  }
875
933
 
876
934
  .e-rte-img-caption.e-imgcenter {
877
- display: block;
935
+ display: contents;
878
936
  margin-left: auto;
879
937
  margin-right: auto;
880
938
  }
881
939
 
882
940
  .e-rte-img-caption.e-imgright {
883
- display: block;
941
+ display: contents;
884
942
  margin-left: auto;
885
943
  margin-right: 0;
886
944
  }
887
945
 
888
946
  .e-rte-img-caption.e-imgleft {
889
- display: block;
947
+ display: contents;
890
948
  margin-left: 0;
891
949
  margin-right: auto;
892
950
  }
893
951
 
894
952
  .e-rte-img-caption .e-rte-image.e-imgright {
895
- float: none;
896
953
  margin-left: auto;
897
954
  margin-right: 0;
898
955
  }
899
956
 
900
957
  .e-rte-img-caption .e-rte-image.e-imgleft {
901
- float: none;
902
958
  margin: 0;
903
959
  }
904
960
 
905
961
  .e-img-caption.e-rte-img-caption.e-imgbreak {
906
- display: block;
962
+ display: contents;
907
963
  }
908
964
 
909
965
  .e-rte-table {
@@ -917,7 +973,7 @@
917
973
  height: 20px;
918
974
  min-width: 20px;
919
975
  padding: 2px 5px;
920
- vertical-align: middle;
976
+ box-sizing: border-box;
921
977
  }
922
978
 
923
979
  .e-rte-table.e-dashed-border td,
@@ -938,13 +994,20 @@
938
994
  }
939
995
 
940
996
  .e-rte-img-caption.e-imgleft .e-img-inner {
997
+ float: left;
941
998
  text-align: left;
942
999
  }
943
1000
 
944
1001
  .e-rte-img-caption.e-imgright .e-img-inner {
1002
+ float: right;
945
1003
  text-align: right;
946
1004
  }
947
1005
 
1006
+ .e-rte-img-caption.e-imgleft .e-img-wrap,
1007
+ .e-rte-img-caption.e-imgright .e-img-wrap {
1008
+ display: contents;
1009
+ }
1010
+
948
1011
  .e-rte-img-caption .e-img-wrap {
949
1012
  display: inline-block;
950
1013
  margin: auto;
@@ -960,6 +1023,14 @@
960
1023
  padding-top: 0;
961
1024
  }
962
1025
 
1026
+ .e-rte-video-dialog .e-rte-label {
1027
+ padding-top: $rte-insert-dialog-label-padding-top;
1028
+ }
1029
+
1030
+ .e-rte-video-dialog .e-rte-label:first-child {
1031
+ padding-top: 0;
1032
+ }
1033
+
963
1034
  .e-rte-table-resize.e-row-resize,
964
1035
  .e-rte-table-resize.e-column-resize {
965
1036
  background-color: transparent;
@@ -977,7 +1048,8 @@
977
1048
  height: 1px;
978
1049
  }
979
1050
 
980
- .e-richtexteditor {
1051
+ .e-richtexteditor,
1052
+ .e-rte-elements {
981
1053
  .e-linkheader,
982
1054
  .e-audioheader,
983
1055
  .e-videoheader,
@@ -1066,7 +1138,7 @@
1066
1138
 
1067
1139
  .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
1068
1140
  .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
1069
- top: -130px;
1141
+ top: $rte-droparea-browsebtn-top;
1070
1142
  }
1071
1143
 
1072
1144
  .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
@@ -1158,7 +1230,7 @@
1158
1230
  .e-rte-content .e-content table td.e-cell-select,
1159
1231
  .e-rte-content .e-content table th.e-cell-select {
1160
1232
  border: 1px double $rte-table-select-border-color;
1161
- height: 24.67px;
1233
+ height: inherit;
1162
1234
  }
1163
1235
 
1164
1236
  span.e-table-box {
@@ -1207,17 +1279,17 @@
1207
1279
  @if $skin-name =='bootstrap' or $skin-name =='botstrap-dark' {
1208
1280
  &:hover,
1209
1281
  &:focus{
1210
- padding: 6px 2px;
1282
+ padding: 7px 3px;
1211
1283
  }
1212
1284
  }
1213
1285
 
1214
1286
  @if $skin-name =='material' or $skin-name =='material-dark' {
1215
- padding: 3px;
1287
+ padding: 0 6px;
1216
1288
  }
1217
1289
 
1218
1290
  .e-tbar-btn-text {
1219
1291
  font-size: 24px;
1220
- padding: 1px;
1292
+ padding: 0;
1221
1293
  }
1222
1294
  }
1223
1295
 
@@ -1417,6 +1489,17 @@
1417
1489
  .e-rte-quick-toolbar {
1418
1490
  min-height: 48px;
1419
1491
 
1492
+ .e-toolbar-items .e-rte-backgroundcolor-dropdown {
1493
+ .e-rte-color-content,
1494
+ .e-caret {
1495
+ height: $rte-big-dropdown-btn-color-content-height;
1496
+
1497
+ &:hover {
1498
+ height: $rte-big-dropdown-btn-color-content-height;
1499
+ }
1500
+ }
1501
+ }
1502
+
1420
1503
  .e-toolbar-items:not(.e-tbar-pos) {
1421
1504
  margin: $rte-big-quick-toolbar-items-margin;
1422
1505
  min-height: 48px;
@@ -1592,6 +1675,14 @@
1592
1675
  }
1593
1676
  }
1594
1677
  }
1678
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active{
1679
+ .e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1680
+ .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1681
+ @if $skin-name == 'tailwind' {
1682
+ padding: 1px;
1683
+ }
1684
+ }
1685
+ }
1595
1686
 
1596
1687
  .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1597
1688
  .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
@@ -1973,7 +2064,9 @@
1973
2064
 
1974
2065
  @if $skin-name == 'Material3' {
1975
2066
  .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn{
1976
- border-color: $outline;
2067
+ font-weight: $font-weight;
2068
+ border: 1px solid rgba($info-outline-border);
2069
+ border-radius: 20px;
1977
2070
  }
1978
2071
  .e-dialog .e-dlg-header-content + .e-dlg-content{
1979
2072
  padding-top: 0;
@@ -2032,10 +2125,6 @@
2032
2125
  box-shadow: $rte-table-popup-box;
2033
2126
  }
2034
2127
 
2035
- .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items.e-toolbar-multirow:not(.e-tbar-pos) .e-toolbar-item:first-child {
2036
- margin-left: 6px;
2037
- }
2038
-
2039
2128
  .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
2040
2129
  min-width: 24px;
2041
2130
  }
@@ -2061,12 +2150,100 @@
2061
2150
  }
2062
2151
  }
2063
2152
 
2064
- .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
2153
+ .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell,
2154
+ .e-rte-elements.e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
2065
2155
  margin: 1px;
2066
2156
  }
2157
+ .e-rte-elements{
2158
+ .e-rte-table-popup.e-popup-open{
2159
+ .e-rte-table-row {
2160
+ height: 16px;
2161
+ }
2162
+ .e-insert-table-btn {
2163
+ @if $skin-name == 'FluentUI' {
2164
+ margin-top: $rte-table-popup-btn-margin-top;
2165
+ }
2166
+ width: 100%;
2167
+ }
2168
+ .e-rte-tablecell {
2169
+ border: $rte-table-span-border;
2170
+ display: inline-block;
2171
+ height: 14px;
2172
+ margin: 1px;
2173
+ overflow: hidden;
2174
+ vertical-align: top;
2175
+ width: 14px;
2176
+ }
2177
+ }
2178
+ .e-rte-table-popup.e-popup.e-popup-open {
2179
+ border-radius: $rte-table-popup-bdr-radius;
2180
+ box-shadow: $rte-table-popup-box;
2181
+ font-size: 14px;
2182
+ font-weight: normal;
2183
+ min-width: 120px;
2184
+ overflow: hidden;
2185
+ padding: $rte-table-popup-padding;
2186
+ }
2187
+ }
2188
+
2189
+ .e-rte-elements.e-dialog {
2190
+ .e-img-uploadwrap.e-droparea .e-rte-upload-text,
2191
+ .e-aud-uploadwrap.e-droparea .e-rte-upload-text,
2192
+ .e-vid-uploadwrap.e-droparea .e-rte-upload-text {
2193
+ display: inline-block;
2194
+ line-height: normal;
2195
+ }
2196
+ .e-img-uploadwrap.e-droparea,
2197
+ .e-aud-uploadwrap.e-droparea,
2198
+ .e-vid-uploadwrap.e-droparea {
2199
+ line-height: $rte-droparea-line-height;
2200
+ min-height: 50px;
2201
+ position: relative;
2202
+ }
2203
+ .e-img-uploadwrap.e-droparea .e-browsebtn,
2204
+ .e-aud-uploadwrap.e-droparea .e-browsebtn,
2205
+ .e-vid-uploadwrap.e-droparea .e-browsebtn {
2206
+ display: block;
2207
+ height: $rte-droparea-browsebtn-height;
2208
+ margin: 0 auto;
2209
+ padding: $rte-droparea-browsebtn-padding;
2210
+ position: relative;
2211
+ top: $rte-droparea-browsebtn-top;
2212
+ @if $skin-name == 'FluentUI' {
2213
+ outline: none;
2214
+ }
2215
+ }
2216
+ .e-vid-uploadwrap.e-droparea .e-browsebtn,
2217
+ .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
2218
+ top: -130px;
2219
+ }
2220
+ }
2067
2221
  .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
2068
2222
  .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
2069
2223
  visibility: hidden;
2070
2224
  }
2071
2225
  // Blazor styles end
2226
+
2227
+ .e-richtexteditor {
2228
+ .e-toolbar-wrapper.e-rte-tb-float,
2229
+ .e-toolbar-container.e-rte-tb-float {
2230
+ position: sticky;
2231
+ top: 0;
2232
+ overflow: visible;
2233
+ }
2234
+ .e-toolbar-wrapper,
2235
+ .e-toolbar-container {
2236
+ height: auto;
2237
+ z-index: 10;
2238
+ }
2239
+ .e-toolbar .e-toolbar-pop.e-toolbar-extended {
2240
+ position: relative;
2241
+ width: 100%;
2242
+ top: 0 !important; /* stylelint-disable-line declaration-no-important */
2243
+ left: 0 !important; /* stylelint-disable-line declaration-no-important */
2244
+ }
2245
+ .e-toolbar .e-toolbar-pop.e-toolbar-extended.e-popup-open {
2246
+ display: block;
2247
+ }
2248
+ }
2072
2249
  }