@syncfusion/ej2-richtexteditor 20.4.52 → 21.1.35

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 (140) hide show
  1. package/CHANGELOG.md +32 -2
  2. package/dist/ej2-richtexteditor.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +1623 -639
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +1638 -646
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +2 -2
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +13 -13
  13. package/src/common/config.js +3 -1
  14. package/src/common/constant.d.ts +6 -0
  15. package/src/common/constant.js +6 -0
  16. package/src/common/util.d.ts +2 -1
  17. package/src/common/util.js +15 -6
  18. package/src/editor-manager/base/editor-manager.d.ts +2 -0
  19. package/src/editor-manager/base/editor-manager.js +6 -1
  20. package/src/editor-manager/base/enum.d.ts +14 -0
  21. package/src/editor-manager/base/interface.d.ts +34 -0
  22. package/src/editor-manager/plugin/clearformat.js +13 -4
  23. package/src/editor-manager/plugin/format-painter-actions.d.ts +63 -0
  24. package/src/editor-manager/plugin/format-painter-actions.js +474 -0
  25. package/src/editor-manager/plugin/image.js +0 -1
  26. package/src/editor-manager/plugin/inserthtml-exec.js +1 -1
  27. package/src/editor-manager/plugin/inserthtml.d.ts +1 -1
  28. package/src/editor-manager/plugin/inserthtml.js +18 -10
  29. package/src/editor-manager/plugin/isformatted.js +1 -0
  30. package/src/editor-manager/plugin/link.js +0 -1
  31. package/src/editor-manager/plugin/lists.js +1 -1
  32. package/src/editor-manager/plugin/ms-word-clean-up.js +57 -19
  33. package/src/editor-manager/plugin/selection-commands.d.ts +4 -1
  34. package/src/editor-manager/plugin/selection-commands.js +70 -9
  35. package/src/editor-manager/plugin/video.js +2 -0
  36. package/src/editor-manager/plugin.d.ts +1 -0
  37. package/src/editor-manager/plugin.js +1 -0
  38. package/src/global.js +1 -1
  39. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +1 -0
  40. package/src/rich-text-editor/actions/base-quick-toolbar.js +21 -1
  41. package/src/rich-text-editor/actions/base-toolbar.js +33 -10
  42. package/src/rich-text-editor/actions/enter-key.js +23 -16
  43. package/src/rich-text-editor/actions/format-painter.d.ts +24 -0
  44. package/src/rich-text-editor/actions/format-painter.js +142 -0
  45. package/src/rich-text-editor/actions/full-screen.js +0 -1
  46. package/src/rich-text-editor/actions/html-editor.d.ts +1 -0
  47. package/src/rich-text-editor/actions/html-editor.js +117 -97
  48. package/src/rich-text-editor/actions/paste-clean-up.js +2 -2
  49. package/src/rich-text-editor/actions/quick-toolbar.js +8 -1
  50. package/src/rich-text-editor/actions/toolbar.js +10 -0
  51. package/src/rich-text-editor/actions.d.ts +1 -0
  52. package/src/rich-text-editor/actions.js +1 -0
  53. package/src/rich-text-editor/base/constant.d.ts +10 -0
  54. package/src/rich-text-editor/base/constant.js +10 -0
  55. package/src/rich-text-editor/base/enum.d.ts +4 -0
  56. package/src/rich-text-editor/base/interface.d.ts +30 -3
  57. package/src/rich-text-editor/base/interface.js +12 -0
  58. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +30 -4
  59. package/src/rich-text-editor/base/rich-text-editor.d.ts +35 -5
  60. package/src/rich-text-editor/base/rich-text-editor.js +46 -10
  61. package/src/rich-text-editor/base/util.js +2 -0
  62. package/src/rich-text-editor/formatter/formatter.js +22 -13
  63. package/src/rich-text-editor/formatter/html-formatter.d.ts +5 -3
  64. package/src/rich-text-editor/formatter/html-formatter.js +7 -5
  65. package/src/rich-text-editor/models/default-locale.js +4 -2
  66. package/src/rich-text-editor/models/items.d.ts +3 -0
  67. package/src/rich-text-editor/models/items.js +32 -0
  68. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +29 -1
  69. package/src/rich-text-editor/models/toolbar-settings.d.ts +24 -1
  70. package/src/rich-text-editor/models/toolbar-settings.js +20 -0
  71. package/src/rich-text-editor/renderer/audio-module.js +6 -3
  72. package/src/rich-text-editor/renderer/image-module.js +11 -6
  73. package/src/rich-text-editor/renderer/link-module.js +2 -1
  74. package/src/rich-text-editor/renderer/table-module.js +18 -6
  75. package/src/rich-text-editor/renderer/toolbar-renderer.js +10 -1
  76. package/src/rich-text-editor/renderer/video-module.js +8 -5
  77. package/src/rich-text-editor/renderer/view-source.js +1 -1
  78. package/styles/bootstrap-dark.css +31 -1
  79. package/styles/bootstrap.css +31 -1
  80. package/styles/bootstrap4.css +31 -1
  81. package/styles/bootstrap5-dark.css +32 -2
  82. package/styles/bootstrap5.css +32 -2
  83. package/styles/fabric-dark.css +31 -1
  84. package/styles/fabric.css +31 -1
  85. package/styles/fluent-dark.css +34 -4
  86. package/styles/fluent.css +34 -4
  87. package/styles/highcontrast-light.css +31 -1
  88. package/styles/highcontrast.css +31 -1
  89. package/styles/material-dark.css +31 -1
  90. package/styles/material.css +31 -1
  91. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +25 -1
  92. package/styles/rich-text-editor/_bootstrap-definition.scss +25 -1
  93. package/styles/rich-text-editor/_bootstrap4-definition.scss +25 -1
  94. package/styles/rich-text-editor/_bootstrap5-definition.scss +28 -5
  95. package/styles/rich-text-editor/_fabric-dark-definition.scss +25 -1
  96. package/styles/rich-text-editor/_fabric-definition.scss +25 -1
  97. package/styles/rich-text-editor/_fluent-definition.scss +30 -7
  98. package/styles/rich-text-editor/_fusionnew-definition.scss +26 -3
  99. package/styles/rich-text-editor/_highcontrast-definition.scss +25 -1
  100. package/styles/rich-text-editor/_highcontrast-light-definition.scss +25 -1
  101. package/styles/rich-text-editor/_layout.scss +47 -15
  102. package/styles/rich-text-editor/_material-dark-definition.scss +26 -1
  103. package/styles/rich-text-editor/_material-definition.scss +25 -1
  104. package/styles/rich-text-editor/_tailwind-definition.scss +28 -5
  105. package/styles/rich-text-editor/_theme.scss +54 -6
  106. package/styles/rich-text-editor/bootstrap-dark.css +31 -1
  107. package/styles/rich-text-editor/bootstrap.css +31 -1
  108. package/styles/rich-text-editor/bootstrap4.css +31 -1
  109. package/styles/rich-text-editor/bootstrap5-dark.css +32 -2
  110. package/styles/rich-text-editor/bootstrap5.css +32 -2
  111. package/styles/rich-text-editor/fabric-dark.css +31 -1
  112. package/styles/rich-text-editor/fabric.css +31 -1
  113. package/styles/rich-text-editor/fluent-dark.css +34 -4
  114. package/styles/rich-text-editor/fluent.css +34 -4
  115. package/styles/rich-text-editor/highcontrast-light.css +31 -1
  116. package/styles/rich-text-editor/highcontrast.css +31 -1
  117. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +8 -0
  118. package/styles/rich-text-editor/icons/_bootstrap.scss +8 -0
  119. package/styles/rich-text-editor/icons/_bootstrap4.scss +8 -0
  120. package/styles/rich-text-editor/icons/_bootstrap5.scss +8 -0
  121. package/styles/rich-text-editor/icons/_fabric-dark.scss +8 -0
  122. package/styles/rich-text-editor/icons/_fabric.scss +8 -0
  123. package/styles/rich-text-editor/icons/_fluent.scss +8 -0
  124. package/styles/rich-text-editor/icons/_fusionnew.scss +8 -0
  125. package/styles/rich-text-editor/icons/_highcontrast-light.scss +8 -0
  126. package/styles/rich-text-editor/icons/_highcontrast.scss +8 -0
  127. package/styles/rich-text-editor/icons/_material-dark.scss +8 -0
  128. package/styles/rich-text-editor/icons/_material.scss +8 -0
  129. package/styles/rich-text-editor/icons/_material3.scss +8 -0
  130. package/styles/rich-text-editor/icons/_tailwind.scss +8 -0
  131. package/styles/rich-text-editor/material-dark.css +31 -1
  132. package/styles/rich-text-editor/material.css +31 -1
  133. package/styles/rich-text-editor/tailwind-dark.css +31 -1
  134. package/styles/rich-text-editor/tailwind.css +31 -1
  135. package/styles/tailwind-dark.css +31 -1
  136. package/styles/tailwind.css +31 -1
  137. package/GitLeaksReport.json +0 -1
  138. package/gitleaks-ci/gitleaks +0 -0
  139. package/gitleaks-ci.tar.gz +0 -0
  140. package/styles/rich-text-editor/_material3-definition.scss +0 -196
