@pie-element/matrix 0.39.3-next.8 → 0.39.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.
@@ -109,6 +109,149 @@
109
109
  "title": "disabled"
110
110
  }
111
111
  }
112
+ },
113
+ "languageCharacters": {
114
+ "title": "EditableHtmlButtonConfigure",
115
+ "type": "object",
116
+ "properties": {
117
+ "disabled": {
118
+ "description": "Indicates if the plugin is disabled or not",
119
+ "type": "boolean",
120
+ "title": "disabled"
121
+ }
122
+ }
123
+ },
124
+ "bold": {
125
+ "title": "EditableHtmlButtonConfigure",
126
+ "type": "object",
127
+ "properties": {
128
+ "disabled": {
129
+ "description": "Indicates if the plugin is disabled or not",
130
+ "type": "boolean",
131
+ "title": "disabled"
132
+ }
133
+ }
134
+ },
135
+ "html": {
136
+ "title": "EditableHtmlButtonConfigure",
137
+ "type": "object",
138
+ "properties": {
139
+ "disabled": {
140
+ "description": "Indicates if the plugin is disabled or not",
141
+ "type": "boolean",
142
+ "title": "disabled"
143
+ }
144
+ }
145
+ },
146
+ "italic": {
147
+ "title": "EditableHtmlButtonConfigure",
148
+ "type": "object",
149
+ "properties": {
150
+ "disabled": {
151
+ "description": "Indicates if the plugin is disabled or not",
152
+ "type": "boolean",
153
+ "title": "disabled"
154
+ }
155
+ }
156
+ },
157
+ "ol_list": {
158
+ "title": "EditableHtmlButtonConfigure",
159
+ "type": "object",
160
+ "properties": {
161
+ "disabled": {
162
+ "description": "Indicates if the plugin is disabled or not",
163
+ "type": "boolean",
164
+ "title": "disabled"
165
+ }
166
+ }
167
+ },
168
+ "redo": {
169
+ "title": "EditableHtmlButtonConfigure",
170
+ "type": "object",
171
+ "properties": {
172
+ "disabled": {
173
+ "description": "Indicates if the plugin is disabled or not",
174
+ "type": "boolean",
175
+ "title": "disabled"
176
+ }
177
+ }
178
+ },
179
+ "strikethrough": {
180
+ "title": "EditableHtmlButtonConfigure",
181
+ "type": "object",
182
+ "properties": {
183
+ "disabled": {
184
+ "description": "Indicates if the plugin is disabled or not",
185
+ "type": "boolean",
186
+ "title": "disabled"
187
+ }
188
+ }
189
+ },
190
+ "sub": {
191
+ "title": "EditableHtmlButtonConfigure",
192
+ "type": "object",
193
+ "properties": {
194
+ "disabled": {
195
+ "description": "Indicates if the plugin is disabled or not",
196
+ "type": "boolean",
197
+ "title": "disabled"
198
+ }
199
+ }
200
+ },
201
+ "sup": {
202
+ "title": "EditableHtmlButtonConfigure",
203
+ "type": "object",
204
+ "properties": {
205
+ "disabled": {
206
+ "description": "Indicates if the plugin is disabled or not",
207
+ "type": "boolean",
208
+ "title": "disabled"
209
+ }
210
+ }
211
+ },
212
+ "table": {
213
+ "title": "EditableHtmlButtonConfigure",
214
+ "type": "object",
215
+ "properties": {
216
+ "disabled": {
217
+ "description": "Indicates if the plugin is disabled or not",
218
+ "type": "boolean",
219
+ "title": "disabled"
220
+ }
221
+ }
222
+ },
223
+ "ul_list": {
224
+ "title": "EditableHtmlButtonConfigure",
225
+ "type": "object",
226
+ "properties": {
227
+ "disabled": {
228
+ "description": "Indicates if the plugin is disabled or not",
229
+ "type": "boolean",
230
+ "title": "disabled"
231
+ }
232
+ }
233
+ },
234
+ "underline": {
235
+ "title": "EditableHtmlButtonConfigure",
236
+ "type": "object",
237
+ "properties": {
238
+ "disabled": {
239
+ "description": "Indicates if the plugin is disabled or not",
240
+ "type": "boolean",
241
+ "title": "disabled"
242
+ }
243
+ }
244
+ },
245
+ "undo": {
246
+ "title": "EditableHtmlButtonConfigure",
247
+ "type": "object",
248
+ "properties": {
249
+ "disabled": {
250
+ "description": "Indicates if the plugin is disabled or not",
251
+ "type": "boolean",
252
+ "title": "disabled"
253
+ }
254
+ }
112
255
  }
