@pie-element/drawing-response 7.22.3-next.17 → 7.22.3-next.26

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
  },
@@ -275,7 +418,346 @@
275
418
  },
276
419
  "title": "customPlugins"
277
420
  },
278
- "blockquote": {
421
+ "blockquote": {
422
+ "title": "EditableHtmlButtonConfigure",
423
+ "type": "object",
424
+ "properties": {
425
+ "disabled": {
426
+ "description": "Indicates if the plugin is disabled or not",
427
+ "type": "boolean",
428
+ "title": "disabled"
429
+ }
430
+ }
431
+ },
432
+ "h3": {
433
+ "title": "EditableHtmlButtonConfigure",
434
+ "type": "object",
435
+ "properties": {
436
+ "disabled": {
437
+ "description": "Indicates if the plugin is disabled or not",
438
+ "type": "boolean",
439
+ "title": "disabled"
440
+ }
441
+ }
442
+ },
443
+ "languageCharacters": {
444
+ "title": "EditableHtmlButtonConfigure",
445
+ "type": "object",
446
+ "properties": {
447
+ "disabled": {
448
+ "description": "Indicates if the plugin is disabled or not",
449
+ "type": "boolean",
450
+ "title": "disabled"
451
+ }
452
+ }
453
+ },
454
+ "bold": {
455
+ "title": "EditableHtmlButtonConfigure",
456
+ "type": "object",
457
+ "properties": {
458
+ "disabled": {
459
+ "description": "Indicates if the plugin is disabled or not",
460
+ "type": "boolean",
461
+ "title": "disabled"
462
+ }
463
+ }
464
+ },
465
+ "html": {
466
+ "title": "EditableHtmlButtonConfigure",
467
+ "type": "object",
468
+ "properties": {
469
+ "disabled": {
470
+ "description": "Indicates if the plugin is disabled or not",
471
+ "type": "boolean",
472
+ "title": "disabled"
473
+ }
474
+ }
475
+ },
476
+ "italic": {
477
+ "title": "EditableHtmlButtonConfigure",
478
+ "type": "object",
479
+ "properties": {
480
+ "disabled": {
481
+ "description": "Indicates if the plugin is disabled or not",
482
+ "type": "boolean",
483
+ "title": "disabled"
484
+ }
485
+ }
486
+ },
487
+ "ol_list": {
488
+ "title": "EditableHtmlButtonConfigure",
489
+ "type": "object",
490
+ "properties": {
491
+ "disabled": {
492
+ "description": "Indicates if the plugin is disabled or not",
493
+ "type": "boolean",
494
+ "title": "disabled"
495
+ }
496
+ }
497
+ },
498
+ "redo": {
499
+ "title": "EditableHtmlButtonConfigure",
500
+ "type": "object",
501
+ "properties": {
502
+ "disabled": {
503
+ "description": "Indicates if the plugin is disabled or not",
504
+ "type": "boolean",
505
+ "title": "disabled"
506
+ }
507
+ }
508
+ },
509
+ "strikethrough": {
510
+ "title": "EditableHtmlButtonConfigure",
511
+ "type": "object",
512
+ "properties": {
513
+ "disabled": {
514
+ "description": "Indicates if the plugin is disabled or not",
515
+ "type": "boolean",
516
+ "title": "disabled"
517
+ }
518
+ }
519
+ },
520
+ "sub": {
521
+ "title": "EditableHtmlButtonConfigure",
522
+ "type": "object",
523
+ "properties": {
524
+ "disabled": {
525
+ "description": "Indicates if the plugin is disabled or not",
526
+ "type": "boolean",
527
+ "title": "disabled"
528
+ }
529
+ }
530
+ },
531
+ "sup": {
532
+ "title": "EditableHtmlButtonConfigure",
533
+ "type": "object",
534
+ "properties": {
535
+ "disabled": {
536
+ "description": "Indicates if the plugin is disabled or not",
537
+ "type": "boolean",
538
+ "title": "disabled"
539
+ }
540
+ }
541
+ },
542
+ "table": {
543
+ "title": "EditableHtmlButtonConfigure",
544
+ "type": "object",
545
+ "properties": {
546
+ "disabled": {
547
+ "description": "Indicates if the plugin is disabled or not",
548
+ "type": "boolean",
549
+ "title": "disabled"
550
+ }
551
+ }
552
+ },
553
+ "ul_list": {
554
+ "title": "EditableHtmlButtonConfigure",
555
+ "type": "object",
556
+ "properties": {
557
+ "disabled": {
558
+ "description": "Indicates if the plugin is disabled or not",
559
+ "type": "boolean",
560
+ "title": "disabled"
561
+ }
562
+ }
563
+ },
564
+ "underline": {
565
+ "title": "EditableHtmlButtonConfigure",
566
+ "type": "object",
567
+ "properties": {
568
+ "disabled": {
569
+ "description": "Indicates if the plugin is disabled or not",
570
+ "type": "boolean",
571
+ "title": "disabled"
572
+ }
573
+ }
574
+ },
575
+ "undo": {
576
+ "title": "EditableHtmlButtonConfigure",
577
+ "type": "object",
578
+ "properties": {
579
+ "disabled": {
580
+ "description": "Indicates if the plugin is disabled or not",
581
+ "type": "boolean",
582
+ "title": "disabled"
583
+ }
584
+ }
585
+ }
586
+ }
587
+ },
588
+ "required": {
589
+ "description": "Indicates if the item is required and the value cannot be empty",
590
+ "type": "boolean",
591
+ "title": "required"
592
+ },
593
+ "settings": {
594
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
595
+ "type": "boolean",
596
+ "title": "settings"
597
+ },
598
+ "label": {
599
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
600
+ "type": "string",
601
+ "title": "label"
602
+ }
603
+ }
604
+ },
605
+ "prompt": {
606
+ "title": "EditableHtmlPluginConfigureRequired",
607
+ "type": "object",
608
+ "properties": {
609
+ "inputConfiguration": {
610
+ "title": "EditableHtmlConfigureProp",
611
+ "type": "object",
612
+ "properties": {
613
+ "math": {
614
+ "title": "EditableHtmlButtonConfigure",
615
+ "type": "object",
616
+ "properties": {
617
+ "disabled": {
618
+ "description": "Indicates if the plugin is disabled or not",
619
+ "type": "boolean",
620
+ "title": "disabled"
621
+ }
622
+ }
623
+ },
624
+ "audio": {
625
+ "title": "EditableHtmlButtonConfigure",
626
+ "type": "object",
627
+ "properties": {
628
+ "disabled": {
629
+ "description": "Indicates if the plugin is disabled or not",
630
+ "type": "boolean",
631
+ "title": "disabled"
632
+ }
633
+ }
634
+ },
635
+ "video": {
636
+ "title": "EditableHtmlButtonConfigure",
637
+ "type": "object",
638
+ "properties": {
639
+ "disabled": {
640
+ "description": "Indicates if the plugin is disabled or not",
641
+ "type": "boolean",
642
+ "title": "disabled"
643
+ }
644
+ }
645
+ },
646
+ "image": {
647
+ "title": "EditableHtmlButtonConfigure",
648
+ "type": "object",
649
+ "properties": {
650
+ "disabled": {
651
+ "description": "Indicates if the plugin is disabled or not",
652
+ "type": "boolean",
653
+ "title": "disabled"
654
+ }
655
+ }
656
+ },
657
+ "customPlugins": {
658
+ "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.",
659
+ "type": "array",
660
+ "items": {
661
+ "title": "CustomPlugin",
662
+ "type": "object",
663
+ "properties": {
664
+ "event": {
665
+ "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\"",
666
+ "type": "string",
667
+ "title": "event"
668
+ },
669
+ "iconAlt": {
670
+ "description": "The alt for the custom button icon",
671
+ "type": "string",
672
+ "title": "iconAlt"
673
+ },
674
+ "iconType": {
675
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
676
+ "type": "string",
677
+ "title": "iconType"
678
+ },
679
+ "icon": {
680
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
681
+ "type": "string",
682
+ "title": "icon"
683
+ }
684
+ },
685
+ "required": [
686
+ "event",
687
+ "icon",
688
+ "iconAlt",
689
+ "iconType"
690
+ ]
691
+ },
692
+ "title": "customPlugins"
693
+ },
694
+ "blockquote": {
695
+ "title": "EditableHtmlButtonConfigure",
696
+ "type": "object",
697
+ "properties": {
698
+ "disabled": {
699
+ "description": "Indicates if the plugin is disabled or not",
700
+ "type": "boolean",
701
+ "title": "disabled"
702
+ }
703
+ }
704
+ },
705
+ "h3": {
706
+ "title": "EditableHtmlButtonConfigure",
707
+ "type": "object",
708
+ "properties": {
709
+ "disabled": {
710
+ "description": "Indicates if the plugin is disabled or not",
711
+ "type": "boolean",
712
+ "title": "disabled"
713
+ }
714
+ }
715
+ },
716
+ "languageCharacters": {
717
+ "title": "EditableHtmlButtonConfigure",
718
+ "type": "object",
719
+ "properties": {
720
+ "disabled": {
721
+ "description": "Indicates if the plugin is disabled or not",
722
+ "type": "boolean",
723
+ "title": "disabled"
724
+ }
725
+ }
726
+ },
727
+ "bold": {
728
+ "title": "EditableHtmlButtonConfigure",
729
+ "type": "object",
730
+ "properties": {
731
+ "disabled": {
732
+ "description": "Indicates if the plugin is disabled or not",
733
+ "type": "boolean",
734
+ "title": "disabled"
735
+ }
736
+ }
737
+ },
738
+ "html": {
739
+ "title": "EditableHtmlButtonConfigure",
740
+ "type": "object",
741
+ "properties": {
742
+ "disabled": {
743
+ "description": "Indicates if the plugin is disabled or not",
744
+ "type": "boolean",
745
+ "title": "disabled"
746
+ }
747
+ }
748
+ },
749
+ "italic": {
750
+ "title": "EditableHtmlButtonConfigure",
751
+ "type": "object",
752
+ "properties": {
753
+ "disabled": {
754
+ "description": "Indicates if the plugin is disabled or not",
755
+ "type": "boolean",
756
+ "title": "disabled"
757
+ }
758
+ }
759
+ },
760
+ "ol_list": {
279
761
  "title": "EditableHtmlButtonConfigure",
280
762
  "type": "object",
281
763
  "properties": {
@@ -286,7 +768,7 @@
286
768
  }
287
769
  }
288
770
  },
289
- "h3": {
771
+ "redo": {
290
772
  "title": "EditableHtmlButtonConfigure",
291
773
  "type": "object",
292
774
  "properties": {
@@ -296,35 +778,8 @@
296
778
  "title": "disabled"
297
779
  }
298
780
  }
299
- }
300
- }
301
- },
302
- "required": {
303
- "description": "Indicates if the item is required and the value cannot be empty",
304
- "type": "boolean",
305
- "title": "required"
306
- },
307
- "settings": {
308
- "description": "Indicates if the item has to be displayed in the Settings Panel",
309
- "type": "boolean",
310
- "title": "settings"
311
- },
312
- "label": {
313
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
314
- "type": "string",
315
- "title": "label"
316
- }
317
- }
318
- },
319
- "prompt": {
320
- "title": "EditableHtmlPluginConfigureRequired",
321
- "type": "object",
322
- "properties": {
323
- "inputConfiguration": {
324
- "title": "EditableHtmlConfigureProp",
325
- "type": "object",
326
- "properties": {
327
- "math": {
781
+ },
782
+ "strikethrough": {
328
783
  "title": "EditableHtmlButtonConfigure",
329
784
  "type": "object",
330
785
  "properties": {
@@ -335,7 +790,7 @@
335
790
  }
336
791
  }
337
792
  },
338
- "audio": {
793
+ "sub": {
339
794
  "title": "EditableHtmlButtonConfigure",
340
795
  "type": "object",
341
796
  "properties": {
@@ -346,7 +801,7 @@
346
801
  }
347
802
  }
348
803
  },
349
- "video": {
804
+ "sup": {
350
805
  "title": "EditableHtmlButtonConfigure",
351
806
  "type": "object",
352
807
  "properties": {
@@ -357,7 +812,7 @@
357
812
  }
358
813
  }
359
814
  },
360
- "image": {
815
+ "table": {
361
816
  "title": "EditableHtmlButtonConfigure",
362
817
  "type": "object",
363
818
  "properties": {
@@ -368,44 +823,18 @@
368
823
  }
369
824
  }
370
825
  },
371
- "customPlugins": {
372
- "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.",
373
- "type": "array",
374
- "items": {
375
- "title": "CustomPlugin",
376
- "type": "object",
377
- "properties": {
378
- "event": {
379
- "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\"",
380
- "type": "string",
381
- "title": "event"
382
- },
383
- "iconAlt": {
384
- "description": "The alt for the custom button icon",
385
- "type": "string",
386
- "title": "iconAlt"
387
- },
388
- "iconType": {
389
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
390
- "type": "string",
391
- "title": "iconType"
392
- },
393
- "icon": {
394
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
395
- "type": "string",
396
- "title": "icon"
397
- }
398
- },
399
- "required": [
400
- "event",
401
- "icon",
402
- "iconAlt",
403
- "iconType"
404
- ]
405
- },
406
- "title": "customPlugins"
826
+ "ul_list": {
827
+ "title": "EditableHtmlButtonConfigure",
828
+ "type": "object",
829
+ "properties": {
830
+ "disabled": {
831
+ "description": "Indicates if the plugin is disabled or not",
832
+ "type": "boolean",
833
+ "title": "disabled"
834
+ }
835
+ }
407
836
  },
408
- "blockquote": {
837
+ "underline": {
409
838
  "title": "EditableHtmlButtonConfigure",
410
839
  "type": "object",
411
840
  "properties": {
@@ -416,7 +845,7 @@
416
845
  }
417
846
  }
418
847
  },
419
- "h3": {
848
+ "undo": {
420
849
  "title": "EditableHtmlButtonConfigure",
421
850
  "type": "object",
422
851
  "properties": {
@@ -611,49 +1040,207 @@
611
1040
  ],
612
1041
  "title": "maxHeight"
613
1042
  },
614
- "maxWidth": {
615
- "description": "Indicates the max width of the authoring container",
616
- "default": "undefined",
617
- "type": [
618
- "string",
619
- "number"
620
- ],
621
- "title": "maxWidth"
1043
+ "maxWidth": {
1044
+ "description": "Indicates the max width of the authoring container",
1045
+ "default": "undefined",
1046
+ "type": [
1047
+ "string",
1048
+ "number"
1049
+ ],
1050
+ "title": "maxWidth"
1051
+ },
1052
+ "minHeight": {
1053
+ "description": "Indicates the min height of the authoring container",
1054
+ "default": "undefined",
1055
+ "type": [
1056
+ "string",
1057
+ "number"
1058
+ ],
1059
+ "title": "minHeight"
1060
+ },
1061
+ "minWidth": {
1062
+ "description": "Indicates the min width of the authoring container",
1063
+ "default": "undefined",
1064
+ "type": [
1065
+ "string",
1066
+ "number"
1067
+ ],
1068
+ "title": "minWidth"
1069
+ }
1070
+ },
1071
+ "title": "contentDimensions"
1072
+ },
1073
+ "settingsPartialScoring": {
1074
+ "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1075
+ "default": true,
1076
+ "type": "boolean",
1077
+ "title": "settingsPartialScoring"
1078
+ }
1079
+ },
1080
+ "definitions": {
1081
+ "EditableHtmlConfigureProp": {
1082
+ "title": "EditableHtmlConfigureProp",
1083
+ "type": "object",
1084
+ "properties": {
1085
+ "math": {
1086
+ "title": "EditableHtmlButtonConfigure",
1087
+ "type": "object",
1088
+ "properties": {
1089
+ "disabled": {
1090
+ "description": "Indicates if the plugin is disabled or not",
1091
+ "type": "boolean",
1092
+ "title": "disabled"
1093
+ }
1094
+ }
1095
+ },
1096
+ "audio": {
1097
+ "title": "EditableHtmlButtonConfigure",
1098
+ "type": "object",
1099
+ "properties": {
1100
+ "disabled": {
1101
+ "description": "Indicates if the plugin is disabled or not",
1102
+ "type": "boolean",
1103
+ "title": "disabled"
1104
+ }
1105
+ }
1106
+ },
1107
+ "video": {
1108
+ "title": "EditableHtmlButtonConfigure",
1109
+ "type": "object",
1110
+ "properties": {
1111
+ "disabled": {
1112
+ "description": "Indicates if the plugin is disabled or not",
1113
+ "type": "boolean",
1114
+ "title": "disabled"
1115
+ }
1116
+ }
1117
+ },
1118
+ "image": {
1119
+ "title": "EditableHtmlButtonConfigure",
1120
+ "type": "object",
1121
+ "properties": {
1122
+ "disabled": {
1123
+ "description": "Indicates if the plugin is disabled or not",
1124
+ "type": "boolean",
1125
+ "title": "disabled"
1126
+ }
1127
+ }
1128
+ },
1129
+ "customPlugins": {
1130
+ "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.",
1131
+ "type": "array",
1132
+ "items": {
1133
+ "title": "CustomPlugin",
1134
+ "type": "object",
1135
+ "properties": {
1136
+ "event": {
1137
+ "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\"",
1138
+ "type": "string",
1139
+ "title": "event"
1140
+ },
1141
+ "iconAlt": {
1142
+ "description": "The alt for the custom button icon",
1143
+ "type": "string",
1144
+ "title": "iconAlt"
1145
+ },
1146
+ "iconType": {
1147
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1148
+ "type": "string",
1149
+ "title": "iconType"
1150
+ },
1151
+ "icon": {
1152
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1153
+ "type": "string",
1154
+ "title": "icon"
1155
+ }
1156
+ },
1157
+ "required": [
1158
+ "event",
1159
+ "icon",
1160
+ "iconAlt",
1161
+ "iconType"
1162
+ ]
1163
+ },
1164
+ "title": "customPlugins"
1165
+ },
1166
+ "blockquote": {
1167
+ "title": "EditableHtmlButtonConfigure",
1168
+ "type": "object",
1169
+ "properties": {
1170
+ "disabled": {
1171
+ "description": "Indicates if the plugin is disabled or not",
1172
+ "type": "boolean",
1173
+ "title": "disabled"
1174
+ }
1175
+ }
1176
+ },
1177
+ "h3": {
1178
+ "title": "EditableHtmlButtonConfigure",
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "disabled": {
1182
+ "description": "Indicates if the plugin is disabled or not",
1183
+ "type": "boolean",
1184
+ "title": "disabled"
1185
+ }
1186
+ }
1187
+ },
1188
+ "languageCharacters": {
1189
+ "title": "EditableHtmlButtonConfigure",
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "disabled": {
1193
+ "description": "Indicates if the plugin is disabled or not",
1194
+ "type": "boolean",
1195
+ "title": "disabled"
1196
+ }
1197
+ }
1198
+ },
1199
+ "bold": {
1200
+ "title": "EditableHtmlButtonConfigure",
1201
+ "type": "object",
1202
+ "properties": {
1203
+ "disabled": {
1204
+ "description": "Indicates if the plugin is disabled or not",
1205
+ "type": "boolean",
1206
+ "title": "disabled"
1207
+ }
1208
+ }
1209
+ },
1210
+ "html": {
1211
+ "title": "EditableHtmlButtonConfigure",
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "disabled": {
1215
+ "description": "Indicates if the plugin is disabled or not",
1216
+ "type": "boolean",
1217
+ "title": "disabled"
1218
+ }
1219
+ }
1220
+ },
1221
+ "italic": {
1222
+ "title": "EditableHtmlButtonConfigure",
1223
+ "type": "object",
1224
+ "properties": {
1225
+ "disabled": {
1226
+ "description": "Indicates if the plugin is disabled or not",
1227
+ "type": "boolean",
1228
+ "title": "disabled"
1229
+ }
1230
+ }
622
1231
  },
623
- "minHeight": {
624
- "description": "Indicates the min height of the authoring container",
625
- "default": "undefined",
626
- "type": [
627
- "string",
628
- "number"
629
- ],
630
- "title": "minHeight"
1232
+ "ol_list": {
1233
+ "title": "EditableHtmlButtonConfigure",
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "disabled": {
1237
+ "description": "Indicates if the plugin is disabled or not",
1238
+ "type": "boolean",
1239
+ "title": "disabled"
1240
+ }
1241
+ }
631
1242
  },
632
- "minWidth": {
633
- "description": "Indicates the min width of the authoring container",
634
- "default": "undefined",
635
- "type": [
636
- "string",
637
- "number"
638
- ],
639
- "title": "minWidth"
640
- }
641
- },
642
- "title": "contentDimensions"
643
- },
644
- "settingsPartialScoring": {
645
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
646
- "default": true,
647
- "type": "boolean",
648
- "title": "settingsPartialScoring"
649
- }
650
- },
651
- "definitions": {
652
- "EditableHtmlConfigureProp": {
653
- "title": "EditableHtmlConfigureProp",
654
- "type": "object",
655
- "properties": {
656
- "math": {
1243
+ "redo": {
657
1244
  "title": "EditableHtmlButtonConfigure",
658
1245
  "type": "object",
659
1246
  "properties": {
@@ -664,7 +1251,7 @@
664
1251
  }
665
1252
  }
666
1253
  },
667
- "audio": {
1254
+ "strikethrough": {
668
1255
  "title": "EditableHtmlButtonConfigure",
669
1256
  "type": "object",
670
1257
  "properties": {
@@ -675,7 +1262,7 @@
675
1262
  }
676
1263
  }
677
1264
  },
678
- "video": {
1265
+ "sub": {
679
1266
  "title": "EditableHtmlButtonConfigure",
680
1267
  "type": "object",
681
1268
  "properties": {
@@ -686,7 +1273,7 @@
686
1273
  }
687
1274
  }
688
1275
  },
689
- "image": {
1276
+ "sup": {
690
1277
  "title": "EditableHtmlButtonConfigure",
691
1278
  "type": "object",
692
1279
  "properties": {
@@ -697,44 +1284,18 @@
697
1284
  }
698
1285
  }
699
1286
  },
700
- "customPlugins": {
701
- "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.",
702
- "type": "array",
703
- "items": {
704
- "title": "CustomPlugin",
705
- "type": "object",
706
- "properties": {
707
- "event": {
708
- "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\"",
709
- "type": "string",
710
- "title": "event"
711
- },
712
- "iconAlt": {
713
- "description": "The alt for the custom button icon",
714
- "type": "string",
715
- "title": "iconAlt"
716
- },
717
- "iconType": {
718
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
719
- "type": "string",
720
- "title": "iconType"
721
- },
722
- "icon": {
723
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
724
- "type": "string",
725
- "title": "icon"
726
- }
727
- },
728
- "required": [
729
- "event",
730
- "icon",
731
- "iconAlt",
732
- "iconType"
733
- ]
734
- },
735
- "title": "customPlugins"
1287
+ "table": {
1288
+ "title": "EditableHtmlButtonConfigure",
1289
+ "type": "object",
1290
+ "properties": {
1291
+ "disabled": {
1292
+ "description": "Indicates if the plugin is disabled or not",
1293
+ "type": "boolean",
1294
+ "title": "disabled"
1295
+ }
1296
+ }
736
1297
  },
737
- "blockquote": {
1298
+ "ul_list": {
738
1299
  "title": "EditableHtmlButtonConfigure",
739
1300
  "type": "object",
740
1301
  "properties": {
@@ -745,7 +1306,18 @@
745
1306
  }
746
1307
  }
747
1308
  },
748
- "h3": {
1309
+ "underline": {
1310
+ "title": "EditableHtmlButtonConfigure",
1311
+ "type": "object",
1312
+ "properties": {
1313
+ "disabled": {
1314
+ "description": "Indicates if the plugin is disabled or not",
1315
+ "type": "boolean",
1316
+ "title": "disabled"
1317
+ }
1318
+ }
1319
+ },
1320
+ "undo": {
749
1321
  "title": "EditableHtmlButtonConfigure",
750
1322
  "type": "object",
751
1323
  "properties": {
@@ -948,6 +1520,149 @@
948
1520
  "title": "disabled"
949
1521
  }
950
1522
  }
1523
+ },
1524
+ "languageCharacters": {
1525
+ "title": "EditableHtmlButtonConfigure",
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "disabled": {
1529
+ "description": "Indicates if the plugin is disabled or not",
1530
+ "type": "boolean",
1531
+ "title": "disabled"
1532
+ }
1533
+ }
1534
+ },
1535
+ "bold": {
1536
+ "title": "EditableHtmlButtonConfigure",
1537
+ "type": "object",
1538
+ "properties": {
1539
+ "disabled": {
1540
+ "description": "Indicates if the plugin is disabled or not",
1541
+ "type": "boolean",
1542
+ "title": "disabled"
1543
+ }
1544
+ }
1545
+ },
1546
+ "html": {
1547
+ "title": "EditableHtmlButtonConfigure",
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "disabled": {
1551
+ "description": "Indicates if the plugin is disabled or not",
1552
+ "type": "boolean",
1553
+ "title": "disabled"
1554
+ }
1555
+ }
1556
+ },
1557
+ "italic": {
1558
+ "title": "EditableHtmlButtonConfigure",
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "disabled": {
1562
+ "description": "Indicates if the plugin is disabled or not",
1563
+ "type": "boolean",
1564
+ "title": "disabled"
1565
+ }
1566
+ }
1567
+ },
1568
+ "ol_list": {
1569
+ "title": "EditableHtmlButtonConfigure",
1570
+ "type": "object",
1571
+ "properties": {
1572
+ "disabled": {
1573
+ "description": "Indicates if the plugin is disabled or not",
1574
+ "type": "boolean",
1575
+ "title": "disabled"
1576
+ }
1577
+ }
1578
+ },
1579
+ "redo": {
1580
+ "title": "EditableHtmlButtonConfigure",
1581
+ "type": "object",
1582
+ "properties": {
1583
+ "disabled": {
1584
+ "description": "Indicates if the plugin is disabled or not",
1585
+ "type": "boolean",
1586
+ "title": "disabled"
1587
+ }
1588
+ }
1589
+ },
1590
+ "strikethrough": {
1591
+ "title": "EditableHtmlButtonConfigure",
1592
+ "type": "object",
1593
+ "properties": {
1594
+ "disabled": {
1595
+ "description": "Indicates if the plugin is disabled or not",
1596
+ "type": "boolean",
1597
+ "title": "disabled"
1598
+ }
1599
+ }
1600
+ },
1601
+ "sub": {
1602
+ "title": "EditableHtmlButtonConfigure",
1603
+ "type": "object",
1604
+ "properties": {
1605
+ "disabled": {
1606
+ "description": "Indicates if the plugin is disabled or not",
1607
+ "type": "boolean",
1608
+ "title": "disabled"
1609
+ }
1610
+ }
1611
+ },
1612
+ "sup": {
1613
+ "title": "EditableHtmlButtonConfigure",
1614
+ "type": "object",
1615
+ "properties": {
1616
+ "disabled": {
1617
+ "description": "Indicates if the plugin is disabled or not",
1618
+ "type": "boolean",
1619
+ "title": "disabled"
1620
+ }
1621
+ }
1622
+ },
1623
+ "table": {
1624
+ "title": "EditableHtmlButtonConfigure",
1625
+ "type": "object",
1626
+ "properties": {
1627
+ "disabled": {
1628
+ "description": "Indicates if the plugin is disabled or not",
1629
+ "type": "boolean",
1630
+ "title": "disabled"
1631
+ }
1632
+ }
1633
+ },
1634
+ "ul_list": {
1635
+ "title": "EditableHtmlButtonConfigure",
1636
+ "type": "object",
1637
+ "properties": {
1638
+ "disabled": {
1639
+ "description": "Indicates if the plugin is disabled or not",
1640
+ "type": "boolean",
1641
+ "title": "disabled"
1642
+ }
1643
+ }
1644
+ },
1645
+ "underline": {
1646
+ "title": "EditableHtmlButtonConfigure",
1647
+ "type": "object",
1648
+ "properties": {
1649
+ "disabled": {
1650
+ "description": "Indicates if the plugin is disabled or not",
1651
+ "type": "boolean",
1652
+ "title": "disabled"
1653
+ }
1654
+ }
1655
+ },
1656
+ "undo": {
1657
+ "title": "EditableHtmlButtonConfigure",
1658
+ "type": "object",
1659
+ "properties": {
1660
+ "disabled": {
1661
+ "description": "Indicates if the plugin is disabled or not",
1662
+ "type": "boolean",
1663
+ "title": "disabled"
1664
+ }
1665
+ }
951
1666
  }
952
1667
  }
953
1668
  },