@@ -7,13 +7,14 @@ $rte-list-btn-flex: column !default;
7
7
  $rte-list-btn-line-height: 1 !default;
8
8
  $rte-split-btn-line-height: 41px !default;
9
9
  $rte-big-split-btn-line-height: 50px !default;
10
- $skin-name: 'fabric' !default;
11
10
  $rte-border-color: $neutral-light !default;
12
11
  $rte-full-screen-bg: $neutral-white !default;
13
12
  $rte-content-bg: $neutral-white !default;
14
13
  $rte-content-font-color: $neutral-light-font !default;
15
14
  $rte-item-color: $neutral-light-font !default;
16
15
  $rte-icons-color: $neutral-light-font !default;
16
+ $rte-tlbar-expand-active: $neutral-light-font !default;
17
+ $rte-hover-icons-color: $neutral-light-font !default;
17
18
 
18
19
  $rte-big-quick-item-btn-width: 39px !default;
19
20
  $rte-quick-item-btn-width: 27px !default;
@@ -137,6 +138,7 @@ $rte-table-span-active-bg-color: $theme-darker !default;
137
138
  $rte-table-span-active-border-color: $theme-tertiary !default;
138
139
  $rte-table-select-border-color: $theme-primary !default;
139
140
  $rte-table-popup-bg: $neutral-lighter-alt !default;
141
+ $rte-table-resize-back-color: $neutral-lighter-alt !default;
140
142
  $rte-table-popup-color: $neutral-light-font !default;
141
143
  $rte-table-popup-box: 0 2px 5px 0 rgba($shadow, .26) !default;
142
144
  $rte-table-border-color: $neutral-tertiary !default;
