File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
ui/components/rich-text-editor/base Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 116
116
* These are the overrides for both input and output from the RTE.
117
117
* We may need to add or adjust these later based on further input.
118
118
*/
119
+
120
+ .slds-rich-text-editor__textarea {
121
+
122
+ .ql-editor {
123
+ white-space : pre-wrap ;
124
+ word-wrap : break-word ;
125
+ user-select : text ;
126
+
127
+ .ql-blank :before {
128
+ color : #54698d ;
129
+ content : attr (data-placeholder );
130
+ pointer-events : none ;
131
+ position : absolute ;
132
+ }
133
+
134
+ a {
135
+ text-decoration : underline ;
136
+ }
137
+ }
138
+
139
+ .overflow-menu {
140
+ z-index : 2 ;
141
+ }
142
+
143
+ .ql-active {
144
+ background-color : rgb (238 ,241 ,246 );
145
+ }
146
+
147
+ .ql-clipboard {
148
+ position : absolute !important ;
149
+ margin : -1px !important ;
150
+ border : 0 !important ;
151
+ padding : 0 !important ;
152
+ width : 1px !important ;
153
+ height : 1px !important ;
154
+ overflow : hidden !important ;
155
+ clip : rect (0 0 0 0 ) !important ;
156
+ }
157
+ }
158
+
119
159
.slds-rich-text-editor__textarea ,
120
160
.slds-rich-text-editor__output {
121
161
line-height : $line-height-text ;
225
265
td {
226
266
padding : $spacing-x-small ;
227
267
}
268
+
269
+ .sans-serif {
270
+ font-family : sans-serif ;
271
+ }
272
+
273
+ .courier {
274
+ font-family : courier ;
275
+ }
276
+
277
+ .verdana {
278
+ font-family : verdana ;
279
+ }
280
+
281
+ .tahoma {
282
+ font-family : tahoma ;
283
+ }
284
+
285
+ .garamond {
286
+ font-family : garamond ;
287
+ }
288
+
289
+ .serif {
290
+ font-family : serif ;
291
+ }
228
292
}
You can’t perform that action at this time.
0 commit comments