@rcarls/rc-markdown-editor 0.3.2 → 0.4.0
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/dist/custom-elements.json +214 -14
- package/dist/{rc-editor-toolbar-CcTLdYIt.js → rc-editor-toolbar-QnCEnJ2R.js} +1279 -1115
- package/dist/{rc-editor-toolbar-CcTLdYIt.js.map → rc-editor-toolbar-QnCEnJ2R.js.map} +1 -1
- package/dist/rc-markdown-editor-define.js +1 -1
- package/dist/rc-markdown-editor.js +1 -1
- package/dist/types/packages/rc-markdown-editor/src/rc-editor-toolbar.d.ts +37 -6
- package/dist/types/packages/rc-markdown-editor/src/rc-markdown-editor.d.ts +40 -6
- package/dist/types/packages/rc-markdown-editor/src/rc-markdown-editor.test.d.ts +0 -0
- package/package.json +4 -2
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"declarations": [
|
|
206
206
|
{
|
|
207
207
|
"kind": "class",
|
|
208
|
-
"description": "Formatting toolbar for `<rc-markdown-editor>`. Renders into its own light DOM
|
|
208
|
+
"description": "Formatting toolbar for `<rc-markdown-editor>`. Renders themed `rc-button`,\n`rc-select`, and `rc-toolbar` controls into its own light DOM so the parent\neditor can provide their shared appearance.\n\nActive-format properties are set by the parent editor and reflected as\n`aria-pressed` on the corresponding buttons. Heading level is shown via an\n`<rc-select>`. Code-block language is shown via a `<input>` when active.",
|
|
209
209
|
"name": "RcEditorToolbar",
|
|
210
210
|
"members": [
|
|
211
211
|
{
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"text": "string"
|
|
216
216
|
},
|
|
217
217
|
"default": "'Formatting'",
|
|
218
|
-
"description": "
|
|
218
|
+
"description": "Accessible label applied to the `rc-toolbar` container.",
|
|
219
219
|
"attribute": "label"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
@@ -225,6 +225,7 @@
|
|
|
225
225
|
"text": "boolean"
|
|
226
226
|
},
|
|
227
227
|
"default": "false",
|
|
228
|
+
"description": "Whether Bold formatting is active at the cursor.",
|
|
228
229
|
"attribute": "active-bold",
|
|
229
230
|
"reflects": true
|
|
230
231
|
},
|
|
@@ -235,6 +236,7 @@
|
|
|
235
236
|
"text": "boolean"
|
|
236
237
|
},
|
|
237
238
|
"default": "false",
|
|
239
|
+
"description": "Whether Italic formatting is active at the cursor.",
|
|
238
240
|
"attribute": "active-italic",
|
|
239
241
|
"reflects": true
|
|
240
242
|
},
|
|
@@ -245,6 +247,7 @@
|
|
|
245
247
|
"text": "boolean"
|
|
246
248
|
},
|
|
247
249
|
"default": "false",
|
|
250
|
+
"description": "Whether Underline formatting is active at the cursor.",
|
|
248
251
|
"attribute": "active-underline",
|
|
249
252
|
"reflects": true
|
|
250
253
|
},
|
|
@@ -255,6 +258,7 @@
|
|
|
255
258
|
"text": "boolean"
|
|
256
259
|
},
|
|
257
260
|
"default": "false",
|
|
261
|
+
"description": "Whether Strikethrough formatting is active at the cursor.",
|
|
258
262
|
"attribute": "active-strikethrough",
|
|
259
263
|
"reflects": true
|
|
260
264
|
},
|
|
@@ -265,6 +269,7 @@
|
|
|
265
269
|
"text": "boolean"
|
|
266
270
|
},
|
|
267
271
|
"default": "false",
|
|
272
|
+
"description": "Whether inline Code formatting is active at the cursor.",
|
|
268
273
|
"attribute": "active-code",
|
|
269
274
|
"reflects": true
|
|
270
275
|
},
|
|
@@ -275,6 +280,7 @@
|
|
|
275
280
|
"text": "boolean"
|
|
276
281
|
},
|
|
277
282
|
"default": "false",
|
|
283
|
+
"description": "Whether the cursor is inside a Link.",
|
|
278
284
|
"attribute": "active-link",
|
|
279
285
|
"reflects": true
|
|
280
286
|
},
|
|
@@ -285,6 +291,7 @@
|
|
|
285
291
|
"text": "HeadingLevel | null"
|
|
286
292
|
},
|
|
287
293
|
"default": "null",
|
|
294
|
+
"description": "Heading level active at the cursor, or `null` for paragraph text.",
|
|
288
295
|
"attribute": "active-heading"
|
|
289
296
|
},
|
|
290
297
|
{
|
|
@@ -294,6 +301,7 @@
|
|
|
294
301
|
"text": "boolean"
|
|
295
302
|
},
|
|
296
303
|
"default": "false",
|
|
304
|
+
"description": "Whether the cursor is inside a Blockquote.",
|
|
297
305
|
"attribute": "active-blockquote",
|
|
298
306
|
"reflects": true
|
|
299
307
|
},
|
|
@@ -304,6 +312,7 @@
|
|
|
304
312
|
"text": "boolean"
|
|
305
313
|
},
|
|
306
314
|
"default": "false",
|
|
315
|
+
"description": "Whether the cursor is inside a Bullet List.",
|
|
307
316
|
"attribute": "active-bullet-list",
|
|
308
317
|
"reflects": true
|
|
309
318
|
},
|
|
@@ -314,6 +323,7 @@
|
|
|
314
323
|
"text": "boolean"
|
|
315
324
|
},
|
|
316
325
|
"default": "false",
|
|
326
|
+
"description": "Whether the cursor is inside an Ordered List.",
|
|
317
327
|
"attribute": "active-ordered-list",
|
|
318
328
|
"reflects": true
|
|
319
329
|
},
|
|
@@ -324,6 +334,7 @@
|
|
|
324
334
|
"text": "boolean"
|
|
325
335
|
},
|
|
326
336
|
"default": "false",
|
|
337
|
+
"description": "Whether the cursor is inside a Code Block.",
|
|
327
338
|
"attribute": "active-code-block",
|
|
328
339
|
"reflects": true
|
|
329
340
|
},
|
|
@@ -361,6 +372,11 @@
|
|
|
361
372
|
"kind": "method",
|
|
362
373
|
"name": "_dispatch",
|
|
363
374
|
"privacy": "protected",
|
|
375
|
+
"return": {
|
|
376
|
+
"type": {
|
|
377
|
+
"text": "void"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
364
380
|
"parameters": [
|
|
365
381
|
{
|
|
366
382
|
"name": "action",
|
|
@@ -401,6 +417,48 @@
|
|
|
401
417
|
"kind": "field",
|
|
402
418
|
"name": "_onLangKeyDown",
|
|
403
419
|
"privacy": "protected"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"kind": "method",
|
|
423
|
+
"name": "_renderActionButton",
|
|
424
|
+
"privacy": "protected",
|
|
425
|
+
"return": {
|
|
426
|
+
"type": {
|
|
427
|
+
"text": "TemplateResult"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"parameters": [
|
|
431
|
+
{
|
|
432
|
+
"name": "action",
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "EditorToolbarAction"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "label",
|
|
439
|
+
"type": {
|
|
440
|
+
"text": "string"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "title",
|
|
445
|
+
"type": {
|
|
446
|
+
"text": "string"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "active",
|
|
451
|
+
"type": {
|
|
452
|
+
"text": "boolean"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "icon",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "SVGTemplateResult"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
]
|
|
404
462
|
}
|
|
405
463
|
],
|
|
406
464
|
"events": [
|
|
@@ -414,15 +472,16 @@
|
|
|
414
472
|
],
|
|
415
473
|
"attributes": [
|
|
416
474
|
{
|
|
475
|
+
"description": "Accessible label applied to the `rc-toolbar` container.",
|
|
417
476
|
"name": "label",
|
|
418
477
|
"type": {
|
|
419
478
|
"text": "string"
|
|
420
479
|
},
|
|
421
480
|
"default": "'Formatting'",
|
|
422
|
-
"description": "`aria-label` applied to the `[role=\"toolbar\"]` container.",
|
|
423
481
|
"fieldName": "label"
|
|
424
482
|
},
|
|
425
483
|
{
|
|
484
|
+
"description": "Whether Bold formatting is active at the cursor.",
|
|
426
485
|
"name": "active-bold",
|
|
427
486
|
"type": {
|
|
428
487
|
"text": "boolean"
|
|
@@ -431,6 +490,7 @@
|
|
|
431
490
|
"fieldName": "activeBold"
|
|
432
491
|
},
|
|
433
492
|
{
|
|
493
|
+
"description": "Whether Italic formatting is active at the cursor.",
|
|
434
494
|
"name": "active-italic",
|
|
435
495
|
"type": {
|
|
436
496
|
"text": "boolean"
|
|
@@ -439,6 +499,7 @@
|
|
|
439
499
|
"fieldName": "activeItalic"
|
|
440
500
|
},
|
|
441
501
|
{
|
|
502
|
+
"description": "Whether Underline formatting is active at the cursor.",
|
|
442
503
|
"name": "active-underline",
|
|
443
504
|
"type": {
|
|
444
505
|
"text": "boolean"
|
|
@@ -447,6 +508,7 @@
|
|
|
447
508
|
"fieldName": "activeUnderline"
|
|
448
509
|
},
|
|
449
510
|
{
|
|
511
|
+
"description": "Whether Strikethrough formatting is active at the cursor.",
|
|
450
512
|
"name": "active-strikethrough",
|
|
451
513
|
"type": {
|
|
452
514
|
"text": "boolean"
|
|
@@ -455,6 +517,7 @@
|
|
|
455
517
|
"fieldName": "activeStrikethrough"
|
|
456
518
|
},
|
|
457
519
|
{
|
|
520
|
+
"description": "Whether inline Code formatting is active at the cursor.",
|
|
458
521
|
"name": "active-code",
|
|
459
522
|
"type": {
|
|
460
523
|
"text": "boolean"
|
|
@@ -463,6 +526,7 @@
|
|
|
463
526
|
"fieldName": "activeCode"
|
|
464
527
|
},
|
|
465
528
|
{
|
|
529
|
+
"description": "Whether the cursor is inside a Link.",
|
|
466
530
|
"name": "active-link",
|
|
467
531
|
"type": {
|
|
468
532
|
"text": "boolean"
|
|
@@ -471,6 +535,7 @@
|
|
|
471
535
|
"fieldName": "activeLink"
|
|
472
536
|
},
|
|
473
537
|
{
|
|
538
|
+
"description": "Heading level active at the cursor, or `null` for paragraph text.",
|
|
474
539
|
"name": "active-heading",
|
|
475
540
|
"type": {
|
|
476
541
|
"text": "HeadingLevel | null"
|
|
@@ -479,6 +544,7 @@
|
|
|
479
544
|
"fieldName": "activeHeading"
|
|
480
545
|
},
|
|
481
546
|
{
|
|
547
|
+
"description": "Whether the cursor is inside a Blockquote.",
|
|
482
548
|
"name": "active-blockquote",
|
|
483
549
|
"type": {
|
|
484
550
|
"text": "boolean"
|
|
@@ -487,6 +553,7 @@
|
|
|
487
553
|
"fieldName": "activeBlockquote"
|
|
488
554
|
},
|
|
489
555
|
{
|
|
556
|
+
"description": "Whether the cursor is inside a Bullet List.",
|
|
490
557
|
"name": "active-bullet-list",
|
|
491
558
|
"type": {
|
|
492
559
|
"text": "boolean"
|
|
@@ -495,6 +562,7 @@
|
|
|
495
562
|
"fieldName": "activeBulletList"
|
|
496
563
|
},
|
|
497
564
|
{
|
|
565
|
+
"description": "Whether the cursor is inside an Ordered List.",
|
|
498
566
|
"name": "active-ordered-list",
|
|
499
567
|
"type": {
|
|
500
568
|
"text": "boolean"
|
|
@@ -503,6 +571,7 @@
|
|
|
503
571
|
"fieldName": "activeOrderedList"
|
|
504
572
|
},
|
|
505
573
|
{
|
|
574
|
+
"description": "Whether the cursor is inside a Code Block.",
|
|
506
575
|
"name": "active-code-block",
|
|
507
576
|
"type": {
|
|
508
577
|
"text": "boolean"
|
|
@@ -511,21 +580,21 @@
|
|
|
511
580
|
"fieldName": "activeCodeBlock"
|
|
512
581
|
},
|
|
513
582
|
{
|
|
583
|
+
"description": "Language of the code block at the cursor. `null` means not in a code block\n(hides the language input). `''` means no language is set.",
|
|
514
584
|
"name": "code-language",
|
|
515
585
|
"type": {
|
|
516
586
|
"text": "string | null"
|
|
517
587
|
},
|
|
518
588
|
"default": "null",
|
|
519
|
-
"description": "Language of the code block at the cursor. `null` means not in a code block\n(hides the language input). `''` means no language is set.",
|
|
520
589
|
"fieldName": "codeLanguage"
|
|
521
590
|
},
|
|
522
591
|
{
|
|
592
|
+
"description": "Whether the editor is in source mode.",
|
|
523
593
|
"name": "source-mode",
|
|
524
594
|
"type": {
|
|
525
595
|
"text": "boolean"
|
|
526
596
|
},
|
|
527
597
|
"default": "false",
|
|
528
|
-
"description": "Whether the editor is in source mode.",
|
|
529
598
|
"fieldName": "sourceMode"
|
|
530
599
|
}
|
|
531
600
|
],
|
|
@@ -556,6 +625,114 @@
|
|
|
556
625
|
"kind": "class",
|
|
557
626
|
"description": "Rich/source Markdown editor with a formatting toolbar, backed by rc-textarea.\n\n- **Rich mode (default)**: A `contenteditable` div shows micromark-rendered\n HTML. DOM mutations are converted back to markdown via turndown and\n written to the backing `<textarea>` for form participation.\n- **Source mode**: An `<rc-textarea>` instance shows the markdown source\n with live decorations. Toggle via `source-mode` attribute or Ctrl+Shift+S.\n\nConsumer markup follows the same progressive-enhancement contract as\n`<rc-textarea>`:\n\n```html\n<rc-markdown-editor>\n <label for=\"body\">Content</label>\n <textarea id=\"body\" name=\"body\"></textarea>\n</rc-markdown-editor>\n```",
|
|
558
627
|
"name": "RcMarkdownEditor",
|
|
628
|
+
"cssProperties": [
|
|
629
|
+
{
|
|
630
|
+
"description": "Font family of the rich-text view",
|
|
631
|
+
"name": "--rme-font-family",
|
|
632
|
+
"default": "inherit"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"description": "Font size of the rich-text view",
|
|
636
|
+
"name": "--rme-font-size",
|
|
637
|
+
"default": "inherit"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"description": "Line height of the rich-text view",
|
|
641
|
+
"name": "--rme-line-height",
|
|
642
|
+
"default": "1.6"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"description": "Padding inside the rich-text view",
|
|
646
|
+
"name": "--rme-padding",
|
|
647
|
+
"default": "0.75em 1em"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"description": "Background color of the rich-text view",
|
|
651
|
+
"name": "--rme-background",
|
|
652
|
+
"default": "Canvas"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"description": "Text color of the rich-text view",
|
|
656
|
+
"name": "--rme-color",
|
|
657
|
+
"default": "CanvasText"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"description": "Border around the rich-text view",
|
|
661
|
+
"name": "--rme-border",
|
|
662
|
+
"default": "1px solid ButtonBorder"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"description": "Border radius of the rich-text view",
|
|
666
|
+
"name": "--rme-border-radius",
|
|
667
|
+
"default": "0 0 4px 4px"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"description": "Focus ring outline on the rich-text view",
|
|
671
|
+
"name": "--rme-focus-outline",
|
|
672
|
+
"default": "2px solid Highlight"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"description": "Font family of the source editor",
|
|
676
|
+
"name": "--rme-src-font-family",
|
|
677
|
+
"default": "'Cascadia Code', 'Fira Code', ui-monospace, monospace"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"description": "Gap between toolbar buttons",
|
|
681
|
+
"name": "--rme-toolbar-gap",
|
|
682
|
+
"default": "1px"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"description": "Minimum inline and block size of toolbar buttons",
|
|
686
|
+
"name": "--rme-toolbar-button-size",
|
|
687
|
+
"default": "2rem"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"description": "Source-mode heading token color",
|
|
691
|
+
"name": "--rme-src-heading-color",
|
|
692
|
+
"default": "light-dark(#1d6fc4, #82b4f5)"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"description": "Source-mode inline/fenced code token color",
|
|
696
|
+
"name": "--rme-src-code-color",
|
|
697
|
+
"default": "light-dark(#c94a1a, #f09060)"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"description": "Source-mode link token color",
|
|
701
|
+
"name": "--rme-src-link-color",
|
|
702
|
+
"default": "light-dark(#0370b0, #60b8e8)"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"description": "Source-mode blockquote token color",
|
|
706
|
+
"name": "--rme-src-blockquote-color",
|
|
707
|
+
"default": "light-dark(#2d7a42, #70b880)"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"description": "Source-mode list marker token color",
|
|
711
|
+
"name": "--rme-src-list-color",
|
|
712
|
+
"default": "light-dark(#7a5c0a, #d4ac48)"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"description": "Source-mode strikethrough token color",
|
|
716
|
+
"name": "--rme-src-dim-color",
|
|
717
|
+
"default": "GrayText"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"cssParts": [
|
|
721
|
+
{
|
|
722
|
+
"description": "The `<rc-editor-toolbar>` element.",
|
|
723
|
+
"name": "toolbar"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"description": "The contenteditable rich-text view.",
|
|
727
|
+
"name": "rich-view"
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"slots": [
|
|
731
|
+
{
|
|
732
|
+
"description": "Accepts a native `<textarea>` element (and optional `<label>`) for form wiring.",
|
|
733
|
+
"name": ""
|
|
734
|
+
}
|
|
735
|
+
],
|
|
559
736
|
"members": [
|
|
560
737
|
{
|
|
561
738
|
"kind": "field",
|
|
@@ -589,6 +766,7 @@
|
|
|
589
766
|
"type": {
|
|
590
767
|
"text": "string"
|
|
591
768
|
},
|
|
769
|
+
"description": "Initial uncontrolled Markdown value.",
|
|
592
770
|
"attribute": "default-value"
|
|
593
771
|
},
|
|
594
772
|
{
|
|
@@ -596,7 +774,9 @@
|
|
|
596
774
|
"name": "value",
|
|
597
775
|
"type": {
|
|
598
776
|
"text": "string"
|
|
599
|
-
}
|
|
777
|
+
},
|
|
778
|
+
"description": "Current Markdown value. Host writes are silent.",
|
|
779
|
+
"attribute": "value"
|
|
600
780
|
},
|
|
601
781
|
{
|
|
602
782
|
"kind": "field",
|
|
@@ -630,6 +810,7 @@
|
|
|
630
810
|
"type": {
|
|
631
811
|
"text": "boolean"
|
|
632
812
|
},
|
|
813
|
+
"description": "Initial uncontrolled source-mode state.",
|
|
633
814
|
"attribute": "default-source-mode"
|
|
634
815
|
},
|
|
635
816
|
{
|
|
@@ -638,6 +819,7 @@
|
|
|
638
819
|
"type": {
|
|
639
820
|
"text": "boolean"
|
|
640
821
|
},
|
|
822
|
+
"description": "Controlled: show the markdown source editor instead of the rich view.\nHost writes are silent; toolbar/keyboard toggles dispatch `rc-mode-change`.",
|
|
641
823
|
"attribute": "source-mode",
|
|
642
824
|
"reflects": true
|
|
643
825
|
},
|
|
@@ -759,6 +941,15 @@
|
|
|
759
941
|
"privacy": "protected",
|
|
760
942
|
"default": "null"
|
|
761
943
|
},
|
|
944
|
+
{
|
|
945
|
+
"kind": "field",
|
|
946
|
+
"name": "_renderedMode",
|
|
947
|
+
"type": {
|
|
948
|
+
"text": "EditorMode | null"
|
|
949
|
+
},
|
|
950
|
+
"privacy": "protected",
|
|
951
|
+
"default": "null"
|
|
952
|
+
},
|
|
762
953
|
{
|
|
763
954
|
"kind": "field",
|
|
764
955
|
"name": "_firstUpdatedDone",
|
|
@@ -1125,40 +1316,49 @@
|
|
|
1125
1316
|
],
|
|
1126
1317
|
"attributes": [
|
|
1127
1318
|
{
|
|
1319
|
+
"description": "Show the formatting toolbar.",
|
|
1320
|
+
"name": "toolbar",
|
|
1128
1321
|
"type": {
|
|
1129
1322
|
"text": "boolean"
|
|
1130
1323
|
},
|
|
1131
|
-
"description": "Show the formatting toolbar.",
|
|
1132
|
-
"name": "toolbar",
|
|
1133
1324
|
"default": "true",
|
|
1134
1325
|
"fieldName": "toolbar"
|
|
1135
1326
|
},
|
|
1136
1327
|
{
|
|
1328
|
+
"description": "Controlled: show the markdown source editor instead of the rich view.\nHost writes are silent; toolbar/keyboard toggles dispatch `rc-mode-change`.",
|
|
1329
|
+
"name": "source-mode",
|
|
1137
1330
|
"type": {
|
|
1138
1331
|
"text": "boolean"
|
|
1139
1332
|
},
|
|
1140
|
-
"description": "Controlled: show the markdown source editor.",
|
|
1141
|
-
"name": "source-mode",
|
|
1142
1333
|
"fieldName": "sourceMode"
|
|
1143
1334
|
},
|
|
1144
1335
|
{
|
|
1336
|
+
"description": "Initial uncontrolled source-mode state.",
|
|
1337
|
+
"name": "default-source-mode",
|
|
1145
1338
|
"type": {
|
|
1146
1339
|
"text": "boolean"
|
|
1147
1340
|
},
|
|
1148
|
-
"description": "Uncontrolled initial source-mode state.",
|
|
1149
|
-
"name": "default-source-mode",
|
|
1150
1341
|
"fieldName": "defaultSourceMode"
|
|
1151
1342
|
},
|
|
1152
1343
|
{
|
|
1344
|
+
"description": "Make the editor read-only.",
|
|
1345
|
+
"name": "read-only",
|
|
1153
1346
|
"type": {
|
|
1154
1347
|
"text": "boolean"
|
|
1155
1348
|
},
|
|
1156
|
-
"description": "Make the editor read-only.",
|
|
1157
|
-
"name": "read-only",
|
|
1158
1349
|
"default": "false",
|
|
1159
1350
|
"fieldName": "readOnly"
|
|
1160
1351
|
},
|
|
1161
1352
|
{
|
|
1353
|
+
"description": "Current Markdown value. Host writes are silent.",
|
|
1354
|
+
"name": "value",
|
|
1355
|
+
"type": {
|
|
1356
|
+
"text": "string"
|
|
1357
|
+
},
|
|
1358
|
+
"fieldName": "value"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"description": "Initial uncontrolled Markdown value.",
|
|
1162
1362
|
"name": "default-value",
|
|
1163
1363
|
"type": {
|
|
1164
1364
|
"text": "string"
|