@@ -187,6 +189,28 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
189
  $rte-big-table-dlg-max-height: 335px !default;
188
190
  $rte-big-edit-table-dlg-max-height: 427px !default;
189
191
  $rte-drop-text-width: 300px !default;
192
+ $rte-drop-text-height: 185px !default;
190
193
  $rte-drop-text-mobile-width: 250px !default;
194
+ $rte-tbar-default-bg: $neutral-lighter;
195
+ $rte-droparea-line-height: 10;
196
+ $rte-droparea-browsebtn-height: 36px;
197
+ $rte-droparea-browsebtn-padding: 0 18px;
198
+ $rte-droparea-browsebtn-top: -50px;
199
+ $rte-insert-dialog-font-size: 15px;
200
+ $rte-big-insert-dialog-font-size: 15px;
201
+ $rte-table-popup-tablecell-height: 14px;
202
+ $rte-table-popup-tablecell-width: 14px;
203
+ $rte-table-popup-tablecell-margin: 1px;
204
+ $rte-table-popup-row-height : 16px;
205
+ $rte-border-top-left-radius: 0;
206
+ $rte-border-top-right-radius: 0;
207
+ $rte-border-bottom-right-radius: 0;
208
+ $rte-border-bottom-left-radius: 0;
209
+ $rte-big-border-radius: 0;
210
+ $rte-big-table-row-height : 18px;
211
+ $rte-big-tablecell-height : 16px;
212
+ $rte-big-tablecell-width : 16px;
213
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
214
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
191
215
 
192
216
  //enddefault
@@ -6,13 +6,14 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 41px !default;
8
8
  $rte-big-split-btn-line-height: 50px !default;
9
- $skin-name: 'fabric' !default;
10
9
  $rte-border-color: $neutral-quintenaryalt !default;
11
10
  $rte-full-screen-bg: $neutral-white !default;
12
11
  $rte-content-bg: $neutral-white !default;
13
12
  $rte-content-font-color: #333 !default;
14
13
  $rte-item-color: $neutral-light-fontalt !default;
15
14
  $rte-icons-color: $neutral-light-fontalt !default;
15
+ $rte-tlbar-expand-active: $neutral-light-fontalt !default;
16
+ $rte-hover-icons-color: $neutral-light-fontalt !default;
16
17
  $rte-content-padding: 16px !default;
17
18
  $rte-table-popup-padding: 10px !default;
18
19
 
@@ -137,6 +138,7 @@ $rte-table-span-active-bg-color: rgba($theme-primary, .2) !default;
137
138
  $rte-table-span-active-border-color: $theme-primary !default;
138
139
  $rte-table-select-border-color: #0478d7 !default;
139
140
  $rte-table-popup-bg: $neutral-white !default;
141
+ $rte-table-resize-back-color: $neutral-white !default;
140
142
  $rte-table-popup-color: $theme-light-font !default;
141
143
  $rte-table-popup-box: 0 3px 8px 0 rgba($neutral-light-fontalt, .26) !default;
142
144
  $rte-table-border-color: #bdbdbd !default;
@@ -187,4 +189,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
189
  $rte-big-table-dlg-max-height: 335px !default;
188
190
  $rte-big-edit-table-dlg-max-height: 427px !default;
189
191
  $rte-drop-text-width: 290px !default;
192
+ $rte-drop-text-height: 185px !default;
190
193
  $rte-drop-text-mobile-width: 240px !default;
194
+ $rte-tbar-default-bg: $neutral-white;
195
+ $rte-droparea-line-height: 10;
196
+ $rte-droparea-browsebtn-height: 36px;
197
+ $rte-droparea-browsebtn-padding: 0 18px;
198
+ $rte-droparea-browsebtn-top: -50px;
199
+ $rte-insert-dialog-font-size: 15px;
200
+ $rte-big-insert-dialog-font-size: 15px;
201
+ $rte-table-popup-tablecell-height: 14px;
202
+ $rte-table-popup-tablecell-width: 14px;
203
+ $rte-table-popup-tablecell-margin: 1px;
204
+ $rte-table-popup-row-height : 16px;
205
+ $rte-border-top-left-radius: 0;
206
+ $rte-border-top-right-radius: 0;
207
+ $rte-border-bottom-right-radius: 0;
208
+ $rte-border-bottom-left-radius: 0;
209
+ $rte-big-border-radius: 0;
210
+ $rte-big-table-row-height : 18px;
211
+ $rte-big-tablecell-height : 16px;
212
+ $rte-big-tablecell-width : 16px;
213
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
214
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -1,5 +1,3 @@
1
- $skin-name: 'FluentUI' !default;
2
-
3
1
  //Layout Variables Start
4
2
  $rte-border-size: 1px !default;
5
3
  $rte-2px-border-size: 2px !default;
@@ -31,8 +29,8 @@ $rte-big-quick-drop-btn-icon-size: 16px !default;
31
29
  $rte-quick-drop-btn-icon-size: 14px !default;
32
30
  $rte-big-quick-drop-btn-caret-icon-size: 10px !default;
33
31
  $rte-quick-drop-btn-caret-icon-size: 12px !default;
34
- $rte-big-quick-drop-btn-caret-font-size: 12px !default;
35
- $rte-quick-drop-btn-caret-font-size: 10px !default;
32
+ $rte-big-quick-drop-btn-caret-font-size: $text-xs !default;
33
+ $rte-quick-drop-btn-caret-font-size: $text-xxs !default;
36
34
  $rte-big-tb-items-margin-left: 8px !default;