113
256
  }
114
257
  },
@@ -243,35 +386,8 @@
243
386
  "title": "disabled"
244
387
  }
245
388
  }
246
- }
247
- }
248
- },
249
- "required": {
250
- "description": "Indicates if the item is required and the value cannot be empty",
251
- "type": "boolean",
252
- "title": "required"
253
- },
254
- "settings": {
255
- "description": "Indicates if the item has to be displayed in the Settings Panel",
256
- "type": "boolean",
257
- "title": "settings"
258
- },
259
- "label": {
260
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
261
- "type": "string",
262
- "title": "label"
263
- }
264
- }
265
- },
266
- "prompt": {
267
- "title": "EditableHtmlPluginConfigureRequired",
268
- "type": "object",
269
- "properties": {
270
- "inputConfiguration": {
271
- "title": "EditableHtmlConfigureProp",
272
- "type": "object",
273
- "properties": {
274
- "math": {
389
+ },
390
+ "languageCharacters": {
275
391
  "title": "EditableHtmlButtonConfigure",
276
392
  "type": "object",
277
393
  "properties": {
@@ -282,7 +398,7 @@
282
398
  }
283
399
  }
284
400
  },
285
- "audio": {
401
+ "bold": {
286
402
  "title": "EditableHtmlButtonConfigure",
287
403
  "type": "object",
288
404
  "properties": {
@@ -293,7 +409,7 @@
293
409
  }
294
410
  }
295
411
  },
296
- "video": {
412
+ "html": {
297
413
  "title": "EditableHtmlButtonConfigure",
298
414
  "type": "object",
299
415
  "properties": {
@@ -304,7 +420,7 @@
304
420
  }
305
421
  }
306
422
  },
307
- "image": {
423
+ "italic": {
308
424
  "title": "EditableHtmlButtonConfigure",
309
425
  "type": "object",
310
426
  "properties": {
@@ -315,44 +431,18 @@
315
431
  }
316
432
  }
317
433
  },
318
- "customPlugins": {
319
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
320
- "type": "array",
321
- "items": {
322
- "title": "CustomPlugin",
323
- "type": "object",
324
- "properties": {
325
- "event": {
326
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
327
- "type": "string",
328
- "title": "event"
329
- },
330
- "iconAlt": {
331
- "description": "The alt for the custom button icon",
332
- "type": "string",
333
- "title": "iconAlt"
334
- },
335
- "iconType": {
336
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
337
- "type": "string",
338
- "title": "iconType"
339
- },
340
- "icon": {
341
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
342
- "type": "string",
343
- "title": "icon"
344
- }
345
- },
346
- "required": [
347
- "event",
348
- "icon",
349
- "iconAlt",
350
- "iconType"
351
- ]
352
- },
353
- "title": "customPlugins"
434
+ "ol_list": {
435
+ "title": "EditableHtmlButtonConfigure",
436
+ "type": "object",
437
+ "properties": {
438
+ "disabled": {
439
+ "description": "Indicates if the plugin is disabled or not",
440
+ "type": "boolean",
441
+ "title": "disabled"
442
+ }
443
+ }
354
444
  },
355
- "blockquote": {
445
+ "redo": {
356
446
  "title": "EditableHtmlButtonConfigure",
357
447
  "type": "object",
358
448
  "properties": {
@@ -363,7 +453,7 @@
363
453
  }
364
454
  }
365
455
  },
366
- "h3": {
456
+ "strikethrough": {
367
457
  "title": "EditableHtmlButtonConfigure",
368
458
  "type": "object",
369
459
  "properties": {
@@ -373,95 +463,592 @@
373
463
  "title": "disabled"
374
464
  }
375
465
  }
376
- }
377
- }
378
- },
379
- "required": {
380
- "description": "Indicates if the item is required and the value cannot be empty",
381
- "type": "boolean",
382
- "title": "required"
383
- },
384
- "settings": {
385
- "description": "Indicates if the item has to be displayed in the Settings Panel",
386
- "type": "boolean",
387
- "title": "settings"
388
- },
389
- "label": {
390
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
391
- "type": "string",
392
- "title": "label"
393
- }
394
- }
395
- },
396
- "showPrompt": {
397
- "description": "Determines whether prompt field will be displayed or not",
398
- "default": true,
399
- "type": "boolean",
400
- "title": "showPrompt"
401
- },
402
- "promptLabel": {
403
- "description": "The label for the item stem/prompt field",
404
- "default": "Item Stemm",
405
- "type": "string",
406
- "title": "promptLabel"
407
- },
408
- "contentDimensions": {
409
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
410
- "default": ": {}",
411
- "type": "object",
412
- "properties": {
413
- "maxHeight": {
414
- "description": "Indicates the max height of the authoring container",
415
- "default": "undefined",
416
- "type": [
417
- "string",
418
- "number"
419
- ],
420
- "title": "maxHeight"
466
+ },
467
+ "sub": {
468
+ "title": "EditableHtmlButtonConfigure",
469
+ "type": "object",
470
+ "properties": {
471
+ "disabled": {
472
+ "description": "Indicates if the plugin is disabled or not",
473
+ "type": "boolean",
474
+ "title": "disabled"
475
+ }
476
+ }
477
+ },
478
+ "sup": {
479
+ "title": "EditableHtmlButtonConfigure",
480
+ "type": "object",
481
+ "properties": {
482
+ "disabled": {
483
+ "description": "Indicates if the plugin is disabled or not",
484
+ "type": "boolean",
485
+ "title": "disabled"
486
+ }
487
+ }
488
+ },
489
+ "table": {
490
+ "title": "EditableHtmlButtonConfigure",
491
+ "type": "object",
492
+ "properties": {
493
+ "disabled": {
494
+ "description": "Indicates if the plugin is disabled or not",
495
+ "type": "boolean",
496
+ "title": "disabled"
497
+ }
498
+ }
499
+ },
500
+ "ul_list": {
501
+ "title": "EditableHtmlButtonConfigure",
502
+ "type": "object",
503
+ "properties": {
504
+ "disabled": {
505
+ "description": "Indicates if the plugin is disabled or not",
506
+ "type": "boolean",
507
+ "title": "disabled"
508
+ }
509
+ }
510
+ },
511
+ "underline": {
512
+ "title": "EditableHtmlButtonConfigure",
513
+ "type": "object",
514
+ "properties": {
515
+ "disabled": {
516
+ "description": "Indicates if the plugin is disabled or not",
517
+ "type": "boolean",
518
+ "title": "disabled"
519
+ }
520
+ }
521
+ },
522
+ "undo": {
523
+ "title": "EditableHtmlButtonConfigure",
524
+ "type": "object",
525
+ "properties": {
526
+ "disabled": {
527
+ "description": "Indicates if the plugin is disabled or not",
528
+ "type": "boolean",
529
+ "title": "disabled"
530
+ }
531
+ }
532
+ }
533
+ }
534
+ },
535
+ "required": {
536
+ "description": "Indicates if the item is required and the value cannot be empty",
537
+ "type": "boolean",
538
+ "title": "required"
539
+ },
540
+ "settings": {
541
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
542
+ "type": "boolean",
543
+ "title": "settings"
544
+ },
545
+ "label": {
546
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
547
+ "type": "string",
548
+ "title": "label"
549
+ }
550
+ }
551
+ },
552
+ "prompt": {
553
+ "title": "EditableHtmlPluginConfigureRequired",
554
+ "type": "object",
555
+ "properties": {
556
+ "inputConfiguration": {
557
+ "title": "EditableHtmlConfigureProp",
558
+ "type": "object",
559
+ "properties": {
560
+ "math": {
561
+ "title": "EditableHtmlButtonConfigure",
562
+ "type": "object",
563
+ "properties": {
564
+ "disabled": {
565
+ "description": "Indicates if the plugin is disabled or not",
566
+ "type": "boolean",
567
+ "title": "disabled"
568
+ }
569
+ }
570
+ },
571
+ "audio": {
572
+ "title": "EditableHtmlButtonConfigure",
573
+ "type": "object",
574
+ "properties": {
575
+ "disabled": {
576
+ "description": "Indicates if the plugin is disabled or not",
577
+ "type": "boolean",
578
+ "title": "disabled"
579
+ }
580
+ }
581
+ },
582
+ "video": {
583
+ "title": "EditableHtmlButtonConfigure",
584
+ "type": "object",
585
+ "properties": {
586
+ "disabled": {
587
+ "description": "Indicates if the plugin is disabled or not",
588
+ "type": "boolean",
589
+ "title": "disabled"
590
+ }
591
+ }
592
+ },
593
+ "image": {
594
+ "title": "EditableHtmlButtonConfigure",
595
+ "type": "object",
596
+ "properties": {
597
+ "disabled": {
598
+ "description": "Indicates if the plugin is disabled or not",
599
+ "type": "boolean",
600
+ "title": "disabled"
601
+ }
602
+ }
603
+ },
604
+ "customPlugins": {
605
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
606
+ "type": "array",
607
+ "items": {
608
+ "title": "CustomPlugin",
609
+ "type": "object",
610
+ "properties": {
611
+ "event": {
612
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
613
+ "type": "string",
614
+ "title": "event"
615
+ },
616
+ "iconAlt": {
617
+ "description": "The alt for the custom button icon",
618
+ "type": "string",
619
+ "title": "iconAlt"
620
+ },
621
+ "iconType": {
622
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
623
+ "type": "string",
624
+ "title": "iconType"
625
+ },
626
+ "icon": {
627
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
628
+ "type": "string",
629
+ "title": "icon"
630
+ }
631
+ },
632
+ "required": [
633
+ "event",
634
+ "icon",
635
+ "iconAlt",
636
+ "iconType"
637
+ ]
638
+ },
639
+ "title": "customPlugins"
640
+ },
641
+ "blockquote": {
642
+ "title": "EditableHtmlButtonConfigure",
643
+ "type": "object",
644
+ "properties": {
645
+ "disabled": {
646
+ "description": "Indicates if the plugin is disabled or not",
647
+ "type": "boolean",
648
+ "title": "disabled"
649
+ }
650
+ }
651
+ },
652
+ "h3": {
653
+ "title": "EditableHtmlButtonConfigure",
654
+ "type": "object",
655
+ "properties": {
656
+ "disabled": {
657
+ "description": "Indicates if the plugin is disabled or not",
658
+ "type": "boolean",
659
+ "title": "disabled"
660
+ }
661
+ }
662
+ },
663
+ "languageCharacters": {
664
+ "title": "EditableHtmlButtonConfigure",
665
+ "type": "object",
666
+ "properties": {
667
+ "disabled": {
668
+ "description": "Indicates if the plugin is disabled or not",
669
+ "type": "boolean",
670
+ "title": "disabled"
671
+ }
672
+ }
673
+ },
674
+ "bold": {
675
+ "title": "EditableHtmlButtonConfigure",
676
+ "type": "object",
677
+ "properties": {
678
+ "disabled": {
679
+ "description": "Indicates if the plugin is disabled or not",
680
+ "type": "boolean",
681
+ "title": "disabled"
682
+ }
683
+ }
684
+ },
685
+ "html": {
686
+ "title": "EditableHtmlButtonConfigure",
687
+ "type": "object",
688
+ "properties": {
689
+ "disabled": {
690
+ "description": "Indicates if the plugin is disabled or not",
691
+ "type": "boolean",
692
+ "title": "disabled"
693
+ }
694
+ }
695
+ },
696
+ "italic": {
697
+ "title": "EditableHtmlButtonConfigure",
698
+ "type": "object",
699
+ "properties": {
700
+ "disabled": {
701
+ "description": "Indicates if the plugin is disabled or not",
702
+ "type": "boolean",
703
+ "title": "disabled"
704
+ }
705
+ }
706
+ },
707
+ "ol_list": {
708
+ "title": "EditableHtmlButtonConfigure",
709
+ "type": "object",
710
+ "properties": {
711
+ "disabled": {
712
+ "description": "Indicates if the plugin is disabled or not",
713
+ "type": "boolean",
714
+ "title": "disabled"
715
+ }
716
+ }
717
+ },
718
+ "redo": {
719
+ "title": "EditableHtmlButtonConfigure",
720
+ "type": "object",
721
+ "properties": {
722
+ "disabled": {
723
+ "description": "Indicates if the plugin is disabled or not",
724
+ "type": "boolean",
725
+ "title": "disabled"
726
+ }
727
+ }
728
+ },
729
+ "strikethrough": {
730
+ "title": "EditableHtmlButtonConfigure",
731
+ "type": "object",
732
+ "properties": {
733
+ "disabled": {
734
+ "description": "Indicates if the plugin is disabled or not",
735
+ "type": "boolean",
736
+ "title": "disabled"
737
+ }
738
+ }
739
+ },
740
+ "sub": {
741
+ "title": "EditableHtmlButtonConfigure",
742
+ "type": "object",
743
+ "properties": {
744
+ "disabled": {
745
+ "description": "Indicates if the plugin is disabled or not",
746
+ "type": "boolean",
747
+ "title": "disabled"
748
+ }
749
+ }
750
+ },
751
+ "sup": {
752
+ "title": "EditableHtmlButtonConfigure",
753
+ "type": "object",
754
+ "properties": {
755
+ "disabled": {
756
+ "description": "Indicates if the plugin is disabled or not",
757
+ "type": "boolean",
758
+ "title": "disabled"
759
+ }
760
+ }
761
+ },
762
+ "table": {
763
+ "title": "EditableHtmlButtonConfigure",
764
+ "type": "object",
765
+ "properties": {
766
+ "disabled": {
767
+ "description": "Indicates if the plugin is disabled or not",
768
+ "type": "boolean",
769
+ "title": "disabled"
770
+ }
771
+ }
772
+ },
773
+ "ul_list": {
774
+ "title": "EditableHtmlButtonConfigure",
775
+ "type": "object",
776
+ "properties": {
777
+ "disabled": {
778
+ "description": "Indicates if the plugin is disabled or not",
779
+ "type": "boolean",
780
+ "title": "disabled"
781
+ }
782
+ }
783
+ },
784
+ "underline": {
785
+ "title": "EditableHtmlButtonConfigure",
786
+ "type": "object",
787
+ "properties": {
788
+ "disabled": {
789
+ "description": "Indicates if the plugin is disabled or not",
790
+ "type": "boolean",
791
+ "title": "disabled"
792
+ }
793
+ }
794
+ },
795
+ "undo": {
796
+ "title": "EditableHtmlButtonConfigure",
797
+ "type": "object",
798
+ "properties": {
799
+ "disabled": {
800
+ "description": "Indicates if the plugin is disabled or not",
801
+ "type": "boolean",
802
+ "title": "disabled"
803
+ }
804
+ }
805
+ }
806
+ }
807
+ },
808
+ "required": {
809
+ "description": "Indicates if the item is required and the value cannot be empty",
810
+ "type": "boolean",
811
+ "title": "required"
812
+ },
813
+ "settings": {
814
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
815
+ "type": "boolean",
816
+ "title": "settings"
817
+ },
818
+ "label": {
819
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
820
+ "type": "string",
821
+ "title": "label"
822
+ }
823
+ }
824
+ },
825
+ "showPrompt": {
826
+ "description": "Determines whether prompt field will be displayed or not",
827
+ "default": true,
828
+ "type": "boolean",
829
+ "title": "showPrompt"
830
+ },
831
+ "promptLabel": {
832
+ "description": "The label for the item stem/prompt field",
833
+ "default": "Item Stemm",
834
+ "type": "string",
835
+ "title": "promptLabel"
836
+ },
837
+ "contentDimensions": {
838
+ "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
839
+ "default": ": {}",
840
+ "type": "object",
841
+ "properties": {
842
+ "maxHeight": {
843
+ "description": "Indicates the max height of the authoring container",
844
+ "default": "undefined",
845
+ "type": [
846
+ "string",
847
+ "number"
848
+ ],
849
+ "title": "maxHeight"
850
+ },
851
+ "maxWidth": {
852
+ "description": "Indicates the max width of the authoring container",
853
+ "default": "undefined",
854
+ "type": [
855
+ "string",
856
+ "number"
857
+ ],
858
+ "title": "maxWidth"
859
+ },
860
+ "minHeight": {
861
+ "description": "Indicates the min height of the authoring container",
862
+ "default": "undefined",
863
+ "type": [
864
+ "string",
865
+ "number"
866
+ ],
867
+ "title": "minHeight"
868
+ },
869
+ "minWidth": {
870
+ "description": "Indicates the min width of the authoring container",
871
+ "default": "undefined",
872
+ "type": [
873
+ "string",
874
+ "number"
875
+ ],
876
+ "title": "minWidth"
877
+ }
878
+ },
879
+ "title": "contentDimensions"
880
+ },
881
+ "settingsPartialScoring": {
882
+ "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
883
+ "default": true,
884
+ "type": "boolean",
885
+ "title": "settingsPartialScoring"
886
+ }
887
+ },
888
+ "definitions": {
889
+ "EditableHtmlConfigureProp": {
890
+ "title": "EditableHtmlConfigureProp",
891
+ "type": "object",
892
+ "properties": {
893
+ "math": {
894
+ "title": "EditableHtmlButtonConfigure",
895
+ "type": "object",
896
+ "properties": {
897
+ "disabled": {
898
+ "description": "Indicates if the plugin is disabled or not",
899
+ "type": "boolean",
900
+ "title": "disabled"
901
+ }
902
+ }
903
+ },
904
+ "audio": {
905
+ "title": "EditableHtmlButtonConfigure",
906
+ "type": "object",
907
+ "properties": {
908
+ "disabled": {
909
+ "description": "Indicates if the plugin is disabled or not",
910
+ "type": "boolean",
911
+ "title": "disabled"
912
+ }
913
+ }
914
+ },
915
+ "video": {
916
+ "title": "EditableHtmlButtonConfigure",
917
+ "type": "object",
918
+ "properties": {
919
+ "disabled": {
920
+ "description": "Indicates if the plugin is disabled or not",
921
+ "type": "boolean",
922
+ "title": "disabled"
923
+ }
924
+ }
925
+ },
926
+ "image": {
927
+ "title": "EditableHtmlButtonConfigure",
928
+ "type": "object",
929
+ "properties": {
930
+ "disabled": {
931
+ "description": "Indicates if the plugin is disabled or not",
932
+ "type": "boolean",
933
+ "title": "disabled"
934
+ }
935
+ }
936
+ },
937
+ "customPlugins": {
938
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
939
+ "type": "array",
940
+ "items": {
941
+ "title": "CustomPlugin",
942
+ "type": "object",
943
+ "properties": {
944
+ "event": {
945
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
946
+ "type": "string",
947
+ "title": "event"
948
+ },
949
+ "iconAlt": {
950
+ "description": "The alt for the custom button icon",
951
+ "type": "string",
952
+ "title": "iconAlt"
953
+ },
954
+ "iconType": {
955
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
956
+ "type": "string",
957
+ "title": "iconType"
958
+ },
959
+ "icon": {
960
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
961
+ "type": "string",
962
+ "title": "icon"
963
+ }
964
+ },
965
+ "required": [
966
+ "event",
967
+ "icon",
968
+ "iconAlt",
969
+ "iconType"
970
+ ]
971
+ },
972
+ "title": "customPlugins"
973
+ },
974
+ "blockquote": {
975
+ "title": "EditableHtmlButtonConfigure",
976
+ "type": "object",
977
+ "properties": {
978
+ "disabled": {
979
+ "description": "Indicates if the plugin is disabled or not",
980
+ "type": "boolean",
981
+ "title": "disabled"
982
+ }
983
+ }
984
+ },
985
+ "h3": {
986
+ "title": "EditableHtmlButtonConfigure",
987
+ "type": "object",
988
+ "properties": {
989
+ "disabled": {
990
+ "description": "Indicates if the plugin is disabled or not",
991
+ "type": "boolean",
992
+ "title": "disabled"
993
+ }
994
+ }
995
+ },
996
+ "languageCharacters": {
997
+ "title": "EditableHtmlButtonConfigure",
998
+ "type": "object",
999
+ "properties": {
1000
+ "disabled": {
1001
+ "description": "Indicates if the plugin is disabled or not",
1002
+ "type": "boolean",
1003
+ "title": "disabled"
1004
+ }
1005
+ }
1006
+ },
1007
+ "bold": {
1008
+ "title": "EditableHtmlButtonConfigure",
1009
+ "type": "object",
1010
+ "properties": {
1011
+ "disabled": {
1012
+ "description": "Indicates if the plugin is disabled or not",
1013
+ "type": "boolean",
1014
+ "title": "disabled"
1015
+ }
1016
+ }
1017
+ },
1018
+ "html": {
1019
+ "title": "EditableHtmlButtonConfigure",
1020
+ "type": "object",
1021
+ "properties": {
1022
+ "disabled": {
1023
+ "description": "Indicates if the plugin is disabled or not",
1024
+ "type": "boolean",
1025
+ "title": "disabled"
1026
+ }
1027
+ }
421
1028
  },
422
- "maxWidth": {
423
- "description": "Indicates the max width of the authoring container",
424
- "default": "undefined",
425
- "type": [
426
- "string",
427
- "number"
428
- ],
429
- "title": "maxWidth"
1029
+ "italic": {
1030
+ "title": "EditableHtmlButtonConfigure",
1031
+ "type": "object",
1032
+ "properties": {
1033
+ "disabled": {
1034
+ "description": "Indicates if the plugin is disabled or not",
1035
+ "type": "boolean",
1036
+ "title": "disabled"
1037
+ }
1038
+ }
430
1039
  },
431
- "minHeight": {
432
- "description": "Indicates the min height of the authoring container",
433
- "default": "undefined",
434
- "type": [
435
- "string",
436
- "number"
437
- ],
438
- "title": "minHeight"
1040
+ "ol_list": {
1041
+ "title": "EditableHtmlButtonConfigure",
1042
+ "type": "object",
1043
+ "properties": {
1044
+ "disabled": {
1045
+ "description": "Indicates if the plugin is disabled or not",
1046
+ "type": "boolean",
1047
+ "title": "disabled"
1048
+ }
1049
+ }
439
1050
  },
440
- "minWidth": {
441
- "description": "Indicates the min width of the authoring container",
442
- "default": "undefined",
443
- "type": [
444
- "string",
445
- "number"
446
- ],
447
- "title": "minWidth"
448
- }
449
- },
450
- "title": "contentDimensions"
451
- },
452
- "settingsPartialScoring": {
453
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
454
- "default": true,
455
- "type": "boolean",
456
- "title": "settingsPartialScoring"
457
- }
458
- },
459
- "definitions": {
460
- "EditableHtmlConfigureProp": {
461
- "title": "EditableHtmlConfigureProp",
462
- "type": "object",
463
- "properties": {
464
- "math": {
1051
+ "redo": {
465
1052
  "title": "EditableHtmlButtonConfigure",
466
1053
  "type": "object",
467
1054
  "properties": {
@@ -472,7 +1059,7 @@
472
1059
  }
473
1060
  }
474
1061
  },
475
- "audio": {
1062
+ "strikethrough": {
476
1063
  "title": "EditableHtmlButtonConfigure",
477
1064
  "type": "object",
478
1065
  "properties": {
@@ -483,7 +1070,7 @@
483
1070
  }
484
1071
  }
485
1072
  },
486
- "video": {
1073
+ "sub": {
487
1074
  "title": "EditableHtmlButtonConfigure",
488
1075
  "type": "object",
489
1076
  "properties": {
@@ -494,7 +1081,7 @@
494
1081
  }
495
1082
  }
496
1083
  },
497
- "image": {
1084
+ "sup": {
498
1085
  "title": "EditableHtmlButtonConfigure",
499
1086
  "type": "object",
500
1087
  "properties": {
@@ -505,44 +1092,18 @@
505
1092
  }
506
1093
  }
507
1094
  },
508
- "customPlugins": {
509
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
510
- "type": "array",
511
- "items": {
512
- "title": "CustomPlugin",
513
- "type": "object",
514
- "properties": {
515
- "event": {
516
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
517
- "type": "string",
518
- "title": "event"
519
- },
520
- "iconAlt": {
521
- "description": "The alt for the custom button icon",
522
- "type": "string",
523
- "title": "iconAlt"
524
- },
525
- "iconType": {
526
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
527
- "type": "string",
528
- "title": "iconType"
529
- },
530
- "icon": {
531
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
532
- "type": "string",
533
- "title": "icon"
534
- }
535
- },
536
- "required": [
537
- "event",
538
- "icon",
539
- "iconAlt",
540
- "iconType"
541
- ]
542
- },
543
- "title": "customPlugins"
1095
+ "table": {
1096
+ "title": "EditableHtmlButtonConfigure",
1097
+ "type": "object",
1098
+ "properties": {
1099
+ "disabled": {
1100
+ "description": "Indicates if the plugin is disabled or not",
1101
+ "type": "boolean",
1102
+ "title": "disabled"
1103
+ }
1104
+ }
544
1105
  },
545
- "blockquote": {
1106
+ "ul_list": {
546
1107
  "title": "EditableHtmlButtonConfigure",
547
1108
  "type": "object",
548
1109
  "properties": {
@@ -553,7 +1114,18 @@
553
1114
  }
554
1115
  }
555
1116
  },
556
- "h3": {
1117
+ "underline": {
1118
+ "title": "EditableHtmlButtonConfigure",
1119
+ "type": "object",
1120
+ "properties": {
1121
+ "disabled": {
1122
+ "description": "Indicates if the plugin is disabled or not",
1123
+ "type": "boolean",
1124
+ "title": "disabled"
1125
+ }
1126
+ }
1127
+ },
1128
+ "undo": {
557
1129
  "title": "EditableHtmlButtonConfigure",
558
1130
  "type": "object",
559
1131
  "properties": {
@@ -735,6 +1307,149 @@
735
1307
  "title": "disabled"
736
1308
  }
737
1309
  }
1310
+ },
1311
+ "languageCharacters": {
1312
+ "title": "EditableHtmlButtonConfigure",
1313
+ "type": "object",
1314
+ "properties": {
1315
+ "disabled": {
1316
+ "description": "Indicates if the plugin is disabled or not",
1317
+ "type": "boolean",
1318
+ "title": "disabled"
1319
+ }
1320
+ }
1321
+ },
1322
+ "bold": {
1323
+ "title": "EditableHtmlButtonConfigure",
1324
+ "type": "object",
1325
+ "properties": {
1326
+ "disabled": {
1327
+ "description": "Indicates if the plugin is disabled or not",
1328
+ "type": "boolean",
1329
+ "title": "disabled"
1330
+ }
1331
+ }
1332
+ },
1333
+ "html": {
1334
+ "title": "EditableHtmlButtonConfigure",
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "disabled": {
1338
+ "description": "Indicates if the plugin is disabled or not",
1339
+ "type": "boolean",
1340
+ "title": "disabled"
1341
+ }
1342
+ }
1343
+ },
1344
+ "italic": {
1345
+ "title": "EditableHtmlButtonConfigure",
1346
+ "type": "object",
1347
+ "properties": {
1348
+ "disabled": {
1349
+ "description": "Indicates if the plugin is disabled or not",
1350
+ "type": "boolean",
1351
+ "title": "disabled"
1352
+ }
1353
+ }
1354
+ },
1355
+ "ol_list": {
1356
+ "title": "EditableHtmlButtonConfigure",
1357
+ "type": "object",
1358
+ "properties": {
1359
+ "disabled": {
1360
+ "description": "Indicates if the plugin is disabled or not",
1361
+ "type": "boolean",
1362
+ "title": "disabled"
1363
+ }
1364
+ }
1365
+ },
1366
+ "redo": {
1367
+ "title": "EditableHtmlButtonConfigure",
1368
+ "type": "object",
1369
+ "properties": {
1370
+ "disabled": {
1371
+ "description": "Indicates if the plugin is disabled or not",
1372
+ "type": "boolean",
1373
+ "title": "disabled"
1374
+ }
1375
+ }
1376
+ },
1377
+ "strikethrough": {
1378
+ "title": "EditableHtmlButtonConfigure",
1379
+ "type": "object",
1380
+ "properties": {
1381
+ "disabled": {
1382
+ "description": "Indicates if the plugin is disabled or not",
1383
+ "type": "boolean",
1384
+ "title": "disabled"
1385
+ }
1386
+ }
1387
+ },
1388
+ "sub": {
1389
+ "title": "EditableHtmlButtonConfigure",
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "disabled": {
1393
+ "description": "Indicates if the plugin is disabled or not",
1394
+ "type": "boolean",
1395
+ "title": "disabled"
1396
+ }
1397
+ }
1398
+ },
1399
+ "sup": {
1400
+ "title": "EditableHtmlButtonConfigure",
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "disabled": {
1404
+ "description": "Indicates if the plugin is disabled or not",
1405
+ "type": "boolean",
1406
+ "title": "disabled"
1407
+ }
1408
+ }
1409
+ },
1410
+ "table": {
1411
+ "title": "EditableHtmlButtonConfigure",
1412
+ "type": "object",
1413
+ "properties": {
1414
+ "disabled": {
1415
+ "description": "Indicates if the plugin is disabled or not",
1416
+ "type": "boolean",
1417
+ "title": "disabled"
1418
+ }
1419
+ }
1420
+ },
1421
+ "ul_list": {
1422
+ "title": "EditableHtmlButtonConfigure",
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "disabled": {
1426
+ "description": "Indicates if the plugin is disabled or not",
1427
+ "type": "boolean",
1428
+ "title": "disabled"
1429
+ }
1430
+ }
1431
+ },
1432
+ "underline": {
1433
+ "title": "EditableHtmlButtonConfigure",
1434
+ "type": "object",
1435
+ "properties": {
1436
+ "disabled": {
1437
+ "description": "Indicates if the plugin is disabled or not",
1438
+ "type": "boolean",
1439
+ "title": "disabled"
1440
+ }
1441
+ }
1442
+ },
1443
+ "undo": {
1444
+ "title": "EditableHtmlButtonConfigure",
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "disabled": {
1448
+ "description": "Indicates if the plugin is disabled or not",
1449
+ "type": "boolean",
1450
+ "title": "disabled"
1451
+ }
1452
+ }
738
1453
  }
739
1454
  }
740
1455
  },