@crystallize/design-system 1.4.1 → 1.4.3
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.css +319 -319
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -7
- package/src/rich-text-editor/rich-text-editor.css +1121 -1156
- package/src/rich-text-editor/rich-text-editor.tsx +1 -1
package/dist/index.css
CHANGED
|
@@ -2104,16 +2104,16 @@ button {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
2106
2106
|
/* src/rich-text-editor/rich-text-editor.css */
|
|
2107
|
-
.editor
|
|
2107
|
+
.c-rich-text-editor {
|
|
2108
2108
|
margin: 0px auto;
|
|
2109
2109
|
max-width: 1100px;
|
|
2110
2110
|
position: relative;
|
|
2111
2111
|
line-height: 1.7;
|
|
2112
2112
|
}
|
|
2113
|
-
.editor
|
|
2113
|
+
.c-rich-text-editor > * {
|
|
2114
2114
|
box-sizing: border-box;
|
|
2115
2115
|
}
|
|
2116
|
-
.editor
|
|
2116
|
+
.c-rich-text-editor {
|
|
2117
2117
|
font-family:
|
|
2118
2118
|
Roboto,
|
|
2119
2119
|
ui-sans-serif,
|
|
@@ -2134,7 +2134,7 @@ button {
|
|
|
2134
2134
|
--tw-text-opacity: 1;
|
|
2135
2135
|
color: rgb(var(--c-color-gray-900-50) / var(--tw-text-opacity));
|
|
2136
2136
|
}
|
|
2137
|
-
.editor
|
|
2137
|
+
.c-rich-text-editor .editor-container {
|
|
2138
2138
|
background: #fff;
|
|
2139
2139
|
position: relative;
|
|
2140
2140
|
cursor: text;
|
|
@@ -2142,11 +2142,113 @@ button {
|
|
|
2142
2142
|
border-bottom-left-radius: 0.375rem;
|
|
2143
2143
|
border-bottom-right-radius: 0.375rem;
|
|
2144
2144
|
}
|
|
2145
|
-
.editor
|
|
2145
|
+
.c-rich-text-editor .editor-container.plain-text {
|
|
2146
2146
|
border-top-left-radius: 0.375rem;
|
|
2147
2147
|
border-top-right-radius: 0.375rem;
|
|
2148
2148
|
}
|
|
2149
|
-
.editor-
|
|
2149
|
+
.c-rich-text-editor span.editor-image {
|
|
2150
|
+
cursor: default;
|
|
2151
|
+
display: inline-block;
|
|
2152
|
+
position: relative;
|
|
2153
|
+
user-select: none;
|
|
2154
|
+
}
|
|
2155
|
+
.c-rich-text-editor .editor-image img {
|
|
2156
|
+
max-width: 100%;
|
|
2157
|
+
cursor: default;
|
|
2158
|
+
}
|
|
2159
|
+
.c-rich-text-editor .editor-image img.focused {
|
|
2160
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
2161
|
+
user-select: none;
|
|
2162
|
+
}
|
|
2163
|
+
.c-rich-text-editor .editor-image img.focused.draggable {
|
|
2164
|
+
cursor: grab;
|
|
2165
|
+
}
|
|
2166
|
+
.c-rich-text-editor .editor-image img.focused.draggable:active {
|
|
2167
|
+
cursor: grabbing;
|
|
2168
|
+
}
|
|
2169
|
+
.c-rich-text-editor .editor-image .image-caption-container {
|
|
2170
|
+
display: block;
|
|
2171
|
+
position: absolute;
|
|
2172
|
+
bottom: 4px;
|
|
2173
|
+
left: 0;
|
|
2174
|
+
right: 0;
|
|
2175
|
+
padding: 0;
|
|
2176
|
+
margin: 0;
|
|
2177
|
+
border-top: 1px solid #fff;
|
|
2178
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
2179
|
+
min-width: 100px;
|
|
2180
|
+
color: #000;
|
|
2181
|
+
overflow: hidden;
|
|
2182
|
+
}
|
|
2183
|
+
.c-rich-text-editor .editor-image .image-caption-button {
|
|
2184
|
+
display: block;
|
|
2185
|
+
position: absolute;
|
|
2186
|
+
bottom: 20px;
|
|
2187
|
+
left: 0;
|
|
2188
|
+
right: 0;
|
|
2189
|
+
width: 30%;
|
|
2190
|
+
padding: 10px;
|
|
2191
|
+
margin: 0 auto;
|
|
2192
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
2193
|
+
border-radius: 5px;
|
|
2194
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
2195
|
+
min-width: 100px;
|
|
2196
|
+
color: #fff;
|
|
2197
|
+
cursor: pointer;
|
|
2198
|
+
user-select: none;
|
|
2199
|
+
}
|
|
2200
|
+
.c-rich-text-editor .editor-image .image-caption-button:hover {
|
|
2201
|
+
background-color: rgba(60, 132, 244, 0.5);
|
|
2202
|
+
}
|
|
2203
|
+
.c-rich-text-editor .editor-image .image-resizer {
|
|
2204
|
+
display: block;
|
|
2205
|
+
width: 7px;
|
|
2206
|
+
height: 7px;
|
|
2207
|
+
position: absolute;
|
|
2208
|
+
background-color: rgb(60, 132, 244);
|
|
2209
|
+
border: 1px solid #fff;
|
|
2210
|
+
}
|
|
2211
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-n {
|
|
2212
|
+
top: -6px;
|
|
2213
|
+
left: 48%;
|
|
2214
|
+
cursor: n-resize;
|
|
2215
|
+
}
|
|
2216
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-ne {
|
|
2217
|
+
top: -6px;
|
|
2218
|
+
right: -6px;
|
|
2219
|
+
cursor: ne-resize;
|
|
2220
|
+
}
|
|
2221
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-e {
|
|
2222
|
+
bottom: 48%;
|
|
2223
|
+
right: -6px;
|
|
2224
|
+
cursor: e-resize;
|
|
2225
|
+
}
|
|
2226
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-se {
|
|
2227
|
+
bottom: -2px;
|
|
2228
|
+
right: -6px;
|
|
2229
|
+
cursor: nwse-resize;
|
|
2230
|
+
}
|
|
2231
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-s {
|
|
2232
|
+
bottom: -2px;
|
|
2233
|
+
left: 48%;
|
|
2234
|
+
cursor: s-resize;
|
|
2235
|
+
}
|
|
2236
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-sw {
|
|
2237
|
+
bottom: -2px;
|
|
2238
|
+
left: -6px;
|
|
2239
|
+
cursor: sw-resize;
|
|
2240
|
+
}
|
|
2241
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-w {
|
|
2242
|
+
bottom: 48%;
|
|
2243
|
+
left: -6px;
|
|
2244
|
+
cursor: w-resize;
|
|
2245
|
+
}
|
|
2246
|
+
.c-rich-text-editor .editor-image .image-resizer.image-resizer-nw {
|
|
2247
|
+
top: -6px;
|
|
2248
|
+
left: -6px;
|
|
2249
|
+
cursor: nw-resize;
|
|
2250
|
+
}
|
|
2251
|
+
.c-rich-text-editor .editor-scroller {
|
|
2150
2252
|
min-height: 150px;
|
|
2151
2253
|
border: 0;
|
|
2152
2254
|
resize: none;
|
|
@@ -2156,15 +2258,15 @@ button {
|
|
|
2156
2258
|
outline: 0;
|
|
2157
2259
|
resize: vertical;
|
|
2158
2260
|
}
|
|
2159
|
-
.editor {
|
|
2261
|
+
.c-rich-text-editor .editor {
|
|
2160
2262
|
height: 100%;
|
|
2161
2263
|
position: relative;
|
|
2162
2264
|
}
|
|
2163
|
-
.test-recorder-output {
|
|
2265
|
+
.c-rich-text-editor .test-recorder-output {
|
|
2164
2266
|
margin: 20px auto 20px auto;
|
|
2165
2267
|
width: 100%;
|
|
2166
2268
|
}
|
|
2167
|
-
pre {
|
|
2269
|
+
.c-rich-text-editor pre {
|
|
2168
2270
|
line-height: 1.1;
|
|
2169
2271
|
color: #fff;
|
|
2170
2272
|
margin: 0;
|
|
@@ -2176,14 +2278,14 @@ pre {
|
|
|
2176
2278
|
font-size: 0.875rem;
|
|
2177
2279
|
line-height: 1.25rem;
|
|
2178
2280
|
}
|
|
2179
|
-
pre::-webkit-scrollbar {
|
|
2281
|
+
.c-rich-text-editor pre::-webkit-scrollbar {
|
|
2180
2282
|
background: transparent;
|
|
2181
2283
|
width: 10px;
|
|
2182
2284
|
}
|
|
2183
|
-
pre::-webkit-scrollbar-thumb {
|
|
2285
|
+
.c-rich-text-editor pre::-webkit-scrollbar-thumb {
|
|
2184
2286
|
background: #999;
|
|
2185
2287
|
}
|
|
2186
|
-
.editor-dev-button {
|
|
2288
|
+
.c-rich-text-editor .editor-dev-button {
|
|
2187
2289
|
position: relative;
|
|
2188
2290
|
display: block;
|
|
2189
2291
|
width: 40px;
|
|
@@ -2196,7 +2298,7 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2196
2298
|
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
|
|
2197
2299
|
background-color: #444;
|
|
2198
2300
|
}
|
|
2199
|
-
.editor-dev-button::after {
|
|
2301
|
+
.c-rich-text-editor .editor-dev-button::after {
|
|
2200
2302
|
content: "";
|
|
2201
2303
|
position: absolute;
|
|
2202
2304
|
top: 10px;
|
|
@@ -2207,16 +2309,16 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2207
2309
|
background-size: contain;
|
|
2208
2310
|
filter: invert(1);
|
|
2209
2311
|
}
|
|
2210
|
-
.editor-dev-button:hover {
|
|
2312
|
+
.c-rich-text-editor .editor-dev-button:hover {
|
|
2211
2313
|
background-color: #555;
|
|
2212
2314
|
}
|
|
2213
|
-
.editor-dev-button.active {
|
|
2315
|
+
.c-rich-text-editor .editor-dev-button.active {
|
|
2214
2316
|
background-color: rgb(233, 35, 35);
|
|
2215
2317
|
}
|
|
2216
|
-
.test-recorder-toolbar {
|
|
2318
|
+
.c-rich-text-editor .test-recorder-toolbar {
|
|
2217
2319
|
display: flex;
|
|
2218
2320
|
}
|
|
2219
|
-
.test-recorder-button {
|
|
2321
|
+
.c-rich-text-editor .test-recorder-button {
|
|
2220
2322
|
position: relative;
|
|
2221
2323
|
display: block;
|
|
2222
2324
|
width: 32px;
|
|
@@ -2231,13 +2333,13 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2231
2333
|
background-color: #222;
|
|
2232
2334
|
transition: box-shadow 50ms ease-out;
|
|
2233
2335
|
}
|
|
2234
|
-
.test-recorder-button:active {
|
|
2336
|
+
.c-rich-text-editor .test-recorder-button:active {
|
|
2235
2337
|
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
|
|
2236
2338
|
}
|
|
2237
|
-
.test-recorder-button + .test-recorder-button {
|
|
2339
|
+
.c-rich-text-editor .test-recorder-button + .test-recorder-button {
|
|
2238
2340
|
margin-left: 4px;
|
|
2239
2341
|
}
|
|
2240
|
-
.test-recorder-button::after {
|
|
2342
|
+
.c-rich-text-editor .test-recorder-button::after {
|
|
2241
2343
|
content: "";
|
|
2242
2344
|
position: absolute;
|
|
2243
2345
|
top: 8px;
|
|
@@ -2248,49 +2350,49 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2248
2350
|
background-size: contain;
|
|
2249
2351
|
filter: invert(1);
|
|
2250
2352
|
}
|
|
2251
|
-
#options-button {
|
|
2353
|
+
.c-rich-text-editor #options-button {
|
|
2252
2354
|
position: fixed;
|
|
2253
2355
|
left: 20px;
|
|
2254
2356
|
bottom: 20px;
|
|
2255
2357
|
}
|
|
2256
|
-
#test-recorder-button {
|
|
2358
|
+
.c-rich-text-editor #test-recorder-button {
|
|
2257
2359
|
position: fixed;
|
|
2258
2360
|
left: 70px;
|
|
2259
2361
|
bottom: 20px;
|
|
2260
2362
|
}
|
|
2261
|
-
#paste-log-button {
|
|
2363
|
+
.c-rich-text-editor #paste-log-button {
|
|
2262
2364
|
position: fixed;
|
|
2263
2365
|
left: 120px;
|
|
2264
2366
|
bottom: 20px;
|
|
2265
2367
|
}
|
|
2266
|
-
#options-button::after {
|
|
2368
|
+
.c-rich-text-editor #options-button::after {
|
|
2267
2369
|
background-image: url(./gear-ICMT4NTP.svg);
|
|
2268
2370
|
}
|
|
2269
|
-
#test-recorder-button::after {
|
|
2371
|
+
.c-rich-text-editor #test-recorder-button::after {
|
|
2270
2372
|
background-image: url(./journal-code-XUT44HDV.svg);
|
|
2271
2373
|
}
|
|
2272
|
-
#paste-log-button::after {
|
|
2374
|
+
.c-rich-text-editor #paste-log-button::after {
|
|
2273
2375
|
background-image: url(./clipboard-OSEFDF25.svg);
|
|
2274
2376
|
}
|
|
2275
|
-
#test-recorder-button-snapshot {
|
|
2377
|
+
.c-rich-text-editor #test-recorder-button-snapshot {
|
|
2276
2378
|
margin-right: auto;
|
|
2277
2379
|
}
|
|
2278
|
-
#test-recorder-button-snapshot::after {
|
|
2380
|
+
.c-rich-text-editor #test-recorder-button-snapshot::after {
|
|
2279
2381
|
background-image: url(./camera-CR7D2PNH.svg);
|
|
2280
2382
|
}
|
|
2281
|
-
#test-recorder-button-copy::after {
|
|
2383
|
+
.c-rich-text-editor #test-recorder-button-copy::after {
|
|
2282
2384
|
background-image: url(./clipboard-OSEFDF25.svg);
|
|
2283
2385
|
}
|
|
2284
|
-
#test-recorder-button-download::after {
|
|
2386
|
+
.c-rich-text-editor #test-recorder-button-download::after {
|
|
2285
2387
|
background-image: url(./download-JXUGIUCX.svg);
|
|
2286
2388
|
}
|
|
2287
|
-
.typeahead-popover {
|
|
2389
|
+
.c-rich-text-editor .typeahead-popover {
|
|
2288
2390
|
background: #fff;
|
|
2289
2391
|
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
|
|
2290
2392
|
border-radius: 8px;
|
|
2291
2393
|
margin-top: 25px;
|
|
2292
2394
|
}
|
|
2293
|
-
.typeahead-popover ul {
|
|
2395
|
+
.c-rich-text-editor .typeahead-popover ul {
|
|
2294
2396
|
padding: 0;
|
|
2295
2397
|
list-style: none;
|
|
2296
2398
|
margin: 0;
|
|
@@ -2298,14 +2400,14 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2298
2400
|
max-height: 200px;
|
|
2299
2401
|
overflow-y: scroll;
|
|
2300
2402
|
}
|
|
2301
|
-
.typeahead-popover ul::-webkit-scrollbar {
|
|
2403
|
+
.c-rich-text-editor .typeahead-popover ul::-webkit-scrollbar {
|
|
2302
2404
|
display: none;
|
|
2303
2405
|
}
|
|
2304
|
-
.typeahead-popover ul {
|
|
2406
|
+
.c-rich-text-editor .typeahead-popover ul {
|
|
2305
2407
|
-ms-overflow-style: none;
|
|
2306
2408
|
scrollbar-width: none;
|
|
2307
2409
|
}
|
|
2308
|
-
.typeahead-popover ul li {
|
|
2410
|
+
.c-rich-text-editor .typeahead-popover ul li {
|
|
2309
2411
|
margin: 0;
|
|
2310
2412
|
min-width: 180px;
|
|
2311
2413
|
font-size: 14px;
|
|
@@ -2313,10 +2415,10 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2313
2415
|
cursor: pointer;
|
|
2314
2416
|
border-radius: 8px;
|
|
2315
2417
|
}
|
|
2316
|
-
.typeahead-popover ul li.selected {
|
|
2418
|
+
.c-rich-text-editor .typeahead-popover ul li.selected {
|
|
2317
2419
|
background: #eee;
|
|
2318
2420
|
}
|
|
2319
|
-
.typeahead-popover li {
|
|
2421
|
+
.c-rich-text-editor .typeahead-popover li {
|
|
2320
2422
|
margin: 0 8px 0 8px;
|
|
2321
2423
|
padding: 8px;
|
|
2322
2424
|
color: #050505;
|
|
@@ -2331,28 +2433,28 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2331
2433
|
border-radius: 8px;
|
|
2332
2434
|
border: 0;
|
|
2333
2435
|
}
|
|
2334
|
-
.typeahead-popover li.active {
|
|
2436
|
+
.c-rich-text-editor .typeahead-popover li.active {
|
|
2335
2437
|
display: flex;
|
|
2336
2438
|
width: 20px;
|
|
2337
2439
|
height: 20px;
|
|
2338
2440
|
background-size: contain;
|
|
2339
2441
|
}
|
|
2340
|
-
.typeahead-popover li:first-child {
|
|
2442
|
+
.c-rich-text-editor .typeahead-popover li:first-child {
|
|
2341
2443
|
border-radius: 8px 8px 0px 0px;
|
|
2342
2444
|
}
|
|
2343
|
-
.typeahead-popover li:last-child {
|
|
2445
|
+
.c-rich-text-editor .typeahead-popover li:last-child {
|
|
2344
2446
|
border-radius: 0px 0px 8px 8px;
|
|
2345
2447
|
}
|
|
2346
|
-
.typeahead-popover li:hover {
|
|
2448
|
+
.c-rich-text-editor .typeahead-popover li:hover {
|
|
2347
2449
|
background-color: #eee;
|
|
2348
2450
|
}
|
|
2349
|
-
.typeahead-popover li .text {
|
|
2451
|
+
.c-rich-text-editor .typeahead-popover li .text {
|
|
2350
2452
|
display: flex;
|
|
2351
2453
|
line-height: 20px;
|
|
2352
2454
|
flex-grow: 1;
|
|
2353
2455
|
min-width: 150px;
|
|
2354
2456
|
}
|
|
2355
|
-
.typeahead-popover li .icon {
|
|
2457
|
+
.c-rich-text-editor .typeahead-popover li .icon {
|
|
2356
2458
|
display: flex;
|
|
2357
2459
|
width: 20px;
|
|
2358
2460
|
height: 20px;
|
|
@@ -2363,145 +2465,145 @@ pre::-webkit-scrollbar-thumb {
|
|
|
2363
2465
|
background-repeat: no-repeat;
|
|
2364
2466
|
background-position: center;
|
|
2365
2467
|
}
|
|
2366
|
-
.component-picker-menu {
|
|
2468
|
+
.c-rich-text-editor .component-picker-menu {
|
|
2367
2469
|
width: 200px;
|
|
2368
2470
|
}
|
|
2369
|
-
.auto-embed-menu {
|
|
2471
|
+
.c-rich-text-editor .auto-embed-menu {
|
|
2370
2472
|
width: 150px;
|
|
2371
2473
|
}
|
|
2372
|
-
i.palette {
|
|
2474
|
+
.c-rich-text-editor i.palette {
|
|
2373
2475
|
background-image: url(./palette-SWGFPRWZ.svg);
|
|
2374
2476
|
}
|
|
2375
|
-
i.bucket {
|
|
2477
|
+
.c-rich-text-editor i.bucket {
|
|
2376
2478
|
background-image: url(./paint-bucket-VCISMZTH.svg);
|
|
2377
2479
|
}
|
|
2378
|
-
i.bold {
|
|
2480
|
+
.c-rich-text-editor i.bold {
|
|
2379
2481
|
background-image: url(./type-bold-PY7COC3N.svg);
|
|
2380
2482
|
}
|
|
2381
|
-
i.italic {
|
|
2483
|
+
.c-rich-text-editor i.italic {
|
|
2382
2484
|
background-image: url(./type-italic-3DSFOSG2.svg);
|
|
2383
2485
|
}
|
|
2384
|
-
i.clear {
|
|
2486
|
+
.c-rich-text-editor i.clear {
|
|
2385
2487
|
background-image: url(./trash-UOM6D7TD.svg);
|
|
2386
2488
|
}
|
|
2387
|
-
i.code {
|
|
2489
|
+
.c-rich-text-editor i.code {
|
|
2388
2490
|
background-image: url(./code-SEVR6TIQ.svg);
|
|
2389
2491
|
}
|
|
2390
|
-
i.underline {
|
|
2492
|
+
.c-rich-text-editor i.underline {
|
|
2391
2493
|
background-image: url(./type-underline-CBFA5VLF.svg);
|
|
2392
2494
|
}
|
|
2393
|
-
i.strikethrough {
|
|
2495
|
+
.c-rich-text-editor i.strikethrough {
|
|
2394
2496
|
background-image: url(./type-strikethrough-E2KKQFSX.svg);
|
|
2395
2497
|
}
|
|
2396
|
-
i.subscript {
|
|
2498
|
+
.c-rich-text-editor i.subscript {
|
|
2397
2499
|
background-image: url(./type-subscript-BMPTRIBU.svg);
|
|
2398
2500
|
}
|
|
2399
|
-
i.superscript {
|
|
2501
|
+
.c-rich-text-editor i.superscript {
|
|
2400
2502
|
background-image: url(./type-superscript-EDF6EPAA.svg);
|
|
2401
2503
|
}
|
|
2402
|
-
i.link {
|
|
2504
|
+
.c-rich-text-editor i.link {
|
|
2403
2505
|
background-image: url(./link-W52N4JKZ.svg);
|
|
2404
2506
|
}
|
|
2405
|
-
i.horizontal-rule {
|
|
2507
|
+
.c-rich-text-editor i.horizontal-rule {
|
|
2406
2508
|
background-image: url(./horizontal-rule-N6RD2V7H.svg);
|
|
2407
2509
|
}
|
|
2408
|
-
.icon.plus {
|
|
2510
|
+
.c-rich-text-editor .icon.plus {
|
|
2409
2511
|
background-image: url(./plus-CQISIKEC.svg);
|
|
2410
2512
|
}
|
|
2411
|
-
.icon.caret-right {
|
|
2513
|
+
.c-rich-text-editor .icon.caret-right {
|
|
2412
2514
|
background-image: url(./caret-right-fill-FFBNEXVX.svg);
|
|
2413
2515
|
}
|
|
2414
|
-
.icon.dropdown-more {
|
|
2516
|
+
.c-rich-text-editor .icon.dropdown-more {
|
|
2415
2517
|
background-image: url(./dropdown-more-BHZ5COKX.svg);
|
|
2416
2518
|
}
|
|
2417
|
-
.icon.font-color {
|
|
2519
|
+
.c-rich-text-editor .icon.font-color {
|
|
2418
2520
|
background-image: url(./font-color-J4GA3ZJO.svg);
|
|
2419
2521
|
}
|
|
2420
|
-
.icon.font-family {
|
|
2522
|
+
.c-rich-text-editor .icon.font-family {
|
|
2421
2523
|
background-image: url(./font-family-ZU5N6TTE.svg);
|
|
2422
2524
|
}
|
|
2423
|
-
.icon.bg-color {
|
|
2525
|
+
.c-rich-text-editor .icon.bg-color {
|
|
2424
2526
|
background-image: url(./bg-color-HB2WDYGO.svg);
|
|
2425
2527
|
}
|
|
2426
|
-
i.image {
|
|
2528
|
+
.c-rich-text-editor i.image {
|
|
2427
2529
|
background-image: url(./file-image-TIQPFJX4.svg);
|
|
2428
2530
|
}
|
|
2429
|
-
i.table {
|
|
2531
|
+
.c-rich-text-editor i.table {
|
|
2430
2532
|
background-image: url(./table-BR6DI4ZQ.svg);
|
|
2431
2533
|
}
|
|
2432
|
-
i.close {
|
|
2534
|
+
.c-rich-text-editor i.close {
|
|
2433
2535
|
background-image: url(./close-FH57ZMJF.svg);
|
|
2434
2536
|
}
|
|
2435
|
-
.icon.left-align,
|
|
2436
|
-
i.left-align {
|
|
2537
|
+
.c-rich-text-editor .icon.left-align,
|
|
2538
|
+
.c-rich-text-editor i.left-align {
|
|
2437
2539
|
background-image: url(./text-left-KT2B6TR3.svg);
|
|
2438
2540
|
}
|
|
2439
|
-
i.center-align {
|
|
2541
|
+
.c-rich-text-editor i.center-align {
|
|
2440
2542
|
background-image: url(./text-center-UQI6PAEF.svg);
|
|
2441
2543
|
}
|
|
2442
|
-
i.right-align {
|
|
2544
|
+
.c-rich-text-editor i.right-align {
|
|
2443
2545
|
background-image: url(./text-right-SKELPISG.svg);
|
|
2444
2546
|
}
|
|
2445
|
-
i.justify-align {
|
|
2547
|
+
.c-rich-text-editor i.justify-align {
|
|
2446
2548
|
background-image: url(./justify-J7X5JEEX.svg);
|
|
2447
2549
|
}
|
|
2448
|
-
i.indent {
|
|
2550
|
+
.c-rich-text-editor i.indent {
|
|
2449
2551
|
background-image: url(./indent-MJ6JIMCK.svg);
|
|
2450
2552
|
}
|
|
2451
|
-
i.markdown {
|
|
2553
|
+
.c-rich-text-editor i.markdown {
|
|
2452
2554
|
background-image: url(./markdown-4BGQNLLT.svg);
|
|
2453
2555
|
}
|
|
2454
|
-
i.outdent {
|
|
2556
|
+
.c-rich-text-editor i.outdent {
|
|
2455
2557
|
background-image: url(./outdent-2LUMUMIP.svg);
|
|
2456
2558
|
}
|
|
2457
|
-
i.undo {
|
|
2559
|
+
.c-rich-text-editor i.undo {
|
|
2458
2560
|
background-image: url(./arrow-counterclockwise-2O5EYVJT.svg);
|
|
2459
2561
|
}
|
|
2460
|
-
i.redo {
|
|
2562
|
+
.c-rich-text-editor i.redo {
|
|
2461
2563
|
background-image: url(./arrow-clockwise-Z2G6UEGP.svg);
|
|
2462
2564
|
}
|
|
2463
|
-
i.mic {
|
|
2565
|
+
.c-rich-text-editor i.mic {
|
|
2464
2566
|
background-image: url(./mic-H5FNOMM7.svg);
|
|
2465
2567
|
}
|
|
2466
|
-
i.import {
|
|
2568
|
+
.c-rich-text-editor i.import {
|
|
2467
2569
|
background-image: url(./upload-Q6KICGZW.svg);
|
|
2468
2570
|
}
|
|
2469
|
-
i.export {
|
|
2571
|
+
.c-rich-text-editor i.export {
|
|
2470
2572
|
background-image: url(./download-JXUGIUCX.svg);
|
|
2471
2573
|
}
|
|
2472
|
-
i.diagram-2 {
|
|
2574
|
+
.c-rich-text-editor i.diagram-2 {
|
|
2473
2575
|
background-image: url(./diagram-2-CEJUD2B4.svg);
|
|
2474
2576
|
}
|
|
2475
|
-
i.user {
|
|
2577
|
+
.c-rich-text-editor i.user {
|
|
2476
2578
|
background-image: url(./user-EOI2NEFZ.svg);
|
|
2477
2579
|
}
|
|
2478
|
-
i.equation {
|
|
2580
|
+
.c-rich-text-editor i.equation {
|
|
2479
2581
|
background-image: url(./plus-slash-minus-N22JU4TI.svg);
|
|
2480
2582
|
}
|
|
2481
|
-
i.gif {
|
|
2583
|
+
.c-rich-text-editor i.gif {
|
|
2482
2584
|
background-image: url(./filetype-gif-OG2BEYYK.svg);
|
|
2483
2585
|
}
|
|
2484
|
-
i.copy {
|
|
2586
|
+
.c-rich-text-editor i.copy {
|
|
2485
2587
|
background-image: url(./copy-DMGDODUL.svg);
|
|
2486
2588
|
}
|
|
2487
|
-
i.success {
|
|
2589
|
+
.c-rich-text-editor i.success {
|
|
2488
2590
|
background-image: url(./success-YVXUMPEZ.svg);
|
|
2489
2591
|
}
|
|
2490
|
-
i.prettier {
|
|
2592
|
+
.c-rich-text-editor i.prettier {
|
|
2491
2593
|
background-image: url(./prettier-WUJ7B5NV.svg);
|
|
2492
2594
|
}
|
|
2493
|
-
i.prettier-error {
|
|
2595
|
+
.c-rich-text-editor i.prettier-error {
|
|
2494
2596
|
background-image: url(./prettier-error-DYJSLYDP.svg);
|
|
2495
2597
|
}
|
|
2496
|
-
.link-editor {
|
|
2598
|
+
.c-rich-text-editor .link-editor {
|
|
2497
2599
|
box-sizing: border-box;
|
|
2498
2600
|
}
|
|
2499
|
-
.link-editor .button.active,
|
|
2500
|
-
.toolbar .button.active {
|
|
2601
|
+
.c-rich-text-editor .link-editor .button.active,
|
|
2602
|
+
.c-rich-text-editor .toolbar .button.active {
|
|
2501
2603
|
--tw-bg-opacity: 1;
|
|
2502
2604
|
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
|
|
2503
2605
|
}
|
|
2504
|
-
.link-editor {
|
|
2606
|
+
.c-rich-text-editor .link-editor {
|
|
2505
2607
|
border-radius: 0.5rem !important;
|
|
2506
2608
|
border-width: 1px;
|
|
2507
2609
|
border-style: solid;
|
|
@@ -2514,7 +2616,7 @@ i.prettier-error {
|
|
|
2514
2616
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
2515
2617
|
var(--tw-shadow) !important;
|
|
2516
2618
|
}
|
|
2517
|
-
.link-editor .link-input {
|
|
2619
|
+
.c-rich-text-editor .link-editor .link-input {
|
|
2518
2620
|
width: 100%;
|
|
2519
2621
|
box-sizing: border-box;
|
|
2520
2622
|
margin: 8px 0;
|
|
@@ -2530,7 +2632,7 @@ i.prettier-error {
|
|
|
2530
2632
|
--tw-text-opacity: 1;
|
|
2531
2633
|
color: rgb(var(--c-color-s-blue-600-300) / var(--tw-text-opacity));
|
|
2532
2634
|
}
|
|
2533
|
-
.link-editor div.link-edit {
|
|
2635
|
+
.c-rich-text-editor .link-editor div.link-edit {
|
|
2534
2636
|
background-image: url(./pencil-fill-STFSC26F.svg);
|
|
2535
2637
|
background-size: 12px;
|
|
2536
2638
|
background-position: center;
|
|
@@ -2543,10 +2645,10 @@ i.prettier-error {
|
|
|
2543
2645
|
bottom: 0;
|
|
2544
2646
|
cursor: pointer;
|
|
2545
2647
|
}
|
|
2546
|
-
.link-editor .link-input {
|
|
2648
|
+
.c-rich-text-editor .link-editor .link-input {
|
|
2547
2649
|
box-sizing: border-box;
|
|
2548
2650
|
}
|
|
2549
|
-
.link-editor .link-input a {
|
|
2651
|
+
.c-rich-text-editor .link-editor .link-input a {
|
|
2550
2652
|
color: rgb(33, 111, 219);
|
|
2551
2653
|
text-decoration: none;
|
|
2552
2654
|
display: block;
|
|
@@ -2556,21 +2658,21 @@ i.prettier-error {
|
|
|
2556
2658
|
--tw-text-opacity: 1;
|
|
2557
2659
|
color: rgb(var(--c-color-s-blue-600-300) / var(--tw-text-opacity));
|
|
2558
2660
|
}
|
|
2559
|
-
.link-editor .link-input a:hover {
|
|
2661
|
+
.c-rich-text-editor .link-editor .link-input a:hover {
|
|
2560
2662
|
text-decoration: underline;
|
|
2561
2663
|
}
|
|
2562
|
-
.link-editor .font-size-wrapper,
|
|
2563
|
-
.link-editor .font-family-wrapper {
|
|
2664
|
+
.c-rich-text-editor .link-editor .font-size-wrapper,
|
|
2665
|
+
.c-rich-text-editor .link-editor .font-family-wrapper {
|
|
2564
2666
|
display: flex;
|
|
2565
2667
|
margin: 0 4px;
|
|
2566
2668
|
}
|
|
2567
|
-
.link-editor select {
|
|
2669
|
+
.c-rich-text-editor .link-editor select {
|
|
2568
2670
|
padding: 6px;
|
|
2569
2671
|
border: none;
|
|
2570
2672
|
background-color: rgba(0, 0, 0, 0.075);
|
|
2571
2673
|
border-radius: 4px;
|
|
2572
2674
|
}
|
|
2573
|
-
#block-controls {
|
|
2675
|
+
.c-rich-text-editor #block-controls {
|
|
2574
2676
|
display: block;
|
|
2575
2677
|
position: absolute;
|
|
2576
2678
|
right: 10px;
|
|
@@ -2584,7 +2686,7 @@ i.prettier-error {
|
|
|
2584
2686
|
border: 1px solid rgb(206, 208, 212);
|
|
2585
2687
|
overflow: hidden;
|
|
2586
2688
|
}
|
|
2587
|
-
#block-controls button {
|
|
2689
|
+
.c-rich-text-editor #block-controls button {
|
|
2588
2690
|
border: 1px solid white;
|
|
2589
2691
|
background-color: #fff;
|
|
2590
2692
|
display: block;
|
|
@@ -2594,41 +2696,41 @@ i.prettier-error {
|
|
|
2594
2696
|
border-radius: 8px;
|
|
2595
2697
|
padding: 3px;
|
|
2596
2698
|
}
|
|
2597
|
-
#block-controls button:hover {
|
|
2699
|
+
.c-rich-text-editor #block-controls button:hover {
|
|
2598
2700
|
background-color: #efefef;
|
|
2599
2701
|
}
|
|
2600
|
-
#block-controls button:focus-visible {
|
|
2702
|
+
.c-rich-text-editor #block-controls button:focus-visible {
|
|
2601
2703
|
border-color: blue;
|
|
2602
2704
|
}
|
|
2603
|
-
#block-controls span.block-type {
|
|
2705
|
+
.c-rich-text-editor #block-controls span.block-type {
|
|
2604
2706
|
background-size: contain;
|
|
2605
2707
|
display: block;
|
|
2606
2708
|
width: 18px;
|
|
2607
2709
|
height: 18px;
|
|
2608
2710
|
margin: 2px;
|
|
2609
2711
|
}
|
|
2610
|
-
#block-controls span.block-type.paragraph {
|
|
2712
|
+
.c-rich-text-editor #block-controls span.block-type.paragraph {
|
|
2611
2713
|
background-image: url(./text-paragraph-MFTUIIQG.svg);
|
|
2612
2714
|
}
|
|
2613
|
-
#block-controls span.block-type.h1 {
|
|
2715
|
+
.c-rich-text-editor #block-controls span.block-type.h1 {
|
|
2614
2716
|
background-image: url(./type-h1-6KJP7YOM.svg);
|
|
2615
2717
|
}
|
|
2616
|
-
#block-controls span.block-type.h2 {
|
|
2718
|
+
.c-rich-text-editor #block-controls span.block-type.h2 {
|
|
2617
2719
|
background-image: url(./type-h2-VHI2USC3.svg);
|
|
2618
2720
|
}
|
|
2619
|
-
#block-controls span.block-type.quote {
|
|
2721
|
+
.c-rich-text-editor #block-controls span.block-type.quote {
|
|
2620
2722
|
background-image: url(./chat-square-quote-CI6PUJHH.svg);
|
|
2621
2723
|
}
|
|
2622
|
-
#block-controls span.block-type.ul {
|
|
2724
|
+
.c-rich-text-editor #block-controls span.block-type.ul {
|
|
2623
2725
|
background-image: url(./list-ul-DVKNUP47.svg);
|
|
2624
2726
|
}
|
|
2625
|
-
#block-controls span.block-type.ol {
|
|
2727
|
+
.c-rich-text-editor #block-controls span.block-type.ol {
|
|
2626
2728
|
background-image: url(./list-ol-2ZEUN4Z7.svg);
|
|
2627
2729
|
}
|
|
2628
|
-
#block-controls span.block-type.code {
|
|
2730
|
+
.c-rich-text-editor #block-controls span.block-type.code {
|
|
2629
2731
|
background-image: url(./code-SEVR6TIQ.svg);
|
|
2630
2732
|
}
|
|
2631
|
-
.characters-limit {
|
|
2733
|
+
.c-rich-text-editor .characters-limit {
|
|
2632
2734
|
color: #888;
|
|
2633
2735
|
font-size: 12px;
|
|
2634
2736
|
text-align: right;
|
|
@@ -2637,10 +2739,10 @@ i.prettier-error {
|
|
|
2637
2739
|
left: 12px;
|
|
2638
2740
|
bottom: 5px;
|
|
2639
2741
|
}
|
|
2640
|
-
.characters-limit.characters-limit-exceeded {
|
|
2742
|
+
.c-rich-text-editor .characters-limit.characters-limit-exceeded {
|
|
2641
2743
|
color: red;
|
|
2642
2744
|
}
|
|
2643
|
-
.dropdown {
|
|
2745
|
+
.c-rich-text-editor .dropdown {
|
|
2644
2746
|
z-index: 10;
|
|
2645
2747
|
display: block;
|
|
2646
2748
|
position: fixed;
|
|
@@ -2652,7 +2754,7 @@ i.prettier-error {
|
|
|
2652
2754
|
min-height: 40px;
|
|
2653
2755
|
background-color: #fff;
|
|
2654
2756
|
}
|
|
2655
|
-
.dropdown .item {
|
|
2757
|
+
.c-rich-text-editor .dropdown .item {
|
|
2656
2758
|
margin: 0 8px 0 8px;
|
|
2657
2759
|
padding: 8px;
|
|
2658
2760
|
color: #050505;
|
|
@@ -2670,32 +2772,32 @@ i.prettier-error {
|
|
|
2670
2772
|
max-width: 250px;
|
|
2671
2773
|
min-width: 100px;
|
|
2672
2774
|
}
|
|
2673
|
-
.dropdown .item.fontsize-item,
|
|
2674
|
-
.dropdown .item.fontsize-item .text {
|
|
2775
|
+
.c-rich-text-editor .dropdown .item.fontsize-item,
|
|
2776
|
+
.c-rich-text-editor .dropdown .item.fontsize-item .text {
|
|
2675
2777
|
min-width: unset;
|
|
2676
2778
|
}
|
|
2677
|
-
.dropdown .item .active {
|
|
2779
|
+
.c-rich-text-editor .dropdown .item .active {
|
|
2678
2780
|
display: flex;
|
|
2679
2781
|
width: 20px;
|
|
2680
2782
|
height: 20px;
|
|
2681
2783
|
background-size: contain;
|
|
2682
2784
|
}
|
|
2683
|
-
.dropdown .item:first-child {
|
|
2785
|
+
.c-rich-text-editor .dropdown .item:first-child {
|
|
2684
2786
|
margin-top: 8px;
|
|
2685
2787
|
}
|
|
2686
|
-
.dropdown .item:last-child {
|
|
2788
|
+
.c-rich-text-editor .dropdown .item:last-child {
|
|
2687
2789
|
margin-bottom: 8px;
|
|
2688
2790
|
}
|
|
2689
|
-
.dropdown .item:hover {
|
|
2791
|
+
.c-rich-text-editor .dropdown .item:hover {
|
|
2690
2792
|
background-color: #eee;
|
|
2691
2793
|
}
|
|
2692
|
-
.dropdown .item .text {
|
|
2794
|
+
.c-rich-text-editor .dropdown .item .text {
|
|
2693
2795
|
display: flex;
|
|
2694
2796
|
line-height: 20px;
|
|
2695
2797
|
flex-grow: 1;
|
|
2696
2798
|
min-width: 150px;
|
|
2697
2799
|
}
|
|
2698
|
-
.dropdown .item .icon {
|
|
2800
|
+
.c-rich-text-editor .dropdown .item .icon {
|
|
2699
2801
|
display: flex;
|
|
2700
2802
|
width: 20px;
|
|
2701
2803
|
height: 20px;
|
|
@@ -2706,63 +2808,63 @@ i.prettier-error {
|
|
|
2706
2808
|
background-position: center;
|
|
2707
2809
|
background-repeat: no-repeat;
|
|
2708
2810
|
}
|
|
2709
|
-
.dropdown .divider {
|
|
2811
|
+
.c-rich-text-editor .dropdown .divider {
|
|
2710
2812
|
width: auto;
|
|
2711
2813
|
background-color: #eee;
|
|
2712
2814
|
margin: 4px 8px;
|
|
2713
2815
|
height: 1px;
|
|
2714
2816
|
}
|
|
2715
2817
|
@media screen and (max-width: 1100px) {
|
|
2716
|
-
.dropdown-button-text {
|
|
2818
|
+
.c-rich-text-editor .dropdown-button-text {
|
|
2717
2819
|
display: none !important;
|
|
2718
2820
|
}
|
|
2719
|
-
.font-size .dropdown-button-text {
|
|
2821
|
+
.c-rich-text-editor .font-size .dropdown-button-text {
|
|
2720
2822
|
display: flex !important;
|
|
2721
2823
|
}
|
|
2722
|
-
.code-language .dropdown-button-text {
|
|
2824
|
+
.c-rich-text-editor .code-language .dropdown-button-text {
|
|
2723
2825
|
display: flex !important;
|
|
2724
2826
|
}
|
|
2725
2827
|
}
|
|
2726
|
-
.icon.paragraph {
|
|
2828
|
+
.c-rich-text-editor .icon.paragraph {
|
|
2727
2829
|
background-image: url(./text-paragraph-MFTUIIQG.svg);
|
|
2728
2830
|
}
|
|
2729
|
-
.icon.h1 {
|
|
2831
|
+
.c-rich-text-editor .icon.h1 {
|
|
2730
2832
|
background-image: url(./type-h1-6KJP7YOM.svg);
|
|
2731
2833
|
}
|
|
2732
|
-
.icon.h2 {
|
|
2834
|
+
.c-rich-text-editor .icon.h2 {
|
|
2733
2835
|
background-image: url(./type-h2-VHI2USC3.svg);
|
|
2734
2836
|
}
|
|
2735
|
-
.icon.h3 {
|
|
2837
|
+
.c-rich-text-editor .icon.h3 {
|
|
2736
2838
|
background-image: url(./type-h3-JIU77CHO.svg);
|
|
2737
2839
|
}
|
|
2738
|
-
.icon.h4 {
|
|
2840
|
+
.c-rich-text-editor .icon.h4 {
|
|
2739
2841
|
background-image: url(./type-h4-P5EHKDAL.svg);
|
|
2740
2842
|
}
|
|
2741
|
-
.icon.h5 {
|
|
2843
|
+
.c-rich-text-editor .icon.h5 {
|
|
2742
2844
|
background-image: url(./type-h5-CS2KYVRG.svg);
|
|
2743
2845
|
}
|
|
2744
|
-
.icon.h6 {
|
|
2846
|
+
.c-rich-text-editor .icon.h6 {
|
|
2745
2847
|
background-image: url(./type-h6-J2O74LJZ.svg);
|
|
2746
2848
|
}
|
|
2747
|
-
.icon.bullet-list,
|
|
2748
|
-
.icon.bullet {
|
|
2849
|
+
.c-rich-text-editor .icon.bullet-list,
|
|
2850
|
+
.c-rich-text-editor .icon.bullet {
|
|
2749
2851
|
background-image: url(./list-ul-DVKNUP47.svg);
|
|
2750
2852
|
}
|
|
2751
|
-
.icon.check-list,
|
|
2752
|
-
.icon.check {
|
|
2853
|
+
.c-rich-text-editor .icon.check-list,
|
|
2854
|
+
.c-rich-text-editor .icon.check {
|
|
2753
2855
|
background-image: url(./square-check-UTG6FU6D.svg);
|
|
2754
2856
|
}
|
|
2755
|
-
.icon.numbered-list,
|
|
2756
|
-
.icon.number {
|
|
2857
|
+
.c-rich-text-editor .icon.numbered-list,
|
|
2858
|
+
.c-rich-text-editor .icon.number {
|
|
2757
2859
|
background-image: url(./list-ol-2ZEUN4Z7.svg);
|
|
2758
2860
|
}
|
|
2759
|
-
.icon.quote {
|
|
2861
|
+
.c-rich-text-editor .icon.quote {
|
|
2760
2862
|
background-image: url(./chat-square-quote-CI6PUJHH.svg);
|
|
2761
2863
|
}
|
|
2762
|
-
.icon.code {
|
|
2864
|
+
.c-rich-text-editor .icon.code {
|
|
2763
2865
|
background-image: url(./code-SEVR6TIQ.svg);
|
|
2764
2866
|
}
|
|
2765
|
-
.switches {
|
|
2867
|
+
.c-rich-text-editor .switches {
|
|
2766
2868
|
z-index: 6;
|
|
2767
2869
|
position: fixed;
|
|
2768
2870
|
left: 10px;
|
|
@@ -2779,7 +2881,7 @@ i.prettier-error {
|
|
|
2779
2881
|
transform: translateX(0);
|
|
2780
2882
|
}
|
|
2781
2883
|
}
|
|
2782
|
-
.switch {
|
|
2884
|
+
.c-rich-text-editor .switch {
|
|
2783
2885
|
display: block;
|
|
2784
2886
|
color: #444;
|
|
2785
2887
|
margin: 5px 0;
|
|
@@ -2787,13 +2889,13 @@ i.prettier-error {
|
|
|
2787
2889
|
padding: 5px 10px;
|
|
2788
2890
|
border-radius: 10px;
|
|
2789
2891
|
}
|
|
2790
|
-
#rich-text-switch {
|
|
2892
|
+
.c-rich-text-editor #rich-text-switch {
|
|
2791
2893
|
right: 0;
|
|
2792
2894
|
}
|
|
2793
|
-
#character-count-switch {
|
|
2895
|
+
.c-rich-text-editor #character-count-switch {
|
|
2794
2896
|
right: 130px;
|
|
2795
2897
|
}
|
|
2796
|
-
.switch label {
|
|
2898
|
+
.c-rich-text-editor .switch label {
|
|
2797
2899
|
margin-right: 5px;
|
|
2798
2900
|
line-height: 24px;
|
|
2799
2901
|
width: 100px;
|
|
@@ -2801,7 +2903,7 @@ i.prettier-error {
|
|
|
2801
2903
|
display: inline-block;
|
|
2802
2904
|
vertical-align: middle;
|
|
2803
2905
|
}
|
|
2804
|
-
.switch button {
|
|
2906
|
+
.c-rich-text-editor .switch button {
|
|
2805
2907
|
background-color: rgb(206, 208, 212);
|
|
2806
2908
|
height: 24px;
|
|
2807
2909
|
box-sizing: border-box;
|
|
@@ -2815,10 +2917,10 @@ i.prettier-error {
|
|
|
2815
2917
|
transition: background-color 0.1s;
|
|
2816
2918
|
border: 2px solid transparent;
|
|
2817
2919
|
}
|
|
2818
|
-
.switch button:focus-visible {
|
|
2920
|
+
.c-rich-text-editor .switch button:focus-visible {
|
|
2819
2921
|
border-color: blue;
|
|
2820
2922
|
}
|
|
2821
|
-
.switch button span {
|
|
2923
|
+
.c-rich-text-editor .switch button span {
|
|
2822
2924
|
top: 0px;
|
|
2823
2925
|
left: 0px;
|
|
2824
2926
|
display: block;
|
|
@@ -2829,155 +2931,53 @@ i.prettier-error {
|
|
|
2829
2931
|
background-color: white;
|
|
2830
2932
|
transition: transform 0.2s;
|
|
2831
2933
|
}
|
|
2832
|
-
.switch button[aria-checked=true] {
|
|
2934
|
+
.c-rich-text-editor .switch button[aria-checked=true] {
|
|
2833
2935
|
background-color: rgb(24, 119, 242);
|
|
2834
2936
|
}
|
|
2835
|
-
.switch button[aria-checked=true] span {
|
|
2937
|
+
.c-rich-text-editor .switch button[aria-checked=true] span {
|
|
2836
2938
|
transform: translateX(20px);
|
|
2837
2939
|
}
|
|
2838
|
-
.editor
|
|
2839
|
-
cursor: default;
|
|
2840
|
-
display: inline-block;
|
|
2841
|
-
position: relative;
|
|
2842
|
-
user-select: none;
|
|
2843
|
-
}
|
|
2844
|
-
.editor-shell .editor-image img {
|
|
2845
|
-
max-width: 100%;
|
|
2846
|
-
cursor: default;
|
|
2847
|
-
}
|
|
2848
|
-
.editor-shell .editor-image img.focused {
|
|
2849
|
-
outline: 2px solid rgb(60, 132, 244);
|
|
2850
|
-
user-select: none;
|
|
2851
|
-
}
|
|
2852
|
-
.editor-shell .editor-image img.focused.draggable {
|
|
2853
|
-
cursor: grab;
|
|
2854
|
-
}
|
|
2855
|
-
.editor-shell .editor-image img.focused.draggable:active {
|
|
2856
|
-
cursor: grabbing;
|
|
2857
|
-
}
|
|
2858
|
-
.editor-shell .editor-image .image-caption-container {
|
|
2859
|
-
display: block;
|
|
2860
|
-
position: absolute;
|
|
2861
|
-
bottom: 4px;
|
|
2862
|
-
left: 0;
|
|
2863
|
-
right: 0;
|
|
2864
|
-
padding: 0;
|
|
2865
|
-
margin: 0;
|
|
2866
|
-
border-top: 1px solid #fff;
|
|
2867
|
-
background-color: rgba(255, 255, 255, 0.9);
|
|
2868
|
-
min-width: 100px;
|
|
2869
|
-
color: #000;
|
|
2870
|
-
overflow: hidden;
|
|
2871
|
-
}
|
|
2872
|
-
.editor-shell .editor-image .image-caption-button {
|
|
2873
|
-
display: block;
|
|
2874
|
-
position: absolute;
|
|
2875
|
-
bottom: 20px;
|
|
2876
|
-
left: 0;
|
|
2877
|
-
right: 0;
|
|
2878
|
-
width: 30%;
|
|
2879
|
-
padding: 10px;
|
|
2880
|
-
margin: 0 auto;
|
|
2881
|
-
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
2882
|
-
border-radius: 5px;
|
|
2883
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
2884
|
-
min-width: 100px;
|
|
2885
|
-
color: #fff;
|
|
2886
|
-
cursor: pointer;
|
|
2887
|
-
user-select: none;
|
|
2888
|
-
}
|
|
2889
|
-
.editor-shell .editor-image .image-caption-button:hover {
|
|
2890
|
-
background-color: rgba(60, 132, 244, 0.5);
|
|
2891
|
-
}
|
|
2892
|
-
.editor-shell .editor-image .image-resizer {
|
|
2893
|
-
display: block;
|
|
2894
|
-
width: 7px;
|
|
2895
|
-
height: 7px;
|
|
2896
|
-
position: absolute;
|
|
2897
|
-
background-color: rgb(60, 132, 244);
|
|
2898
|
-
border: 1px solid #fff;
|
|
2899
|
-
}
|
|
2900
|
-
.editor-shell .editor-image .image-resizer.image-resizer-n {
|
|
2901
|
-
top: -6px;
|
|
2902
|
-
left: 48%;
|
|
2903
|
-
cursor: n-resize;
|
|
2904
|
-
}
|
|
2905
|
-
.editor-shell .editor-image .image-resizer.image-resizer-ne {
|
|
2906
|
-
top: -6px;
|
|
2907
|
-
right: -6px;
|
|
2908
|
-
cursor: ne-resize;
|
|
2909
|
-
}
|
|
2910
|
-
.editor-shell .editor-image .image-resizer.image-resizer-e {
|
|
2911
|
-
bottom: 48%;
|
|
2912
|
-
right: -6px;
|
|
2913
|
-
cursor: e-resize;
|
|
2914
|
-
}
|
|
2915
|
-
.editor-shell .editor-image .image-resizer.image-resizer-se {
|
|
2916
|
-
bottom: -2px;
|
|
2917
|
-
right: -6px;
|
|
2918
|
-
cursor: nwse-resize;
|
|
2919
|
-
}
|
|
2920
|
-
.editor-shell .editor-image .image-resizer.image-resizer-s {
|
|
2921
|
-
bottom: -2px;
|
|
2922
|
-
left: 48%;
|
|
2923
|
-
cursor: s-resize;
|
|
2924
|
-
}
|
|
2925
|
-
.editor-shell .editor-image .image-resizer.image-resizer-sw {
|
|
2926
|
-
bottom: -2px;
|
|
2927
|
-
left: -6px;
|
|
2928
|
-
cursor: sw-resize;
|
|
2929
|
-
}
|
|
2930
|
-
.editor-shell .editor-image .image-resizer.image-resizer-w {
|
|
2931
|
-
bottom: 48%;
|
|
2932
|
-
left: -6px;
|
|
2933
|
-
cursor: w-resize;
|
|
2934
|
-
}
|
|
2935
|
-
.editor-shell .editor-image .image-resizer.image-resizer-nw {
|
|
2936
|
-
top: -6px;
|
|
2937
|
-
left: -6px;
|
|
2938
|
-
cursor: nw-resize;
|
|
2939
|
-
}
|
|
2940
|
-
.keyword {
|
|
2940
|
+
.c-rich-text-editor .keyword {
|
|
2941
2941
|
color: rgb(241, 118, 94);
|
|
2942
2942
|
font-weight: bold;
|
|
2943
2943
|
}
|
|
2944
|
-
.actions i.indent {
|
|
2944
|
+
.c-rich-text-editor .actions i.indent {
|
|
2945
2945
|
background-image: url(./indent-MJ6JIMCK.svg);
|
|
2946
2946
|
}
|
|
2947
|
-
.actions i.outdent {
|
|
2947
|
+
.c-rich-text-editor .actions i.outdent {
|
|
2948
2948
|
background-image: url(./outdent-2LUMUMIP.svg);
|
|
2949
2949
|
}
|
|
2950
|
-
.actions i.lock {
|
|
2950
|
+
.c-rich-text-editor .actions i.lock {
|
|
2951
2951
|
background-image: url(./lock-fill-JZSKOSHK.svg);
|
|
2952
2952
|
}
|
|
2953
|
-
.actions i.image {
|
|
2953
|
+
.c-rich-text-editor .actions i.image {
|
|
2954
2954
|
background-image: url(./file-image-TIQPFJX4.svg);
|
|
2955
2955
|
}
|
|
2956
|
-
.actions i.table {
|
|
2956
|
+
.c-rich-text-editor .actions i.table {
|
|
2957
2957
|
background-image: url(./table-BR6DI4ZQ.svg);
|
|
2958
2958
|
}
|
|
2959
|
-
.actions i.unlock {
|
|
2959
|
+
.c-rich-text-editor .actions i.unlock {
|
|
2960
2960
|
background-image: url(./lock-WCYOZOHW.svg);
|
|
2961
2961
|
}
|
|
2962
|
-
.actions i.left-align {
|
|
2962
|
+
.c-rich-text-editor .actions i.left-align {
|
|
2963
2963
|
background-image: url(./text-left-KT2B6TR3.svg);
|
|
2964
2964
|
}
|
|
2965
|
-
.actions i.center-align {
|
|
2965
|
+
.c-rich-text-editor .actions i.center-align {
|
|
2966
2966
|
background-image: url(./text-center-UQI6PAEF.svg);
|
|
2967
2967
|
}
|
|
2968
|
-
.actions i.right-align {
|
|
2968
|
+
.c-rich-text-editor .actions i.right-align {
|
|
2969
2969
|
background-image: url(./text-right-SKELPISG.svg);
|
|
2970
2970
|
}
|
|
2971
|
-
.actions i.justify-align {
|
|
2971
|
+
.c-rich-text-editor .actions i.justify-align {
|
|
2972
2972
|
background-image: url(./justify-J7X5JEEX.svg);
|
|
2973
2973
|
}
|
|
2974
|
-
.actions i.disconnect {
|
|
2974
|
+
.c-rich-text-editor .actions i.disconnect {
|
|
2975
2975
|
background-image: url(./plug-HGGGEVS3.svg);
|
|
2976
2976
|
}
|
|
2977
|
-
.actions i.connect {
|
|
2977
|
+
.c-rich-text-editor .actions i.connect {
|
|
2978
2978
|
background-image: url(./plug-fill-OTG3U4TN.svg);
|
|
2979
2979
|
}
|
|
2980
|
-
table.disable-selection {
|
|
2980
|
+
.c-rich-text-editor table.disable-selection {
|
|
2981
2981
|
-webkit-touch-callout: none;
|
|
2982
2982
|
-webkit-user-select: none;
|
|
2983
2983
|
-khtml-user-select: none;
|
|
@@ -2985,19 +2985,19 @@ table.disable-selection {
|
|
|
2985
2985
|
-ms-user-select: none;
|
|
2986
2986
|
user-select: none;
|
|
2987
2987
|
}
|
|
2988
|
-
table.disable-selection span::selection {
|
|
2988
|
+
.c-rich-text-editor table.disable-selection span::selection {
|
|
2989
2989
|
background-color: transparent;
|
|
2990
2990
|
}
|
|
2991
|
-
table.disable-selection br::selection {
|
|
2991
|
+
.c-rich-text-editor table.disable-selection br::selection {
|
|
2992
2992
|
background-color: transparent;
|
|
2993
2993
|
}
|
|
2994
|
-
.table-cell-action-button-container {
|
|
2994
|
+
.c-rich-text-editor .table-cell-action-button-container {
|
|
2995
2995
|
position: absolute;
|
|
2996
2996
|
top: 0;
|
|
2997
2997
|
left: 0;
|
|
2998
2998
|
will-change: transform;
|
|
2999
2999
|
}
|
|
3000
|
-
.table-cell-action-button {
|
|
3000
|
+
.c-rich-text-editor .table-cell-action-button {
|
|
3001
3001
|
background-color: none;
|
|
3002
3002
|
display: flex;
|
|
3003
3003
|
justify-content: center;
|
|
@@ -3009,7 +3009,7 @@ table.disable-selection br::selection {
|
|
|
3009
3009
|
display: inline-block;
|
|
3010
3010
|
cursor: pointer;
|
|
3011
3011
|
}
|
|
3012
|
-
i.chevron-down {
|
|
3012
|
+
.c-rich-text-editor i.chevron-down {
|
|
3013
3013
|
background-color: transparent;
|
|
3014
3014
|
background-size: contain;
|
|
3015
3015
|
display: inline-block;
|
|
@@ -3017,7 +3017,7 @@ i.chevron-down {
|
|
|
3017
3017
|
width: 8px;
|
|
3018
3018
|
background-image: url(./chevron-down-3FRWSIKS.svg);
|
|
3019
3019
|
}
|
|
3020
|
-
.action-button {
|
|
3020
|
+
.c-rich-text-editor .action-button {
|
|
3021
3021
|
background-color: #eee;
|
|
3022
3022
|
border: 0;
|
|
3023
3023
|
padding: 8px 12px;
|
|
@@ -3028,14 +3028,14 @@ i.chevron-down {
|
|
|
3028
3028
|
display: inline-block;
|
|
3029
3029
|
cursor: pointer;
|
|
3030
3030
|
}
|
|
3031
|
-
.action-button:hover {
|
|
3031
|
+
.c-rich-text-editor .action-button:hover {
|
|
3032
3032
|
background-color: #ddd;
|
|
3033
3033
|
color: #000;
|
|
3034
3034
|
}
|
|
3035
|
-
.action-button-mic.active {
|
|
3035
|
+
.c-rich-text-editor .action-button-mic.active {
|
|
3036
3036
|
animation: mic-pulsate-color 3s infinite;
|
|
3037
3037
|
}
|
|
3038
|
-
button.action-button:disabled {
|
|
3038
|
+
.c-rich-text-editor button.action-button:disabled {
|
|
3039
3039
|
opacity: 0.6;
|
|
3040
3040
|
background: #eee;
|
|
3041
3041
|
cursor: not-allowed;
|
|
@@ -3051,17 +3051,17 @@ button.action-button:disabled {
|
|
|
3051
3051
|
background-color: #ffdcdc;
|
|
3052
3052
|
}
|
|
3053
3053
|
}
|
|
3054
|
-
.debug-timetravel-panel {
|
|
3054
|
+
.c-rich-text-editor .debug-timetravel-panel {
|
|
3055
3055
|
overflow: hidden;
|
|
3056
3056
|
padding: 0 0 10px 0;
|
|
3057
3057
|
margin: auto;
|
|
3058
3058
|
display: flex;
|
|
3059
3059
|
}
|
|
3060
|
-
.debug-timetravel-panel-slider {
|
|
3060
|
+
.c-rich-text-editor .debug-timetravel-panel-slider {
|
|
3061
3061
|
padding: 0;
|
|
3062
3062
|
flex: 8;
|
|
3063
3063
|
}
|
|
3064
|
-
.debug-timetravel-panel-button {
|
|
3064
|
+
.c-rich-text-editor .debug-timetravel-panel-button {
|
|
3065
3065
|
padding: 0;
|
|
3066
3066
|
border: 0;
|
|
3067
3067
|
background: none;
|
|
@@ -3069,10 +3069,10 @@ button.action-button:disabled {
|
|
|
3069
3069
|
color: #fff;
|
|
3070
3070
|
font-size: 12px;
|
|
3071
3071
|
}
|
|
3072
|
-
.debug-timetravel-panel-button:hover {
|
|
3072
|
+
.c-rich-text-editor .debug-timetravel-panel-button:hover {
|
|
3073
3073
|
text-decoration: underline;
|
|
3074
3074
|
}
|
|
3075
|
-
.debug-timetravel-button {
|
|
3075
|
+
.c-rich-text-editor .debug-timetravel-button {
|
|
3076
3076
|
border: 0;
|
|
3077
3077
|
padding: 0;
|
|
3078
3078
|
font-size: 12px;
|
|
@@ -3082,10 +3082,10 @@ button.action-button:disabled {
|
|
|
3082
3082
|
background: none;
|
|
3083
3083
|
color: #fff;
|
|
3084
3084
|
}
|
|
3085
|
-
.debug-timetravel-button:hover {
|
|
3085
|
+
.c-rich-text-editor .debug-timetravel-button:hover {
|
|
3086
3086
|
text-decoration: underline;
|
|
3087
3087
|
}
|
|
3088
|
-
.connecting {
|
|
3088
|
+
.c-rich-text-editor .connecting {
|
|
3089
3089
|
font-size: 15px;
|
|
3090
3090
|
color: #999;
|
|
3091
3091
|
overflow: hidden;
|
|
@@ -3098,13 +3098,13 @@ button.action-button:disabled {
|
|
|
3098
3098
|
display: inline-block;
|
|
3099
3099
|
pointer-events: none;
|
|
3100
3100
|
}
|
|
3101
|
-
.ltr {
|
|
3101
|
+
.c-rich-text-editor .ltr {
|
|
3102
3102
|
text-align: left;
|
|
3103
3103
|
}
|
|
3104
|
-
.rtl {
|
|
3104
|
+
.c-rich-text-editor .rtl {
|
|
3105
3105
|
text-align: right;
|
|
3106
3106
|
}
|
|
3107
|
-
.toolbar {
|
|
3107
|
+
.c-rich-text-editor .toolbar {
|
|
3108
3108
|
display: flex;
|
|
3109
3109
|
height: 3rem;
|
|
3110
3110
|
width: 100%;
|
|
@@ -3118,7 +3118,7 @@ button.action-button:disabled {
|
|
|
3118
3118
|
padding-left: 1rem;
|
|
3119
3119
|
vertical-align: middle;
|
|
3120
3120
|
}
|
|
3121
|
-
.toolbar button.toolbar-item {
|
|
3121
|
+
.c-rich-text-editor .toolbar button.toolbar-item {
|
|
3122
3122
|
display: flex;
|
|
3123
3123
|
flex-shrink: 0;
|
|
3124
3124
|
cursor: pointer;
|
|
@@ -3130,13 +3130,13 @@ button.action-button:disabled {
|
|
|
3130
3130
|
padding: 0.5rem;
|
|
3131
3131
|
vertical-align: middle;
|
|
3132
3132
|
}
|
|
3133
|
-
.toolbar button.toolbar-item:disabled {
|
|
3133
|
+
.c-rich-text-editor .toolbar button.toolbar-item:disabled {
|
|
3134
3134
|
cursor: not-allowed;
|
|
3135
3135
|
}
|
|
3136
|
-
.toolbar button.toolbar-item.spaced {
|
|
3136
|
+
.c-rich-text-editor .toolbar button.toolbar-item.spaced {
|
|
3137
3137
|
margin-right: 0.125rem;
|
|
3138
3138
|
}
|
|
3139
|
-
.toolbar button.toolbar-item i.format {
|
|
3139
|
+
.c-rich-text-editor .toolbar button.toolbar-item i.format {
|
|
3140
3140
|
background-size: contain;
|
|
3141
3141
|
display: inline-block;
|
|
3142
3142
|
height: 18px;
|
|
@@ -3145,31 +3145,31 @@ button.action-button:disabled {
|
|
|
3145
3145
|
display: flex;
|
|
3146
3146
|
opacity: 0.6;
|
|
3147
3147
|
}
|
|
3148
|
-
.toolbar button.toolbar-item:disabled .icon,
|
|
3149
|
-
.toolbar button.toolbar-item:disabled .text,
|
|
3150
|
-
.toolbar button.toolbar-item:disabled i.format,
|
|
3151
|
-
.toolbar button.toolbar-item:disabled .chevron-down {
|
|
3148
|
+
.c-rich-text-editor .toolbar button.toolbar-item:disabled .icon,
|
|
3149
|
+
.c-rich-text-editor .toolbar button.toolbar-item:disabled .text,
|
|
3150
|
+
.c-rich-text-editor .toolbar button.toolbar-item:disabled i.format,
|
|
3151
|
+
.c-rich-text-editor .toolbar button.toolbar-item:disabled .chevron-down {
|
|
3152
3152
|
opacity: 0.2;
|
|
3153
3153
|
}
|
|
3154
|
-
.toolbar button.toolbar-item.active {
|
|
3154
|
+
.c-rich-text-editor .toolbar button.toolbar-item.active {
|
|
3155
3155
|
--tw-bg-opacity: 1;
|
|
3156
3156
|
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
|
|
3157
3157
|
}
|
|
3158
|
-
.toolbar button.toolbar-item.active i {
|
|
3158
|
+
.c-rich-text-editor .toolbar button.toolbar-item.active i {
|
|
3159
3159
|
opacity: 1;
|
|
3160
3160
|
}
|
|
3161
|
-
.toolbar .toolbar-item:hover:not([disabled]) {
|
|
3161
|
+
.c-rich-text-editor .toolbar .toolbar-item:hover:not([disabled]) {
|
|
3162
3162
|
--tw-bg-opacity: 1;
|
|
3163
3163
|
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
|
|
3164
3164
|
}
|
|
3165
|
-
.toolbar .toolbar-item.font-family .text {
|
|
3165
|
+
.c-rich-text-editor .toolbar .toolbar-item.font-family .text {
|
|
3166
3166
|
display: block;
|
|
3167
3167
|
max-width: 40px;
|
|
3168
3168
|
}
|
|
3169
|
-
.toolbar .code-language {
|
|
3169
|
+
.c-rich-text-editor .toolbar .code-language {
|
|
3170
3170
|
width: 150px;
|
|
3171
3171
|
}
|
|
3172
|
-
.toolbar .toolbar-item .text {
|
|
3172
|
+
.c-rich-text-editor .toolbar .toolbar-item .text {
|
|
3173
3173
|
display: flex;
|
|
3174
3174
|
line-height: 20px;
|
|
3175
3175
|
vertical-align: middle;
|
|
@@ -3181,7 +3181,7 @@ button.action-button:disabled {
|
|
|
3181
3181
|
text-align: left;
|
|
3182
3182
|
padding-right: 10px;
|
|
3183
3183
|
}
|
|
3184
|
-
.toolbar .toolbar-item .icon {
|
|
3184
|
+
.c-rich-text-editor .toolbar .toolbar-item .icon {
|
|
3185
3185
|
display: flex;
|
|
3186
3186
|
width: 20px;
|
|
3187
3187
|
height: 20px;
|
|
@@ -3190,14 +3190,14 @@ button.action-button:disabled {
|
|
|
3190
3190
|
line-height: 16px;
|
|
3191
3191
|
background-size: contain;
|
|
3192
3192
|
}
|
|
3193
|
-
.toolbar i.chevron-down {
|
|
3193
|
+
.c-rich-text-editor .toolbar i.chevron-down {
|
|
3194
3194
|
margin-top: 3px;
|
|
3195
3195
|
width: 16px;
|
|
3196
3196
|
height: 16px;
|
|
3197
3197
|
display: flex;
|
|
3198
3198
|
user-select: none;
|
|
3199
3199
|
}
|
|
3200
|
-
.toolbar i.chevron-down.inside {
|
|
3200
|
+
.c-rich-text-editor .toolbar i.chevron-down.inside {
|
|
3201
3201
|
width: 16px;
|
|
3202
3202
|
height: 16px;
|
|
3203
3203
|
display: flex;
|
|
@@ -3206,12 +3206,12 @@ button.action-button:disabled {
|
|
|
3206
3206
|
margin-right: 10px;
|
|
3207
3207
|
pointer-events: none;
|
|
3208
3208
|
}
|
|
3209
|
-
.toolbar .divider {
|
|
3209
|
+
.c-rich-text-editor .toolbar .divider {
|
|
3210
3210
|
width: 1px;
|
|
3211
3211
|
background-color: #eee;
|
|
3212
3212
|
margin: 0 4px;
|
|
3213
3213
|
}
|
|
3214
|
-
.github-corner:hover .octo-arm {
|
|
3214
|
+
.c-rich-text-editor .github-corner:hover .octo-arm {
|
|
3215
3215
|
animation: octocat-wave 560ms ease-in-out;
|
|
3216
3216
|
}
|
|
3217
3217
|
@keyframes octocat-wave {
|
|
@@ -3226,33 +3226,33 @@ button.action-button:disabled {
|
|
|
3226
3226
|
}
|
|
3227
3227
|
}
|
|
3228
3228
|
@media (max-width: 500px) {
|
|
3229
|
-
.github-corner:hover .octo-arm {
|
|
3229
|
+
.c-rich-text-editor .github-corner:hover .octo-arm {
|
|
3230
3230
|
animation: none;
|
|
3231
3231
|
}
|
|
3232
|
-
.github-corner .octo-arm {
|
|
3232
|
+
.c-rich-text-editor .github-corner .octo-arm {
|
|
3233
3233
|
animation: octocat-wave 560ms ease-in-out;
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
|
-
.spacer {
|
|
3236
|
+
.c-rich-text-editor .spacer {
|
|
3237
3237
|
letter-spacing: -2px;
|
|
3238
3238
|
}
|
|
3239
|
-
button.item i {
|
|
3239
|
+
.c-rich-text-editor button.item i {
|
|
3240
3240
|
opacity: 0.6;
|
|
3241
3241
|
}
|
|
3242
|
-
button.item.dropdown-item-active {
|
|
3242
|
+
.c-rich-text-editor button.item.dropdown-item-active {
|
|
3243
3243
|
background-color: rgba(223, 232, 250, 0.3);
|
|
3244
3244
|
}
|
|
3245
|
-
button.item.dropdown-item-active i {
|
|
3245
|
+
.c-rich-text-editor button.item.dropdown-item-active i {
|
|
3246
3246
|
opacity: 1;
|
|
3247
3247
|
}
|
|
3248
|
-
hr {
|
|
3248
|
+
.c-rich-text-editor hr {
|
|
3249
3249
|
padding: 4px 0;
|
|
3250
3250
|
border: 1px solid red;
|
|
3251
3251
|
border: none;
|
|
3252
3252
|
margin: 1em 0;
|
|
3253
3253
|
cursor: pointer;
|
|
3254
3254
|
}
|
|
3255
|
-
hr:after {
|
|
3255
|
+
.c-rich-text-editor hr:after {
|
|
3256
3256
|
content: "";
|
|
3257
3257
|
display: block;
|
|
3258
3258
|
height: 1px;
|
|
@@ -3261,11 +3261,11 @@ hr:after {
|
|
|
3261
3261
|
--tw-bg-opacity: 1;
|
|
3262
3262
|
background-color: rgb(var(--c-color-purple-100-800) / var(--tw-bg-opacity));
|
|
3263
3263
|
}
|
|
3264
|
-
hr.selected {
|
|
3264
|
+
.c-rich-text-editor hr.selected {
|
|
3265
3265
|
outline: 2px solid rgb(60, 132, 244);
|
|
3266
3266
|
user-select: none;
|
|
3267
3267
|
}
|
|
3268
|
-
.TableNode__contentEditable {
|
|
3268
|
+
.c-rich-text-editor .TableNode__contentEditable {
|
|
3269
3269
|
min-height: 20px;
|
|
3270
3270
|
border: 0px;
|
|
3271
3271
|
resize: none;
|
|
@@ -3282,15 +3282,15 @@ hr.selected {
|
|
|
3282
3282
|
word-break: break-word;
|
|
3283
3283
|
z-index: 3;
|
|
3284
3284
|
}
|
|
3285
|
-
.TableNode__contentEditable .PlaygroundEditorTheme__paragraph {
|
|
3285
|
+
.c-rich-text-editor .TableNode__contentEditable .PlaygroundEditorTheme__paragraph {
|
|
3286
3286
|
margin-top: 0px;
|
|
3287
3287
|
}
|
|
3288
|
-
.PlaygroundEditorTheme__blockCursor {
|
|
3288
|
+
.c-rich-text-editor .PlaygroundEditorTheme__blockCursor {
|
|
3289
3289
|
display: block;
|
|
3290
3290
|
pointer-events: none;
|
|
3291
3291
|
position: absolute;
|
|
3292
3292
|
}
|
|
3293
|
-
.PlaygroundEditorTheme__blockCursor:after {
|
|
3293
|
+
.c-rich-text-editor .PlaygroundEditorTheme__blockCursor:after {
|
|
3294
3294
|
content: "";
|
|
3295
3295
|
display: block;
|
|
3296
3296
|
position: absolute;
|