37
35
  $rte-tb-items-margin-left: 8px !default;
38
36
  $rte-big-tb-items-padding-left: 8px !default;
@@ -56,8 +54,8 @@ $rte-big-drop-btn-action-padding-left: 10px !default;
56
54
  $rte-big-drop-btn-action-padding-right: 6px !default;
57
55
  $rte-colorpicker-parent-padding: 7px !default;
58
56
  $rte-colorpicker-parent-padding-hover: 7px !default;
59
- $rte-colorpicker-parent-padding-top: 7px !default;
60
- $rte-colorpicker-parent-padding-hover-top: 7px !default;
57
+ $rte-colorpicker-parent-padding-top: 0 !default;
58
+ $rte-colorpicker-parent-padding-hover-top: 0 !default;
61
59
  $rte-colorpicker-parent-padding-active-hover: 7px !default;
62
60
  $rte-font-icon-width: 30px !default;
63
61
  $rte-font-arrow-width: 12px !default;
@@ -86,6 +84,21 @@ $rte-big-inline-tmp-color-min-width: 50px;
86
84
  $rte-inline-tmp-color-min-width: 36px;
87
85
  $rte-big-color-list-span-common-padding-left-right: 7px;
88
86
  $rte-default-character-count-opacity: .8;
87
+ $rte-droparea-line-height: 10;
88
+ $rte-droparea-browsebtn-height: 36px;
89
+ $rte-droparea-browsebtn-padding: 0 18px;
90
+ $rte-droparea-browsebtn-top: -50px;
91
+ $rte-insert-dialog-font-size: 15px;
92
+ $rte-big-insert-dialog-font-size: 15px;
93
+ $rte-table-popup-tablecell-height: 14px;
94
+ $rte-table-popup-tablecell-width: 14px;
95
+ $rte-table-popup-tablecell-margin: 1px;
96
+ $rte-table-popup-row-height : 16px;
97
+ $rte-big-table-row-height : 18px;
98
+ $rte-big-tablecell-height : 16px;
99
+ $rte-big-tablecell-width : 16px;
100
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
101
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
89
102
 
90
103
  //Layout Variables End
91
104
 
@@ -97,6 +110,8 @@ $rte-full-screen-bg: $content-bg-color !default;
97
110
  $rte-content-font-color: $content-text-color !default;
98
111
  $rte-item-color: $icon-color !default;
99
112
  $rte-icons-color: $icon-color !default;
113
+ $rte-tlbar-expand-active: $icon-color !default;
114
+ $rte-hover-icons-color: $icon-color !default;
100
115
  $rte-img-popup-border: 1px solid $border-light !default;
101
116
  $rte-img-popup-box-shadow: $shadow-lg !default;
102
117
  $rte-img-popup-color: $border-light !default;
@@ -145,7 +160,7 @@ $rte-drop-text-clr: $content-text-color-alt2 !default;
145
160
  $rte-default-character-count-color: $placeholder-text-color !default;
146
161
  $rte-warning-character-count-color: $warning !default;
147
162
  $rte-error-character-count-color: $danger !default;
148
- $rte-img-border: dashed 2px $primary !default;
163
+ $rte-img-border: solid 2px $primary !default;
149
164
  $rte-font-family: $font-family !default;
150
165
  $rte-content-color: $content-text-color !default;
151
166
  $rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
@@ -164,12 +179,18 @@ $rte-table-span-active-bg-color: $primary-lighter !default;
164
179
  $rte-table-span-active-border-color: $primary !default;
165
180
  $rte-table-select-border-color: $primary !default;
166
181
  $rte-table-popup-bg: $flyout-bg-color !default;
182
+ $rte-table-resize-back-color: $flyout-bg-color !default;
167
183
  $rte-table-popup-color: $flyout-border !default;
168
184
  $rte-table-popup-box: $shadow-lg !default;
169
185
  $rte-table-border-color: $border-light !default;
170
186
  $rte-table-alternate-color: $content-bg-color-alt1 !default;
171
187
  $rte-table-header-bg: $content-bg-color-alt1 !default;
172
188
  $rte-toolbar-hor-nav-border-width: 0 0 0 1px !default;
189
+ $rte-border-top-left-radius: 0;
190
+ $rte-border-top-right-radius: 0;
191
+ $rte-border-bottom-right-radius: 0;
192
+ $rte-border-bottom-left-radius: 0;
193
+ $rte-big-border-radius: 0;
173
194
 
174
195
  //Theme Variables End
175
196
 
@@ -196,4 +217,6 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
196
217
  $rte-big-table-dlg-max-height: 306px !default;
197
218
  $rte-big-edit-table-dlg-max-height: 388px !default;
198
219
  $rte-drop-text-width: 292px !default;
220
+ $rte-drop-text-height: 185px !default;
199
221
  $rte-drop-text-mobile-width: 242px !default;
222
+ $rte-tbar-default-bg: $content-bg-color-alt2;
@@ -1,5 +1,3 @@
1
- $skin-name: 'bootstrap5' !default;
2
-
3
1
  //Layout Variables Start
4
2
  $rte-border-size: 1px !default;
5
3
  $rte-2px-border-size: 2px !default;
@@ -82,6 +80,21 @@ $rte-big-inline-tmp-color-min-width: 50px;
82
80
  $rte-inline-tmp-color-min-width: 55px;
83
81
  $rte-big-color-list-span-common-padding-left-right: 0;
84
82
  $rte-default-character-count-opacity: 1;
