@uiw/react-md-editor 3.9.3 → 3.9.6

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/README.md CHANGED
@@ -463,6 +463,16 @@ npm run start # Preview code example.
463
463
  - [@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
464
464
  - [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview): React component preview markdown text in web browser.
465
465
 
466
+ ## Contributors
467
+
468
+ As always, thanks to our amazing contributors!
469
+
470
+ <a href="https://github.com/uiwjs/react-md-editor/graphs/contributors">
471
+ <img src="https://uiwjs.github.io/react-md-editor/CONTRIBUTORS.svg" />
472
+ </a>
473
+
474
+ Made with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).
475
+
466
476
  ### License
467
477
 
468
478
  Licensed under the MIT License.
@@ -0,0 +1,690 @@
1
+ .wmde-markdown {
2
+ font-size: 16px;
3
+ line-height: 1.5;
4
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
5
+ }
6
+ .wmde-markdown > :first-child {
7
+ margin-top: 0 !important;
8
+ }
9
+ .wmde-markdown > :last-child {
10
+ margin-bottom: 0 !important;
11
+ }
12
+ .wmde-markdown pre[class*='language-']:hover .copied,
13
+ .wmde-markdown pre:hover .copied {
14
+ visibility: visible;
15
+ }
16
+ .wmde-markdown pre[class*='language-'] .copied,
17
+ .wmde-markdown pre .copied {
18
+ visibility: hidden;
19
+ display: flex;
20
+ position: absolute;
21
+ cursor: pointer;
22
+ color: #a5afbb;
23
+ top: 6px;
24
+ right: 6px;
25
+ border-radius: 5px;
26
+ background: #e3e3e3;
27
+ padding: 6px;
28
+ font-size: 12px;
29
+ transition: all 0.3s;
30
+ }
31
+ .wmde-markdown pre[class*='language-'] .copied::before,
32
+ .wmde-markdown pre .copied::before {
33
+ content: ' ';
34
+ position: absolute;
35
+ width: 100%;
36
+ height: 100%;
37
+ top: 0;
38
+ left: 0;
39
+ }
40
+ .wmde-markdown pre[class*='language-'] .copied .octicon-copy,
41
+ .wmde-markdown pre .copied .octicon-copy {
42
+ display: block;
43
+ }
44
+ .wmde-markdown pre[class*='language-'] .copied .octicon-check,
45
+ .wmde-markdown pre .copied .octicon-check {
46
+ display: none;
47
+ }
48
+ .wmde-markdown pre[class*='language-'] .copied.active .octicon-copy,
49
+ .wmde-markdown pre .copied.active .octicon-copy {
50
+ display: none;
51
+ }
52
+ .wmde-markdown pre[class*='language-'] .copied.active .octicon-check,
53
+ .wmde-markdown pre .copied.active .octicon-check {
54
+ display: block;
55
+ }
56
+ .wmde-markdown pre[class*='language-'] .copied:hover,
57
+ .wmde-markdown pre .copied:hover,
58
+ .wmde-markdown pre[class*='language-'] .copied:active,
59
+ .wmde-markdown pre .copied:active,
60
+ .wmde-markdown pre[class*='language-'] .copied.active,
61
+ .wmde-markdown pre .copied.active {
62
+ background: #2e9b33;
63
+ color: #fff;
64
+ }
65
+ .wmde-markdown code[class*='language-'],
66
+ .wmde-markdown pre[class*='language-'] {
67
+ color: black;
68
+ text-align: left;
69
+ white-space: pre;
70
+ word-spacing: normal;
71
+ word-break: normal;
72
+ word-wrap: normal;
73
+ -webkit-hyphens: none;
74
+ -ms-hyphens: none;
75
+ hyphens: none;
76
+ }
77
+ .wmde-markdown pre code {
78
+ display: block;
79
+ padding: 16px;
80
+ overflow: auto;
81
+ font-size: 85%;
82
+ line-height: 1.45;
83
+ background-color: #f6f8fa;
84
+ border-radius: 6px;
85
+ }
86
+ .wmde-markdown pre {
87
+ margin-bottom: 18px;
88
+ line-height: 1.45;
89
+ position: relative;
90
+ overflow-x: auto;
91
+ background-color: #f6f8fa;
92
+ border-radius: 3px;
93
+ }
94
+ .wmde-markdown code,
95
+ .wmde-markdown tt {
96
+ background-color: rgba(27, 31, 35, 0.05);
97
+ border-radius: 3px;
98
+ font-size: 85%;
99
+ margin: 0;
100
+ padding: 0.2em 0.4em;
101
+ }
102
+ .wmde-markdown pre,
103
+ .wmde-markdown code,
104
+ .wmde-markdown tt {
105
+ font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
106
+ }
107
+ .wmde-markdown img {
108
+ max-width: 100%;
109
+ }
110
+ .wmde-markdown input {
111
+ vertical-align: middle;
112
+ margin: 0 0.2em 0.25em -1.6em;
113
+ }
114
+ .wmde-markdown input + p {
115
+ display: inline;
116
+ }
117
+ .wmde-markdown h1,
118
+ .wmde-markdown h2 {
119
+ border-bottom: 1px solid #eaecef;
120
+ padding-bottom: 0.3em;
121
+ }
122
+ .wmde-markdown h1,
123
+ .wmde-markdown h2,
124
+ .wmde-markdown h3,
125
+ .wmde-markdown h4,
126
+ .wmde-markdown h5,
127
+ .wmde-markdown h6 {
128
+ font-weight: 600;
129
+ line-height: 1.25;
130
+ margin-bottom: 16px;
131
+ margin-top: 24px;
132
+ }
133
+ .wmde-markdown h1 .anchor,
134
+ .wmde-markdown h2 .anchor,
135
+ .wmde-markdown h3 .anchor,
136
+ .wmde-markdown h4 .anchor,
137
+ .wmde-markdown h5 .anchor,
138
+ .wmde-markdown h6 .anchor {
139
+ float: left;
140
+ padding-right: 4px;
141
+ margin-left: -20px;
142
+ line-height: 1;
143
+ }
144
+ .wmde-markdown h1 .octicon-link,
145
+ .wmde-markdown h2 .octicon-link,
146
+ .wmde-markdown h3 .octicon-link,
147
+ .wmde-markdown h4 .octicon-link,
148
+ .wmde-markdown h5 .octicon-link,
149
+ .wmde-markdown h6 .octicon-link {
150
+ visibility: hidden;
151
+ vertical-align: middle;
152
+ }
153
+ .wmde-markdown h1:hover .octicon-link,
154
+ .wmde-markdown h2:hover .octicon-link,
155
+ .wmde-markdown h3:hover .octicon-link,
156
+ .wmde-markdown h4:hover .octicon-link,
157
+ .wmde-markdown h5:hover .octicon-link,
158
+ .wmde-markdown h6:hover .octicon-link {
159
+ visibility: visible;
160
+ }
161
+ .wmde-markdown h1 {
162
+ font-size: 2em;
163
+ }
164
+ .wmde-markdown h2 {
165
+ font-size: 1.5em;
166
+ }
167
+ .wmde-markdown h3 {
168
+ font-size: 1.25em;
169
+ }
170
+ .wmde-markdown h4 {
171
+ font-size: 1em;
172
+ }
173
+ .wmde-markdown h5 {
174
+ font-size: 0.875em;
175
+ }
176
+ .wmde-markdown h6 {
177
+ font-size: 0.85em;
178
+ }
179
+ .wmde-markdown ol,
180
+ .wmde-markdown ul {
181
+ padding-left: 2em;
182
+ }
183
+ .wmde-markdown ol > p,
184
+ .wmde-markdown ul > p {
185
+ margin-bottom: 0;
186
+ }
187
+ .wmde-markdown ul {
188
+ margin-bottom: 16px;
189
+ margin-top: 0;
190
+ list-style: disc outside none;
191
+ list-style: initial;
192
+ }
193
+ .wmde-markdown li {
194
+ display: list-item;
195
+ }
196
+ .wmde-markdown ul ul,
197
+ .wmde-markdown ul ol,
198
+ .wmde-markdown ol ol,
199
+ .wmde-markdown ol ul {
200
+ margin-top: 0;
201
+ margin-bottom: 0;
202
+ }
203
+ .wmde-markdown ul ul ul {
204
+ list-style-type: square;
205
+ }
206
+ .wmde-markdown ul ul {
207
+ list-style-type: circle;
208
+ }
209
+ .wmde-markdown ul {
210
+ list-style-type: disc;
211
+ }
212
+ .wmde-markdown > blockquote,
213
+ .wmde-markdown > blockquote blockquote {
214
+ margin: 0;
215
+ border-left: 0.25em solid #dfe2e5;
216
+ color: #6a737d;
217
+ padding: 0 1em;
218
+ }
219
+ .wmde-markdown > blockquote > :last-child,
220
+ .wmde-markdown > blockquote blockquote > :last-child {
221
+ margin-bottom: 0;
222
+ }
223
+ .wmde-markdown > blockquote > :first-child,
224
+ .wmde-markdown > blockquote blockquote > :first-child {
225
+ margin-top: 0;
226
+ }
227
+ .wmde-markdown hr {
228
+ margin: 1.5em auto;
229
+ border: 0;
230
+ border-top: 2px dotted #eee;
231
+ height: 1px;
232
+ }
233
+ .wmde-markdown > table,
234
+ .wmde-markdown > blockquote table {
235
+ display: block;
236
+ overflow: auto;
237
+ width: 100%;
238
+ border-collapse: collapse;
239
+ border-spacing: 0;
240
+ font-size: 14px;
241
+ }
242
+ .wmde-markdown > table tr,
243
+ .wmde-markdown > blockquote table tr {
244
+ background-color: #fff;
245
+ border-top: 1px solid #c6cbd1;
246
+ }
247
+ .wmde-markdown > table td,
248
+ .wmde-markdown > blockquote table td,
249
+ .wmde-markdown > table th,
250
+ .wmde-markdown > blockquote table th {
251
+ border: 1px solid #dfe2e5;
252
+ padding: 6px 13px;
253
+ }
254
+ .wmde-markdown blockquote,
255
+ .wmde-markdown details,
256
+ .wmde-markdown dl,
257
+ .wmde-markdown ol,
258
+ .wmde-markdown p,
259
+ .wmde-markdown pre,
260
+ .wmde-markdown table,
261
+ .wmde-markdown ul {
262
+ margin-bottom: 16px;
263
+ margin-top: 0;
264
+ }
265
+ .wmde-markdown a {
266
+ color: #0366d6;
267
+ text-decoration: none;
268
+ }
269
+ .wmde-markdown a:hover {
270
+ text-decoration: underline;
271
+ }
272
+ .wmde-markdown .namespace {
273
+ opacity: 0.7;
274
+ }
275
+ .wmde-markdown .token.important {
276
+ font-weight: normal;
277
+ }
278
+ .wmde-markdown .token.bold {
279
+ font-weight: bold;
280
+ }
281
+ .wmde-markdown .token.italic {
282
+ font-style: italic;
283
+ }
284
+ .wmde-markdown .token.entity {
285
+ cursor: help;
286
+ }
287
+ .wmde-markdown kbd {
288
+ background-color: #fafbfc;
289
+ border-bottom-color: #d1d5da;
290
+ border: 1px solid #d1d5da;
291
+ border-radius: 3px;
292
+ box-shadow: inset 0 -1px 0 #d1d5da;
293
+ color: #56595d;
294
+ display: inline-block;
295
+ font-size: 10px;
296
+ font-family: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace;
297
+ line-height: 10px;
298
+ padding: 2px 4px;
299
+ vertical-align: middle;
300
+ }
301
+
302
+ .wmde-markdown-color .token.tag .attr-value {
303
+ color: #032f62;
304
+ }
305
+ .wmde-markdown-color .token.property,
306
+ .wmde-markdown-color .token.tag,
307
+ .wmde-markdown-color .token.boolean,
308
+ .wmde-markdown-color .token.number,
309
+ .wmde-markdown-color .token.function-name,
310
+ .wmde-markdown-color .token.constant,
311
+ .wmde-markdown-color .token.symbol,
312
+ .wmde-markdown-color .token.deleted {
313
+ color: #0060c9;
314
+ }
315
+ .wmde-markdown-color .token.punctuation {
316
+ color: #a0a0a0;
317
+ }
318
+ .wmde-markdown-color code[class*='language-'] {
319
+ color: black;
320
+ }
321
+ .wmde-markdown-color code[class*='language-'] .token.selector,
322
+ .wmde-markdown-color code[class*='language-'] .token.attr-name,
323
+ .wmde-markdown-color code[class*='language-'] .token.string,
324
+ .wmde-markdown-color code[class*='language-'] .token.char,
325
+ .wmde-markdown-color code[class*='language-'] .token.function,
326
+ .wmde-markdown-color code[class*='language-'] .token.builtin {
327
+ color: #6f42c1;
328
+ }
329
+ .wmde-markdown-color code[class*='language-'] .token.inserted {
330
+ color: #22863a;
331
+ background-color: #f0fff4;
332
+ }
333
+ .wmde-markdown-color code[class*='language-'] .token.deleted {
334
+ color: #b31d28;
335
+ background-color: #ffeef0;
336
+ }
337
+ .wmde-markdown-color code[class*='language-'] .token.class-name {
338
+ color: #6f42c1;
339
+ }
340
+ .wmde-markdown-color code[class*='language-'] .code-block {
341
+ color: #032f62;
342
+ }
343
+ .wmde-markdown-color code[class*='language-'] .token.comment,
344
+ .wmde-markdown-color code[class*='language-'] .token.block-comment,
345
+ .wmde-markdown-color code[class*='language-'] .token.prolog,
346
+ .wmde-markdown-color code[class*='language-'] .token.doctype,
347
+ .wmde-markdown-color code[class*='language-'] .token.cdata {
348
+ color: #7d8b99;
349
+ }
350
+ .wmde-markdown-color code[class*='language-'] .token.punctuation {
351
+ color: #a0a0a0;
352
+ }
353
+ .wmde-markdown-color code[class*='language-'] .token.operator,
354
+ .wmde-markdown-color code[class*='language-'] .token.entity,
355
+ .wmde-markdown-color code[class*='language-'] .token.url,
356
+ .wmde-markdown-color code[class*='language-'] .token.variable {
357
+ color: #d73a49;
358
+ background: rgba(255, 255, 255, 0.5);
359
+ }
360
+ .wmde-markdown-color code[class*='language-'] .token.atrule,
361
+ .wmde-markdown-color code[class*='language-'] .token.attr-value {
362
+ color: #004698;
363
+ }
364
+ .wmde-markdown-color code[class*='language-'] .token.keyword {
365
+ color: #d63200;
366
+ }
367
+ .wmde-markdown-color code[class*='language-'] .token.regex,
368
+ .wmde-markdown-color code[class*='language-'] .token.important {
369
+ color: #e90;
370
+ }
371
+ .wmde-markdown-color code[class*='language-'] .token.string {
372
+ color: #0a53c1;
373
+ }
374
+
375
+ .w-md-editor-aree {
376
+ overflow: auto;
377
+ border-radius: 5px;
378
+ }
379
+ .w-md-editor-text {
380
+ min-height: 100%;
381
+ position: relative;
382
+ text-align: left;
383
+ white-space: pre-wrap;
384
+ word-break: keep-all;
385
+ overflow-wrap: break-word;
386
+ box-sizing: border-box;
387
+ padding: 10px;
388
+ margin: 0;
389
+ font-size: 14px;
390
+ line-height: 18px;
391
+ -webkit-font-variant-ligatures: common-ligatures;
392
+ -webkit-font-feature-settings: "liga", "clig";
393
+ font-feature-settings: "liga", "clig";
394
+ font-variant-ligatures: common-ligatures;
395
+ }
396
+ .w-md-editor-text-pre,
397
+ .w-md-editor-text-input,
398
+ .w-md-editor-text > .w-md-editor-text-pre {
399
+ margin: 0;
400
+ border: 0;
401
+ background: none;
402
+ box-sizing: inherit;
403
+ display: inherit;
404
+ font-family: inherit;
405
+ font-size: inherit;
406
+ font-style: inherit;
407
+ -webkit-font-variant-ligatures: inherit;
408
+ -webkit-font-feature-settings: inherit;
409
+ font-feature-settings: inherit;
410
+ font-variant-ligatures: inherit;
411
+ font-weight: inherit;
412
+ letter-spacing: inherit;
413
+ line-height: inherit;
414
+ tab-size: inherit;
415
+ text-indent: inherit;
416
+ text-rendering: inherit;
417
+ text-transform: inherit;
418
+ white-space: inherit;
419
+ overflow-wrap: inherit;
420
+ word-break: inherit;
421
+ word-break: normal;
422
+ padding: 0;
423
+ }
424
+ .w-md-editor-text-pre > code,
425
+ .w-md-editor-text-input > code,
426
+ .w-md-editor-text > .w-md-editor-text-pre > code {
427
+ font-family: inherit;
428
+ }
429
+ .w-md-editor-text-pre {
430
+ position: relative;
431
+ margin: 0px;
432
+ pointer-events: none;
433
+ }
434
+ .w-md-editor-text-input {
435
+ position: absolute;
436
+ top: 0px;
437
+ left: 0px;
438
+ height: 100%;
439
+ width: 100%;
440
+ resize: none;
441
+ color: inherit;
442
+ overflow: hidden;
443
+ outline: 0;
444
+ padding: inherit;
445
+ -webkit-font-smoothing: antialiased;
446
+ -webkit-text-fill-color: transparent;
447
+ }
448
+ .w-md-editor-text-input:empty {
449
+ -webkit-text-fill-color: inherit !important;
450
+ }
451
+ .w-md-editor-text-pre,
452
+ .w-md-editor-text-input {
453
+ word-wrap: pre;
454
+ word-break: break-word;
455
+ white-space: pre-wrap;
456
+ }
457
+ /**
458
+ * Hack to apply on some CSS on IE10 and IE11
459
+ */
460
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
461
+ /**
462
+ * IE doesn't support '-webkit-text-fill-color'
463
+ * So we use 'color: transparent' to make the text transparent on IE
464
+ * Unlike other browsers, it doesn't affect caret color in IE
465
+ */
466
+ .w-md-editor-text-input {
467
+ color: transparent !important;
468
+ }
469
+ .w-md-editor-text-input::selection {
470
+ background-color: #accef7 !important;
471
+ color: transparent !important;
472
+ }
473
+ }
474
+ .w-md-editor-text-pre {
475
+ color: #333;
476
+ }
477
+ .w-md-editor-text-pre .table .punctuation {
478
+ color: #c3c3c3;
479
+ }
480
+ .w-md-editor-text-pre .table .table-header {
481
+ color: #000;
482
+ }
483
+ .w-md-editor-text-pre .url {
484
+ color: #032f62 !important;
485
+ }
486
+ .w-md-editor-text-pre .url .content {
487
+ color: #0366d6;
488
+ }
489
+ .w-md-editor-text-pre .hr {
490
+ color: #999;
491
+ }
492
+ .w-md-editor-text-pre .blockquote {
493
+ color: #a6a6a6;
494
+ }
495
+ .w-md-editor-text-pre .title,
496
+ .w-md-editor-text-pre .bold {
497
+ color: #000 !important;
498
+ }
499
+ .w-md-editor-text-pre .title {
500
+ line-height: unset !important;
501
+ font-size: unset !important;
502
+ font-weight: unset !important;
503
+ }
504
+ .w-md-editor-text-pre .code.keyword {
505
+ color: #596394 !important;
506
+ }
507
+ .w-md-editor-text-pre .strike {
508
+ color: #bf4ca0;
509
+ }
510
+
511
+ .w-md-editor-toolbar-child {
512
+ position: absolute;
513
+ border-radius: 3px;
514
+ box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
515
+ background-color: #fff;
516
+ z-index: 1;
517
+ display: none;
518
+ }
519
+ .w-md-editor-toolbar-child.active {
520
+ display: block;
521
+ }
522
+ .w-md-editor-toolbar-child .w-md-editor-toolbar {
523
+ border-bottom: 0;
524
+ padding: 3px;
525
+ border-radius: 3px;
526
+ }
527
+ .w-md-editor-toolbar-child .w-md-editor-toolbar ul > li {
528
+ display: block;
529
+ }
530
+ .w-md-editor-toolbar-child .w-md-editor-toolbar ul > li button {
531
+ width: -webkit-fill-available;
532
+ height: auto;
533
+ height: initial;
534
+ box-sizing: border-box;
535
+ padding: 3px 4px 2px 4px;
536
+ margin: 0;
537
+ }
538
+
539
+ .w-md-editor-toolbar {
540
+ border-bottom: 1px solid #dfdfe0;
541
+ background-color: #fbfbfb;
542
+ padding: 0 5px 0 5px;
543
+ display: flex;
544
+ justify-content: space-between;
545
+ align-items: center;
546
+ border-radius: 3px 3px 0 0;
547
+ -webkit-user-select: none;
548
+ -ms-user-select: none;
549
+ user-select: none;
550
+ }
551
+ .w-md-editor-toolbar ul,
552
+ .w-md-editor-toolbar li {
553
+ margin: 0;
554
+ padding: 0;
555
+ list-style: none;
556
+ }
557
+ .w-md-editor-toolbar li {
558
+ display: inline-block;
559
+ font-size: 14px;
560
+ }
561
+ .w-md-editor-toolbar li > button {
562
+ border: none;
563
+ height: 20px;
564
+ line-height: 14px;
565
+ background: none;
566
+ color: #586069;
567
+ padding: 4px;
568
+ margin: 0 1px;
569
+ border-radius: 2px;
570
+ text-transform: none;
571
+ font-weight: normal;
572
+ overflow: visible;
573
+ outline: none;
574
+ cursor: pointer;
575
+ transition: all 0.3s;
576
+ white-space: nowrap;
577
+ }
578
+ .w-md-editor-toolbar li > button:hover,
579
+ .w-md-editor-toolbar li > button:focus {
580
+ color: #06c;
581
+ background-color: #dcdcdc;
582
+ }
583
+ .w-md-editor-toolbar li > button:active {
584
+ color: #6a57ff;
585
+ background-color: #dcdcdc;
586
+ }
587
+ .w-md-editor-toolbar li > button:disabled {
588
+ color: #ccc;
589
+ cursor: not-allowed;
590
+ }
591
+ .w-md-editor-toolbar li > button:disabled:hover {
592
+ background-color: transparent;
593
+ color: #ccc;
594
+ }
595
+ .w-md-editor-toolbar li.active > button {
596
+ color: #06c;
597
+ background-color: #e8e8e8;
598
+ }
599
+ .w-md-editor-toolbar-divider {
600
+ height: 14px;
601
+ width: 1px;
602
+ margin: -3px 3px 0 3px !important;
603
+ vertical-align: middle;
604
+ background-color: #ccc;
605
+ }
606
+
607
+ .w-md-editor-bar {
608
+ position: absolute;
609
+ cursor: s-resize;
610
+ right: 0;
611
+ margin-top: -11px;
612
+ margin-right: 0;
613
+ width: 14px;
614
+ z-index: 3;
615
+ height: 10px;
616
+ border-radius: 0 0 3px 0;
617
+ -webkit-user-select: none;
618
+ -ms-user-select: none;
619
+ user-select: none;
620
+ }
621
+ .w-md-editor-bar svg {
622
+ display: block;
623
+ margin: 0 auto;
624
+ }
625
+
626
+ .w-md-editor {
627
+ color: #24292e;
628
+ text-align: left;
629
+ box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
630
+ border-radius: 3px;
631
+ padding-bottom: 1px;
632
+ position: relative;
633
+ background-color: #fff;
634
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
635
+ }
636
+ .w-md-editor-content {
637
+ position: relative;
638
+ border-radius: 0 0 3px 0;
639
+ height: calc(100% - 39.1px);
640
+ }
641
+ .w-md-editor-input {
642
+ width: 50%;
643
+ height: 100%;
644
+ }
645
+ .w-md-editor-preview {
646
+ width: 50%;
647
+ box-sizing: border-box;
648
+ box-shadow: inset 1px 0 0 0 #dfdfe0;
649
+ position: absolute;
650
+ padding: 10px 20px;
651
+ overflow: auto;
652
+ top: 0;
653
+ right: 0;
654
+ bottom: 0;
655
+ }
656
+ .w-md-editor-preview .anchor {
657
+ display: none;
658
+ }
659
+ .w-md-editor-preview .contains-task-list {
660
+ list-style: none;
661
+ }
662
+ .w-md-editor-show-preview .w-md-editor-input {
663
+ width: 0%;
664
+ overflow: hidden;
665
+ background-color: #fdfdfd;
666
+ }
667
+ .w-md-editor-show-preview .w-md-editor-preview {
668
+ width: 100%;
669
+ box-shadow: inset 0 0 0 0;
670
+ }
671
+ .w-md-editor-show-edit .w-md-editor-input {
672
+ width: 100%;
673
+ }
674
+ .w-md-editor-show-edit .w-md-editor-preview {
675
+ width: 0%;
676
+ padding: 0;
677
+ }
678
+ .w-md-editor-fullscreen {
679
+ overflow: hidden;
680
+ position: fixed;
681
+ z-index: 99999;
682
+ top: 0;
683
+ left: 0;
684
+ right: 0;
685
+ bottom: 0;
686
+ }
687
+ .w-md-editor-fullscreen .w-md-editor-content {
688
+ height: 100%;
689
+ }
690
+