83
+ $rte-droparea-line-height: 10;
84
+ $rte-droparea-browsebtn-height: 36px;
85
+ $rte-droparea-browsebtn-padding: 0 18px;
86
+ $rte-droparea-browsebtn-top: -50px;
87
+ $rte-insert-dialog-font-size: 15px;
88
+ $rte-big-insert-dialog-font-size: 15px;
89
+ $rte-table-popup-tablecell-height: 14px;
90
+ $rte-table-popup-tablecell-width: 14px;
91
+ $rte-table-popup-tablecell-margin: 1px;
92
+ $rte-table-popup-row-height : 16px;
93
+ $rte-big-table-row-height : 18px;
94
+ $rte-big-tablecell-height : 16px;
95
+ $rte-big-tablecell-width : 16px;
96
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
97
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
85
98
 
86
99
  //Layout Variables End
87
100
 
@@ -93,6 +106,8 @@ $rte-full-screen-bg: $content-bg-color !default;
93
106
  $rte-content-font-color: $content-text-color !default;
94
107
  $rte-item-color: $content-text-color !default;
95
108
  $rte-icons-color: $icon-color !default;
109
+ $rte-tlbar-expand-active: $icon-color !default;
110
+ $rte-hover-icons-color: $icon-color !default;
96
111
  $rte-img-popup-border: 1px solid $border-light !default;
97
112
  $rte-img-popup-box-shadow: $shadow !default;
98
113
  $rte-img-popup-color: $border-light !default;
@@ -141,7 +156,7 @@ $rte-drop-text-clr: $content-text-color-alt2 !default;
141
156
  $rte-default-character-count-color: $placeholder-text-color !default;
142
157
  $rte-warning-character-count-color: $warning !default;
143
158
  $rte-error-character-count-color: $danger !default;
144
- $rte-img-border: dashed 2px $primary !default;
159
+ $rte-img-border: solid 2px $primary !default;
145
160
  $rte-font-family: $font-family !default;
146
161
  $rte-content-color: $content-text-color !default;
147
162
  $rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
@@ -160,12 +175,18 @@ $rte-table-span-active-bg-color: $primary-lighter !default;
160
175
  $rte-table-span-active-border-color: $primary !default;
161
176
  $rte-table-select-border-color: $primary !default;
162
177
  $rte-table-popup-bg: $flyout-bg-color !default;
178
+ $rte-table-resize-back-color: $flyout-bg-color !default;
163
179
  $rte-table-popup-color: $border-light !default;
164
180
  $rte-table-popup-box: $shadow !default;
165
181
  $rte-table-border-color: $border-light !default;
166
182
  $rte-table-alternate-color: $content-bg-color-alt1 !default;
167
183
  $rte-table-header-bg: $content-bg-color-alt1 !default;
168
184
  $rte-toolbar-hor-nav-border-width: 0 0 0 1px !default;
185
+ $rte-border-top-left-radius: 0;
186
+ $rte-border-top-right-radius: 0;
187
+ $rte-border-bottom-right-radius: 0;
188
+ $rte-border-bottom-left-radius: 0;
189
+ $rte-big-border-radius: 0;
169
190
 
170
191
  //Theme Variables End
171
192
 
@@ -193,4 +214,6 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
193
214
  $toolbar-expand-icon-min-height: 40px !default;
194
215
  $rte-align-caret-icon-min-width: 24px !default;
195
216
  $rte-drop-text-width: 300px !default;
217
+ $rte-drop-text-height: 185px !default;
196
218
  $rte-drop-text-mobile-width: 250px !default;
219
+ $rte-tbar-default-bg: $content-bg-color-alt1;
@@ -6,13 +6,14 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 40px !default;
8
8
  $rte-big-split-btn-line-height: 50px !default;
9
- $skin-name: 'highcontrast' !default;
10
9
  $rte-border-color: $border-fg !default;
11
10
  $rte-full-screen-bg: $bg-base-0 !default;
12
11
  $rte-content-bg: $bg-base-0 !default;
13
12
  $rte-content-font-color: #fff !default;
14
13
  $rte-item-color: $content-font !default;
15
14
  $rte-icons-color: $content-font !default;
15
+ $rte-tlbar-expand-active: $content-font !default;
16
+ $rte-hover-icons-color: $content-font !default;
16
17
  $rte-content-padding: 16px !default;
17
18
  $rte-table-popup-padding: 10px !default;
18
19
 
@@ -137,6 +138,7 @@ $rte-table-span-active-bg-color: rgba($selection-bg, .2) !default;
137
138
  $rte-table-span-active-border-color: $selection-border !default;
138
139
  $rte-table-select-border-color: #0478d7 !default;
139
140
  $rte-table-popup-bg: $bg-base-0 !default;
141
+ $rte-table-resize-back-color: $bg-base-0 !default;
140
142
  $rte-table-popup-color: $border-fg !default;
141
143
  $rte-table-popup-box: 0 3px 8px 0 rgba($bg-base-75, .26) !default;
142
144
  $rte-table-border-color: #bdbdbd !default;
@@ -187,4 +189,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
189
  $rte-big-table-dlg-max-height: 309px !default;
188
190
  $rte-big-edit-table-dlg-max-height: 400px !default;
189
191
  $rte-drop-text-width: 288px !default;
192
+ $rte-drop-text-height: 185px !default;
190
193
  $rte-drop-text-mobile-width: 238px !default;
194
+ $rte-tbar-default-bg: $bg-base-0;
195
+ $rte-droparea-line-height: 10;
196
+ $rte-droparea-browsebtn-height: 36px;
197
+ $rte-droparea-browsebtn-padding: 0 18px;
198
+ $rte-droparea-browsebtn-top: -50px;
199
+ $rte-insert-dialog-font-size: 15px;
200
+ $rte-big-insert-dialog-font-size: 15px;
201
+ $rte-table-popup-tablecell-height: 14px;
202
+ $rte-table-popup-tablecell-width: 14px;
203
+ $rte-table-popup-tablecell-margin: 1px;
204
+ $rte-table-popup-row-height : 16px;
205
+ $rte-border-top-left-radius: 0;
206
+ $rte-border-top-right-radius: 0;
207
+ $rte-border-bottom-right-radius: 0;
208
+ $rte-border-bottom-left-radius: 0;
209
+ $rte-big-border-radius: 0;
210
+ $rte-big-table-row-height : 18px;
211
+ $rte-big-tablecell-height : 16px;
212
+ $rte-big-tablecell-width : 16px;
213
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
214
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -6,13 +6,14 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 39px !default;
8
8
  $rte-big-split-btn-line-height: 47px !default;
9
- $skin-name: 'highcontrast' !default;
10
9
  $rte-border-color: $border-fg !default;
11
10
  $rte-full-screen-bg: $bg-base-0 !default;
12
11
  $rte-content-bg: $bg-base-0 !default;
13
12
  $rte-content-font-color: #fff !default;
14
13
  $rte-item-color: $content-font !default;
15
14
  $rte-icons-color: $content-font !default;
15
+ $rte-tlbar-expand-active: $content-font !default;
16
+ $rte-hover-icons-color: $content-font !default;
16
17
  $rte-table-popup-padding: 10px !default;
17
18
 
18
19
  $rte-big-quick-item-btn-width: 39px !default;
@@ -137,6 +138,7 @@ $rte-table-span-active-bg-color: rgba($selection-bg, .2) !default;
137
138
  $rte-table-span-active-border-color: $selection-border !default;
138
139
  $rte-table-select-border-color: #0478d7 !default;
139
140
  $rte-table-popup-bg: $bg-base-0 !default;
141
+ $rte-table-resize-back-color: $bg-base-0 !default;
140
142
  $rte-table-popup-color: $border-fg !default;
141
143
  $rte-table-popup-box: 0 3px 8px 0 rgba($bg-base-75, .26) !default;
142
144
  $rte-table-border-color: #bdbdbd !default;
@@ -187,4 +189,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
189
  $rte-big-table-dlg-max-height: 309px !default;
188
190
  $rte-big-edit-table-dlg-max-height: 400px !default;
189
191
  $rte-drop-text-width: 288px !default;
192
+ $rte-drop-text-height: 185px !default;
190
193
  $rte-drop-text-mobile-width: 238px !default;
194
+ $rte-tbar-default-bg: $bg-base-0;
195
+ $rte-droparea-line-height: 10;
196
+ $rte-droparea-browsebtn-height: 36px;
197
+ $rte-droparea-browsebtn-padding: 0 18px;
198
+ $rte-droparea-browsebtn-top: -50px;
199
+ $rte-insert-dialog-font-size: 15px;
200
+ $rte-big-insert-dialog-font-size: 15px;
201
+ $rte-table-popup-tablecell-height: 14px;
202
+ $rte-table-popup-tablecell-width: 14px;
203
+ $rte-table-popup-tablecell-margin: 1px;
204
+ $rte-table-popup-row-height : 16px;
205
+ $rte-border-top-left-radius: 0;
206
+ $rte-border-top-right-radius: 0;
207
+ $rte-border-bottom-right-radius: 0;
208
+ $rte-border-bottom-left-radius: 0;
209
+ $rte-big-border-radius: 0;
210
+ $rte-big-table-row-height : 18px;
211
+ $rte-big-tablecell-height : 16px;
212
+ $rte-big-tablecell-width : 16px;
213
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
214
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -223,6 +223,7 @@
223
223
  }
224
224
 
225
225
  .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
226
+ display: inline-block;
226
227
  margin-left: 0;
227
228
  margin-right: 0;
228
229
  overflow-x: auto;
@@ -944,7 +945,7 @@
944
945
  .e-videoheader,
945
946
  .e-video-url-wrap {
946
947
  font-family: $rte-font-family;
947
- font-size: 15px;
948
+ font-size: $rte-insert-dialog-font-size;
948
949
  opacity: .87;
949
950
  padding-bottom: $rte-insert-dialog-label-padding-bottom;
950
951
  padding-top: $rte-insert-dialog-label-padding-top;
@@ -1002,11 +1003,11 @@
1002
1003
  .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
1003
1004
  .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
1004
1005
  display: block;
1005
- height: 36px;
1006
+ height: $rte-droparea-browsebtn-height;
1006
1007
  margin: 0 auto;
1007
- padding: 0 18px;
1008
+ padding: $rte-droparea-browsebtn-padding;
1008
1009
  position: relative;
1009
- top: -50px;
1010
+ top: $rte-droparea-browsebtn-top;
1010
1011
  @if $skin-name == 'FluentUI' {
1011
1012
  outline: none;
1012
1013
  }
@@ -1026,7 +1027,7 @@
1026
1027
  .e-dialog .e-img-uploadwrap.e-droparea,
1027
1028
  .e-dialog .e-aud-uploadwrap.e-droparea,
1028
1029
  .e-dialog .e-vid-uploadwrap.e-droparea {
1029
- line-height: 10;
1030
+ line-height: $rte-droparea-line-height;
1030
1031
  min-height: 50px;
1031
1032
  position: relative;
1032
1033
  }
@@ -1079,15 +1080,15 @@
1079
1080
  .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1080
1081
  border: $rte-table-span-border;
1081
1082
  display: inline-block;
1082
- height: 14px;
1083
- margin: 1px;
1083
+ height: $rte-table-popup-tablecell-height;
1084
+ margin: $rte-table-popup-tablecell-margin;
1084
1085
  overflow: hidden;
1085
1086
  vertical-align: top;
1086
- width: 14px;
1087
+ width: $rte-table-popup-tablecell-width;
1087
1088
  }
1088
1089
 
1089
1090
  .e-rte-table-popup.e-popup-open .e-rte-table-row {
1090
- height: 16px;
1091
+ height: $rte-table-popup-row-height;
1091
1092
  }
1092
1093
 
1093
1094
  .e-rte-table-popup.e-popup-open .e-insert-table-btn {
@@ -1171,6 +1172,7 @@
1171
1172
 
1172
1173
  .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1173
1174
  white-space: nowrap;
1175
+ display: inline-block;
1174
1176
  }
1175
1177
 
1176
1178
  &.e-remove-white-space {
@@ -1194,7 +1196,7 @@
1194
1196
  }
1195
1197
 
1196
1198
  .e-toolbar-item {
1197
- margin: 0 6px;
1199
+ margin: $rte-toolbar-item-frist-last-child-margin;
1198
1200
  min-height: 42px;
1199
1201
 
1200
1202
  &:first-child,
@@ -1304,7 +1306,7 @@
1304
1306
 
1305
1307
  .e-toolbar-item:first-child,
1306
1308
  .e-toolbar-item:last-child {
1307
- margin: 0 6px;
1309
+ margin: $rte-big-toolbar-item-frist-last-child-margin;
1308
1310
  }
1309
1311
 
1310
1312
  .e-toolbar-item .e-tbar-btn.e-btn.e-control {
@@ -1611,12 +1613,12 @@
1611
1613
  }
1612
1614
 
1613
1615
  .e-bigger .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1614
- height: 16px;
1615
- width: 16px;
1616
+ height: $rte-big-tablecell-height;
1617
+ width: $rte-big-tablecell-width;
1616
1618
  }
1617
1619
 
1618
1620
  .e-bigger .e-rte-table-popup.e-popup-open .e-rte-table-row {
1619
- height: 18px;
1621
+ height: $rte-big-table-row-height;
1620
1622
  }
1621
1623
 
1622
1624
  .e-table-rhelper {
@@ -1729,7 +1731,7 @@
1729
1731
 
1730
1732
  .e-linkheader {
1731
1733
  font-family: $rte-font-family;
1732
- font-size: 15px;
1734
+ font-size: $rte-big-insert-dialog-font-size;
1733
1735
  opacity: .87;
1734
1736
  padding-bottom: $rte-insert-dialog-label-padding-bottom;
1735
1737
  padding-top: $rte-insert-dialog-label-padding-top;
@@ -1749,6 +1751,32 @@
1749
1751
  }
1750
1752
  }
1751
1753
 
1754
+ @if $skin-name == 'Material3' {
1755
+ .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn{
1756
+ border-color: $outline;
1757
+ }
1758
+ .e-dialog .e-dlg-header-content + .e-dlg-content{
1759
+ padding-top: 0;
1760
+ }
1761
+ .e-bigger .e-richtexteditor,
1762
+ .e-richtexteditor.e-bigger {
1763
+ .e-dialog {
1764
+ border-radius: 16px;
1765
+ }
1766
+ }
1767
+ .e-dialog .e-dlg-content{
1768
+ padding: 7px 20px;
1769
+ }
1770
+ .e-toolbar-wrapper .e-toolbar .e-toolbar-item:not(.e-separator),
1771
+ .e-bigger .e-toolbar .e-toolbar-item:not(.e-separator) {
1772
+ padding: 8px 4px;
1773
+ }
1774
+ .e-rte-quick-popup .e-rte-toolbar.e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child,
1775
+ .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:last-child {
1776
+ margin: 0;
1777
+ }
1778
+ }
1779
+
1752
1780
  // Blazor styles start
1753
1781
  .e-rte-upload-popup.e-dialog .e-file-select-wrap {
1754
1782
  display: none;
@@ -1829,5 +1857,9 @@
1829
1857
  .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
1830
1858
  margin: 1px;
1831
1859
  }
1860
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
1861
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
1862
+ visibility: hidden;
1863
+ }
1832
1864
  // Blazor styles end
1833
1865
  }
@@ -7,7 +7,6 @@ $rte-list-btn-flex: column !default;
7
7
  $rte-list-btn-line-height: 1 !default;
8
8
  $rte-split-btn-line-height: 25px !default;
9
9
  $rte-big-split-btn-line-height: 35px !default;
10
- $skin-name: 'material' !default;
11
10
  $rte-btn-color: rgba($grey-dark-font, .22) !default;
12
11
  $rte-border-color: $grey-700 !default;
13
12
  $rte-content-bg: $grey-dark !default;
@@ -15,6 +14,8 @@ $rte-full-screen-bg: $grey-dark !default;
15
14
  $rte-content-font-color: $grey-dark-font !default;
16
15
  $rte-item-color: $grey-dark-font !default;
17
16
  $rte-icons-color: $grey-dark-font !default;
17
+ $rte-tlbar-expand-active: $grey-dark-font !default;
18
+ $rte-hover-icons-color: $grey-dark-font !default;
18
19
  $rte-content-padding: 16px !default;
19
20
  $rte-table-popup-padding: 10px !default;
20
21
  $rte-toolbar-icon-size: 16px !default;
@@ -142,6 +143,7 @@ $rte-table-span-active-bg-color: rgba($accent, .2) !default;
142
143
  $rte-table-span-active-border-color: $accent !default;
143
144
  $rte-table-select-border-color: #0478d7 !default;
144
145
  $rte-table-popup-bg: $grey-800 !default;
146
+ $rte-table-resize-back-color: $grey-800 !default;
145
147
  $rte-table-popup-color: $grey-black !default;
146
148
  $rte-table-popup-box: 0 3px 8px 0 rgba($grey-black, .26) !default;
147
149
  $rte-table-border-color: rgba($grey-white, .5) !default;
@@ -189,6 +191,29 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
189
191
  $rte-big-table-dlg-max-height: 312px !default;
190
192
  $rte-big-edit-table-dlg-max-height: 385px !default;
191
193
  $rte-drop-text-width: 300px !default;
194
+ $rte-drop-text-height: 185px !default;
192
195
  $rte-drop-text-mobile-width: 250px !default;
193
196
 
197
+ $rte-tbar-default-bg: $grey-900;
198
+ $rte-droparea-line-height: 10;
199
+ $rte-droparea-browsebtn-height: 36px;
200
+ $rte-droparea-browsebtn-padding: 0 18px;
201
+ $rte-droparea-browsebtn-top: -50px;
202
+ $rte-insert-dialog-font-size: 15px;
203
+ $rte-big-insert-dialog-font-size: 15px;
204
+ $rte-table-popup-tablecell-height: 14px;
205
+ $rte-table-popup-tablecell-width: 14px;
206
+ $rte-table-popup-tablecell-margin: 1px;
207
+ $rte-table-popup-row-height : 16px;
208
+ $rte-border-top-left-radius: 0;
209
+ $rte-border-top-right-radius: 0;
210
+ $rte-border-bottom-right-radius: 0;
211
+ $rte-border-bottom-left-radius: 0;
212
+ $rte-big-border-radius: 0;
213
+ $rte-big-table-row-height : 18px;
214
+ $rte-big-tablecell-height : 16px;
215
+ $rte-big-tablecell-width : 16px;
216
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
217
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
218
+
194
219
  //enddefult
@@ -6,7 +6,6 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 25px !default;
8
8
  $rte-big-split-btn-line-height: 35px !default;
9
- $skin-name: 'material' !default;
10
9
  $rte-btn-color: rgba($grey-black, .87) !default;
11
10
  $rte-border-color: rgba($grey-black, .12) !default;
12
11
  $rte-content-bg: $grey-white !default;
@@ -14,6 +13,8 @@ $rte-full-screen-bg: $grey-white !default;
14
13
  $rte-content-font-color: #333 !default;
15
14
  $rte-item-color: $grey-black !default;
16
15
  $rte-icons-color: $grey-black !default;
16
+ $rte-tlbar-expand-active: $grey-black !default;
17
+ $rte-hover-icons-color: $grey-black !default;
17
18
  $rte-content-padding: 16px !default;
18
19
  $rte-table-popup-padding: 10px !default;
19
20
 
@@ -139,6 +140,7 @@ $rte-table-span-active-bg-color: rgba($accent, .2) !default;
139
140
  $rte-table-span-active-border-color: $accent !default;
140
141
  $rte-table-select-border-color: #0478d7 !default;
141
142
  $rte-table-popup-bg: $grey-white !default;
143
+ $rte-table-resize-back-color: $grey-white !default;
142
144
  $rte-table-popup-color: $grey-black !default;
143
145
  $rte-table-popup-box: 0 3px 8px 0 rgba($grey-black, .26) !default;
144
146
  $rte-table-border-color: #bdbdbd !default;
@@ -189,4 +191,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
189
191
  $rte-big-table-dlg-max-height: 312px !default;
190
192
  $rte-big-edit-table-dlg-max-height: 385px !default;
191
193
  $rte-drop-text-width: 300px !default;
194
+ $rte-drop-text-height: 185px !default;
192
195
  $rte-drop-text-mobile-width: 250px !default;
196
+ $rte-tbar-default-bg: $grey-50;
197
+ $rte-droparea-line-height: 10;
198
+ $rte-droparea-browsebtn-height: 36px;
199
+ $rte-droparea-browsebtn-padding: 0 18px;
200
+ $rte-droparea-browsebtn-top: -50px;
201
+ $rte-insert-dialog-font-size: 15px;
202
+ $rte-big-insert-dialog-font-size: 15px;
203
+ $rte-table-popup-tablecell-height: 14px;
204
+ $rte-table-popup-tablecell-width: 14px;
205
+ $rte-table-popup-tablecell-margin: 1px;
206
+ $rte-table-popup-row-height : 16px;
207
+ $rte-border-top-left-radius: 0;
208
+ $rte-border-top-right-radius: 0;
209
+ $rte-border-bottom-right-radius: 0;
210
+ $rte-border-bottom-left-radius: 0;
211
+ $rte-big-border-radius: 0;
212
+ $rte-big-table-row-height : 18px;
213
+ $rte-big-tablecell-height : 16px;
214
+ $rte-big-tablecell-width : 16px;
215
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
216
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;