@pie-element/inline-dropdown 5.22.3-next.9 → 5.23.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.
@@ -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
  },
@@ -238,67 +381,8 @@
238
381
  "title": "disabled"
239
382
  }
240
383
  }
241
- }
242
- }
243
- },
244
- "required": {
245
- "description": "Indicates if the item is required and the value cannot be empty",
246
- "type": "boolean",
247
- "title": "required"
248
- },
249
- "settings": {
250
- "description": "Indicates if the item has to be displayed in the Settings Panel",
251
- "type": "boolean",
252
- "title": "settings"
253
- },
254
- "label": {
255
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
256
- "type": "string",
257
- "title": "label"
258
- }
259
- }
260
- },
261
- "lockChoiceOrder": {
262
- "title": "ConfigureProp",
263
- "type": "object",
264
- "properties": {
265
- "settings": {
266
- "description": "Indicates if the item has to be displayed in the Settings Panel",
267
- "type": "boolean",
268
- "title": "settings"
269
- },
270
- "label": {
271
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
272
- "type": "string",
273
- "title": "label"
274
- }
275
- }
276
- },
277
- "partialScoring": {
278
- "title": "ConfigureProp",
279
- "type": "object",
280
- "properties": {
281
- "settings": {
282
- "description": "Indicates if the item has to be displayed in the Settings Panel",
283
- "type": "boolean",
284
- "title": "settings"
285
- },
286
- "label": {
287
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
288
- "type": "string",
289
- "title": "label"
290
- }
291
- }
292
- },
293
- "rationale": {
294
- "title": "EditableHtmlPluginConfigureRequired",
295
- "type": "object",
296
- "properties": {
297
- "inputConfiguration": {
298
- "title": "EditableHtmlConfigureProp",
299
- "type": "object",
300
- "properties": {
301
- "math": {
384
+ },
385
+ "languageCharacters": {
302
386
  "title": "EditableHtmlButtonConfigure",
303
387
  "type": "object",
304
388
  "properties": {
@@ -309,7 +393,7 @@
309
393
  }
310
394
  }
311
395
  },
312
- "audio": {
396
+ "bold": {
313
397
  "title": "EditableHtmlButtonConfigure",
314
398
  "type": "object",
315
399
  "properties": {
@@ -320,7 +404,7 @@
320
404
  }
321
405
  }
322
406
  },
323
- "video": {
407
+ "html": {
324
408
  "title": "EditableHtmlButtonConfigure",
325
409
  "type": "object",
326
410
  "properties": {
@@ -331,7 +415,7 @@
331
415
  }
332
416
  }
333
417
  },
334
- "image": {
418
+ "italic": {
335
419
  "title": "EditableHtmlButtonConfigure",
336
420
  "type": "object",
337
421
  "properties": {
@@ -342,44 +426,18 @@
342
426
  }
343
427
  }
344
428
  },
345
- "customPlugins": {
346
- "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.",
347
- "type": "array",
348
- "items": {
349
- "title": "CustomPlugin",
350
- "type": "object",
351
- "properties": {
352
- "event": {
353
- "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\"",
354
- "type": "string",
355
- "title": "event"
356
- },
357
- "iconAlt": {
358
- "description": "The alt for the custom button icon",
359
- "type": "string",
360
- "title": "iconAlt"
361
- },
362
- "iconType": {
363
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
364
- "type": "string",
365
- "title": "iconType"
366
- },
367
- "icon": {
368
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
369
- "type": "string",
370
- "title": "icon"
371
- }
372
- },
373
- "required": [
374
- "event",
375
- "icon",
376
- "iconAlt",
377
- "iconType"
378
- ]
379
- },
380
- "title": "customPlugins"
429
+ "ol_list": {
430
+ "title": "EditableHtmlButtonConfigure",
431
+ "type": "object",
432
+ "properties": {
433
+ "disabled": {
434
+ "description": "Indicates if the plugin is disabled or not",
435
+ "type": "boolean",
436
+ "title": "disabled"
437
+ }
438
+ }
381
439
  },
382
- "blockquote": {
440
+ "redo": {
383
441
  "title": "EditableHtmlButtonConfigure",
384
442
  "type": "object",
385
443
  "properties": {
@@ -390,7 +448,7 @@
390
448
  }
391
449
  }
392
450
  },
393
- "h3": {
451
+ "strikethrough": {
394
452
  "title": "EditableHtmlButtonConfigure",
395
453
  "type": "object",
396
454
  "properties": {
@@ -400,46 +458,80 @@
400
458
  "title": "disabled"
401
459
  }
402
460
  }
403
- }
404
- }
405
- },
406
- "required": {
407
- "description": "Indicates if the item is required and the value cannot be empty",
408
- "type": "boolean",
409
- "title": "required"
410
- },
411
- "settings": {
412
- "description": "Indicates if the item has to be displayed in the Settings Panel",
413
- "type": "boolean",
414
- "title": "settings"
415
- },
416
- "label": {
417
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
418
- "type": "string",
419
- "title": "label"
420
- }
421
- }
422
- },
423
- "spellCheck": {
424
- "title": "ConfigureProp",
425
- "type": "object",
426
- "properties": {
427
- "settings": {
428
- "description": "Indicates if the item has to be displayed in the Settings Panel",
461
+ },
462
+ "sub": {
463
+ "title": "EditableHtmlButtonConfigure",
464
+ "type": "object",
465
+ "properties": {
466
+ "disabled": {
467
+ "description": "Indicates if the plugin is disabled or not",
468
+ "type": "boolean",
469
+ "title": "disabled"
470
+ }
471
+ }
472
+ },
473
+ "sup": {
474
+ "title": "EditableHtmlButtonConfigure",
475
+ "type": "object",
476
+ "properties": {
477
+ "disabled": {
478
+ "description": "Indicates if the plugin is disabled or not",
479
+ "type": "boolean",
480
+ "title": "disabled"
481
+ }
482
+ }
483
+ },
484
+ "table": {
485
+ "title": "EditableHtmlButtonConfigure",
486
+ "type": "object",
487
+ "properties": {
488
+ "disabled": {
489
+ "description": "Indicates if the plugin is disabled or not",
490
+ "type": "boolean",
491
+ "title": "disabled"
492
+ }
493
+ }
494
+ },
495
+ "ul_list": {
496
+ "title": "EditableHtmlButtonConfigure",
497
+ "type": "object",
498
+ "properties": {
499
+ "disabled": {
500
+ "description": "Indicates if the plugin is disabled or not",
501
+ "type": "boolean",
502
+ "title": "disabled"
503
+ }
504
+ }
505
+ },
506
+ "underline": {
507
+ "title": "EditableHtmlButtonConfigure",
508
+ "type": "object",
509
+ "properties": {
510
+ "disabled": {
511
+ "description": "Indicates if the plugin is disabled or not",
512
+ "type": "boolean",
513
+ "title": "disabled"
514
+ }
515
+ }
516
+ },
517
+ "undo": {
518
+ "title": "EditableHtmlButtonConfigure",
519
+ "type": "object",
520
+ "properties": {
521
+ "disabled": {
522
+ "description": "Indicates if the plugin is disabled or not",
523
+ "type": "boolean",
524
+ "title": "disabled"
525
+ }
526
+ }
527
+ }
528
+ }
529
+ },
530
+ "required": {
531
+ "description": "Indicates if the item is required and the value cannot be empty",
429
532
  "type": "boolean",
430
- "title": "settings"
533
+ "title": "required"
431
534
  },
432
- "label": {
433
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
434
- "type": "string",
435
- "title": "label"
436
- }
437
- }
438
- },
439
- "choiceRationale": {
440
- "title": "ConfigureProp",
441
- "type": "object",
442
- "properties": {
443
535
  "settings": {
444
536
  "description": "Indicates if the item has to be displayed in the Settings Panel",
445
537
  "type": "boolean",
@@ -452,12 +544,7 @@
452
544
  }
453
545
  }
454
546
  },
455
- "settingsPanelDisabled": {
456
- "description": "Indicates if the settings panel is not available",
457
- "type": "boolean",
458
- "title": "settingsPanelDisabled"
459
- },
460
- "scoringType": {
547
+ "lockChoiceOrder": {
461
548
  "title": "ConfigureProp",
462
549
  "type": "object",
463
550
  "properties": {
@@ -473,7 +560,7 @@
473
560
  }
474
561
  }
475
562
  },
476
- "studentInstructions": {
563
+ "partialScoring": {
477
564
  "title": "ConfigureProp",
478
565
  "type": "object",
479
566
  "properties": {
@@ -489,7 +576,7 @@
489
576
  }
490
577
  }
491
578
  },
492
- "teacherInstructions": {
579
+ "rationale": {
493
580
  "title": "EditableHtmlPluginConfigureRequired",
494
581
  "type": "object",
495
582
  "properties": {
@@ -599,35 +686,8 @@
599
686
  "title": "disabled"
600
687
  }
601
688
  }
602
- }
603
- }
604
- },
605
- "required": {
606
- "description": "Indicates if the item is required and the value cannot be empty",
607
- "type": "boolean",
608
- "title": "required"
609
- },
610
- "settings": {
611
- "description": "Indicates if the item has to be displayed in the Settings Panel",
612
- "type": "boolean",
613
- "title": "settings"
614
- },
615
- "label": {
616
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
617
- "type": "string",
618
- "title": "label"
619
- }
620
- }
621
- },
622
- "template": {
623
- "title": "EditableHtmlPluginConfigure",
624
- "type": "object",
625
- "properties": {
626
- "inputConfiguration": {
627
- "title": "EditableHtmlConfigureProp",
628
- "type": "object",
629
- "properties": {
630
- "math": {
689
+ },
690
+ "languageCharacters": {
631
691
  "title": "EditableHtmlButtonConfigure",
632
692
  "type": "object",
633
693
  "properties": {
@@ -638,7 +698,7 @@
638
698
  }
639
699
  }
640
700
  },
641
- "audio": {
701
+ "bold": {
642
702
  "title": "EditableHtmlButtonConfigure",
643
703
  "type": "object",
644
704
  "properties": {
@@ -649,7 +709,7 @@
649
709
  }
650
710
  }
651
711
  },
652
- "video": {
712
+ "html": {
653
713
  "title": "EditableHtmlButtonConfigure",
654
714
  "type": "object",
655
715
  "properties": {
@@ -660,7 +720,7 @@
660
720
  }
661
721
  }
662
722
  },
663
- "image": {
723
+ "italic": {
664
724
  "title": "EditableHtmlButtonConfigure",
665
725
  "type": "object",
666
726
  "properties": {
@@ -671,44 +731,18 @@
671
731
  }
672
732
  }
673
733
  },
674
- "customPlugins": {
675
- "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.",
676
- "type": "array",
677
- "items": {
678
- "title": "CustomPlugin",
679
- "type": "object",
680
- "properties": {
681
- "event": {
682
- "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\"",
683
- "type": "string",
684
- "title": "event"
685
- },
686
- "iconAlt": {
687
- "description": "The alt for the custom button icon",
688
- "type": "string",
689
- "title": "iconAlt"
690
- },
691
- "iconType": {
692
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
693
- "type": "string",
694
- "title": "iconType"
695
- },
696
- "icon": {
697
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
698
- "type": "string",
699
- "title": "icon"
700
- }
701
- },
702
- "required": [
703
- "event",
704
- "icon",
705
- "iconAlt",
706
- "iconType"
707
- ]
708
- },
709
- "title": "customPlugins"
734
+ "ol_list": {
735
+ "title": "EditableHtmlButtonConfigure",
736
+ "type": "object",
737
+ "properties": {
738
+ "disabled": {
739
+ "description": "Indicates if the plugin is disabled or not",
740
+ "type": "boolean",
741
+ "title": "disabled"
742
+ }
743
+ }
710
744
  },
711
- "blockquote": {
745
+ "redo": {
712
746
  "title": "EditableHtmlButtonConfigure",
713
747
  "type": "object",
714
748
  "properties": {
@@ -719,7 +753,73 @@
719
753
  }
720
754
  }
721
755
  },
722
- "h3": {
756
+ "strikethrough": {
757
+ "title": "EditableHtmlButtonConfigure",
758
+ "type": "object",
759
+ "properties": {
760
+ "disabled": {
761
+ "description": "Indicates if the plugin is disabled or not",
762
+ "type": "boolean",
763
+ "title": "disabled"
764
+ }
765
+ }
766
+ },
767
+ "sub": {
768
+ "title": "EditableHtmlButtonConfigure",
769
+ "type": "object",
770
+ "properties": {
771
+ "disabled": {
772
+ "description": "Indicates if the plugin is disabled or not",
773
+ "type": "boolean",
774
+ "title": "disabled"
775
+ }
776
+ }
777
+ },
778
+ "sup": {
779
+ "title": "EditableHtmlButtonConfigure",
780
+ "type": "object",
781
+ "properties": {
782
+ "disabled": {
783
+ "description": "Indicates if the plugin is disabled or not",
784
+ "type": "boolean",
785
+ "title": "disabled"
786
+ }
787
+ }
788
+ },
789
+ "table": {
790
+ "title": "EditableHtmlButtonConfigure",
791
+ "type": "object",
792
+ "properties": {
793
+ "disabled": {
794
+ "description": "Indicates if the plugin is disabled or not",
795
+ "type": "boolean",
796
+ "title": "disabled"
797
+ }
798
+ }
799
+ },
800
+ "ul_list": {
801
+ "title": "EditableHtmlButtonConfigure",
802
+ "type": "object",
803
+ "properties": {
804
+ "disabled": {
805
+ "description": "Indicates if the plugin is disabled or not",
806
+ "type": "boolean",
807
+ "title": "disabled"
808
+ }
809
+ }
810
+ },
811
+ "underline": {
812
+ "title": "EditableHtmlButtonConfigure",
813
+ "type": "object",
814
+ "properties": {
815
+ "disabled": {
816
+ "description": "Indicates if the plugin is disabled or not",
817
+ "type": "boolean",
818
+ "title": "disabled"
819
+ }
820
+ }
821
+ },
822
+ "undo": {
723
823
  "title": "EditableHtmlButtonConfigure",
724
824
  "type": "object",
725
825
  "properties": {
@@ -732,6 +832,11 @@
732
832
  }
733
833
  }
734
834
  },
835
+ "required": {
836
+ "description": "Indicates if the item is required and the value cannot be empty",
837
+ "type": "boolean",
838
+ "title": "required"
839
+ },
735
840
  "settings": {
736
841
  "description": "Indicates if the item has to be displayed in the Settings Panel",
737
842
  "type": "boolean",
@@ -744,16 +849,626 @@
744
849
  }
745
850
  }
746
851
  },
747
- "maxResponseAreas": {
748
- "description": "Maximum number of response areas",
749
- "type": "number",
750
- "title": "maxResponseAreas"
751
- },
752
- "maxResponseAreaChoices": {
753
- "description": "Maximum number of choices per response area",
754
- "type": "number",
755
- "title": "maxResponseAreaChoices"
756
- },
852
+ "spellCheck": {
853
+ "title": "ConfigureProp",
854
+ "type": "object",
855
+ "properties": {
856
+ "settings": {
857
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
858
+ "type": "boolean",
859
+ "title": "settings"
860
+ },
861
+ "label": {
862
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
863
+ "type": "string",
864
+ "title": "label"
865
+ }
866
+ }
867
+ },
868
+ "choiceRationale": {
869
+ "title": "ConfigureProp",
870
+ "type": "object",
871
+ "properties": {
872
+ "settings": {
873
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
874
+ "type": "boolean",
875
+ "title": "settings"
876
+ },
877
+ "label": {
878
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
879
+ "type": "string",
880
+ "title": "label"
881
+ }
882
+ }
883
+ },
884
+ "settingsPanelDisabled": {
885
+ "description": "Indicates if the settings panel is not available",
886
+ "type": "boolean",
887
+ "title": "settingsPanelDisabled"
888
+ },
889
+ "scoringType": {
890
+ "title": "ConfigureProp",
891
+ "type": "object",
892
+ "properties": {
893
+ "settings": {
894
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
895
+ "type": "boolean",
896
+ "title": "settings"
897
+ },
898
+ "label": {
899
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
900
+ "type": "string",
901
+ "title": "label"
902
+ }
903
+ }
904
+ },
905
+ "studentInstructions": {
906
+ "title": "ConfigureProp",
907
+ "type": "object",
908
+ "properties": {
909
+ "settings": {
910
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
911
+ "type": "boolean",
912
+ "title": "settings"
913
+ },
914
+ "label": {
915
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
916
+ "type": "string",
917
+ "title": "label"
918
+ }
919
+ }
920
+ },
921
+ "teacherInstructions": {
922
+ "title": "EditableHtmlPluginConfigureRequired",
923
+ "type": "object",
924
+ "properties": {
925
+ "inputConfiguration": {
926
+ "title": "EditableHtmlConfigureProp",
927
+ "type": "object",
928
+ "properties": {
929
+ "math": {
930
+ "title": "EditableHtmlButtonConfigure",
931
+ "type": "object",
932
+ "properties": {
933
+ "disabled": {
934
+ "description": "Indicates if the plugin is disabled or not",
935
+ "type": "boolean",
936
+ "title": "disabled"
937
+ }
938
+ }
939
+ },
940
+ "audio": {
941
+ "title": "EditableHtmlButtonConfigure",
942
+ "type": "object",
943
+ "properties": {
944
+ "disabled": {
945
+ "description": "Indicates if the plugin is disabled or not",
946
+ "type": "boolean",
947
+ "title": "disabled"
948
+ }
949
+ }
950
+ },
951
+ "video": {
952
+ "title": "EditableHtmlButtonConfigure",
953
+ "type": "object",
954
+ "properties": {
955
+ "disabled": {
956
+ "description": "Indicates if the plugin is disabled or not",
957
+ "type": "boolean",
958
+ "title": "disabled"
959
+ }
960
+ }
961
+ },
962
+ "image": {
963
+ "title": "EditableHtmlButtonConfigure",
964
+ "type": "object",
965
+ "properties": {
966
+ "disabled": {
967
+ "description": "Indicates if the plugin is disabled or not",
968
+ "type": "boolean",
969
+ "title": "disabled"
970
+ }
971
+ }
972
+ },
973
+ "customPlugins": {
974
+ "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.",
975
+ "type": "array",
976
+ "items": {
977
+ "title": "CustomPlugin",
978
+ "type": "object",
979
+ "properties": {
980
+ "event": {
981
+ "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\"",
982
+ "type": "string",
983
+ "title": "event"
984
+ },
985
+ "iconAlt": {
986
+ "description": "The alt for the custom button icon",
987
+ "type": "string",
988
+ "title": "iconAlt"
989
+ },
990
+ "iconType": {
991
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
992
+ "type": "string",
993
+ "title": "iconType"
994
+ },
995
+ "icon": {
996
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
997
+ "type": "string",
998
+ "title": "icon"
999
+ }
1000
+ },
1001
+ "required": [
1002
+ "event",
1003
+ "icon",
1004
+ "iconAlt",
1005
+ "iconType"
1006
+ ]
1007
+ },
1008
+ "title": "customPlugins"
1009
+ },
1010
+ "blockquote": {
1011
+ "title": "EditableHtmlButtonConfigure",
1012
+ "type": "object",
1013
+ "properties": {
1014
+ "disabled": {
1015
+ "description": "Indicates if the plugin is disabled or not",
1016
+ "type": "boolean",
1017
+ "title": "disabled"
1018
+ }
1019
+ }
1020
+ },
1021
+ "h3": {
1022
+ "title": "EditableHtmlButtonConfigure",
1023
+ "type": "object",
1024
+ "properties": {
1025
+ "disabled": {
1026
+ "description": "Indicates if the plugin is disabled or not",
1027
+ "type": "boolean",
1028
+ "title": "disabled"
1029
+ }
1030
+ }
1031
+ },
1032
+ "languageCharacters": {
1033
+ "title": "EditableHtmlButtonConfigure",
1034
+ "type": "object",
1035
+ "properties": {
1036
+ "disabled": {
1037
+ "description": "Indicates if the plugin is disabled or not",
1038
+ "type": "boolean",
1039
+ "title": "disabled"
1040
+ }
1041
+ }
1042
+ },
1043
+ "bold": {
1044
+ "title": "EditableHtmlButtonConfigure",
1045
+ "type": "object",
1046
+ "properties": {
1047
+ "disabled": {
1048
+ "description": "Indicates if the plugin is disabled or not",
1049
+ "type": "boolean",
1050
+ "title": "disabled"
1051
+ }
1052
+ }
1053
+ },
1054
+ "html": {
1055
+ "title": "EditableHtmlButtonConfigure",
1056
+ "type": "object",
1057
+ "properties": {
1058
+ "disabled": {
1059
+ "description": "Indicates if the plugin is disabled or not",
1060
+ "type": "boolean",
1061
+ "title": "disabled"
1062
+ }
1063
+ }
1064
+ },
1065
+ "italic": {
1066
+ "title": "EditableHtmlButtonConfigure",
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "disabled": {
1070
+ "description": "Indicates if the plugin is disabled or not",
1071
+ "type": "boolean",
1072
+ "title": "disabled"
1073
+ }
1074
+ }
1075
+ },
1076
+ "ol_list": {
1077
+ "title": "EditableHtmlButtonConfigure",
1078
+ "type": "object",
1079
+ "properties": {
1080
+ "disabled": {
1081
+ "description": "Indicates if the plugin is disabled or not",
1082
+ "type": "boolean",
1083
+ "title": "disabled"
1084
+ }
1085
+ }
1086
+ },
1087
+ "redo": {
1088
+ "title": "EditableHtmlButtonConfigure",
1089
+ "type": "object",
1090
+ "properties": {
1091
+ "disabled": {
1092
+ "description": "Indicates if the plugin is disabled or not",
1093
+ "type": "boolean",
1094
+ "title": "disabled"
1095
+ }
1096
+ }
1097
+ },
1098
+ "strikethrough": {
1099
+ "title": "EditableHtmlButtonConfigure",
1100
+ "type": "object",
1101
+ "properties": {
1102
+ "disabled": {
1103
+ "description": "Indicates if the plugin is disabled or not",
1104
+ "type": "boolean",
1105
+ "title": "disabled"
1106
+ }
1107
+ }
1108
+ },
1109
+ "sub": {
1110
+ "title": "EditableHtmlButtonConfigure",
1111
+ "type": "object",
1112
+ "properties": {
1113
+ "disabled": {
1114
+ "description": "Indicates if the plugin is disabled or not",
1115
+ "type": "boolean",
1116
+ "title": "disabled"
1117
+ }
1118
+ }
1119
+ },
1120
+ "sup": {
1121
+ "title": "EditableHtmlButtonConfigure",
1122
+ "type": "object",
1123
+ "properties": {
1124
+ "disabled": {
1125
+ "description": "Indicates if the plugin is disabled or not",
1126
+ "type": "boolean",
1127
+ "title": "disabled"
1128
+ }
1129
+ }
1130
+ },
1131
+ "table": {
1132
+ "title": "EditableHtmlButtonConfigure",
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "disabled": {
1136
+ "description": "Indicates if the plugin is disabled or not",
1137
+ "type": "boolean",
1138
+ "title": "disabled"
1139
+ }
1140
+ }
1141
+ },
1142
+ "ul_list": {
1143
+ "title": "EditableHtmlButtonConfigure",
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "disabled": {
1147
+ "description": "Indicates if the plugin is disabled or not",
1148
+ "type": "boolean",
1149
+ "title": "disabled"
1150
+ }
1151
+ }
1152
+ },
1153
+ "underline": {
1154
+ "title": "EditableHtmlButtonConfigure",
1155
+ "type": "object",
1156
+ "properties": {
1157
+ "disabled": {
1158
+ "description": "Indicates if the plugin is disabled or not",
1159
+ "type": "boolean",
1160
+ "title": "disabled"
1161
+ }
1162
+ }
1163
+ },
1164
+ "undo": {
1165
+ "title": "EditableHtmlButtonConfigure",
1166
+ "type": "object",
1167
+ "properties": {
1168
+ "disabled": {
1169
+ "description": "Indicates if the plugin is disabled or not",
1170
+ "type": "boolean",
1171
+ "title": "disabled"
1172
+ }
1173
+ }
1174
+ }
1175
+ }
1176
+ },
1177
+ "required": {
1178
+ "description": "Indicates if the item is required and the value cannot be empty",
1179
+ "type": "boolean",
1180
+ "title": "required"
1181
+ },
1182
+ "settings": {
1183
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1184
+ "type": "boolean",
1185
+ "title": "settings"
1186
+ },
1187
+ "label": {
1188
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1189
+ "type": "string",
1190
+ "title": "label"
1191
+ }
1192
+ }
1193
+ },
1194
+ "template": {
1195
+ "title": "EditableHtmlPluginConfigure",
1196
+ "type": "object",
1197
+ "properties": {
1198
+ "inputConfiguration": {
1199
+ "title": "EditableHtmlConfigureProp",
1200
+ "type": "object",
1201
+ "properties": {
1202
+ "math": {
1203
+ "title": "EditableHtmlButtonConfigure",
1204
+ "type": "object",
1205
+ "properties": {
1206
+ "disabled": {
1207
+ "description": "Indicates if the plugin is disabled or not",
1208
+ "type": "boolean",
1209
+ "title": "disabled"
1210
+ }
1211
+ }
1212
+ },
1213
+ "audio": {
1214
+ "title": "EditableHtmlButtonConfigure",
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "disabled": {
1218
+ "description": "Indicates if the plugin is disabled or not",
1219
+ "type": "boolean",
1220
+ "title": "disabled"
1221
+ }
1222
+ }
1223
+ },
1224
+ "video": {
1225
+ "title": "EditableHtmlButtonConfigure",
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "disabled": {
1229
+ "description": "Indicates if the plugin is disabled or not",
1230
+ "type": "boolean",
1231
+ "title": "disabled"
1232
+ }
1233
+ }
1234
+ },
1235
+ "image": {
1236
+ "title": "EditableHtmlButtonConfigure",
1237
+ "type": "object",
1238
+ "properties": {
1239
+ "disabled": {
1240
+ "description": "Indicates if the plugin is disabled or not",
1241
+ "type": "boolean",
1242
+ "title": "disabled"
1243
+ }
1244
+ }
1245
+ },
1246
+ "customPlugins": {
1247
+ "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.",
1248
+ "type": "array",
1249
+ "items": {
1250
+ "title": "CustomPlugin",
1251
+ "type": "object",
1252
+ "properties": {
1253
+ "event": {
1254
+ "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\"",
1255
+ "type": "string",
1256
+ "title": "event"
1257
+ },
1258
+ "iconAlt": {
1259
+ "description": "The alt for the custom button icon",
1260
+ "type": "string",
1261
+ "title": "iconAlt"
1262
+ },
1263
+ "iconType": {
1264
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1265
+ "type": "string",
1266
+ "title": "iconType"
1267
+ },
1268
+ "icon": {
1269
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1270
+ "type": "string",
1271
+ "title": "icon"
1272
+ }
1273
+ },
1274
+ "required": [
1275
+ "event",
1276
+ "icon",
1277
+ "iconAlt",
1278
+ "iconType"
1279
+ ]
1280
+ },
1281
+ "title": "customPlugins"
1282
+ },
1283
+ "blockquote": {
1284
+ "title": "EditableHtmlButtonConfigure",
1285
+ "type": "object",
1286
+ "properties": {
1287
+ "disabled": {
1288
+ "description": "Indicates if the plugin is disabled or not",
1289
+ "type": "boolean",
1290
+ "title": "disabled"
1291
+ }
1292
+ }
1293
+ },
1294
+ "h3": {
1295
+ "title": "EditableHtmlButtonConfigure",
1296
+ "type": "object",
1297
+ "properties": {
1298
+ "disabled": {
1299
+ "description": "Indicates if the plugin is disabled or not",
1300
+ "type": "boolean",
1301
+ "title": "disabled"
1302
+ }
1303
+ }
1304
+ },
1305
+ "languageCharacters": {
1306
+ "title": "EditableHtmlButtonConfigure",
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "disabled": {
1310
+ "description": "Indicates if the plugin is disabled or not",
1311
+ "type": "boolean",
1312
+ "title": "disabled"
1313
+ }
1314
+ }
1315
+ },
1316
+ "bold": {
1317
+ "title": "EditableHtmlButtonConfigure",
1318
+ "type": "object",
1319
+ "properties": {
1320
+ "disabled": {
1321
+ "description": "Indicates if the plugin is disabled or not",
1322
+ "type": "boolean",
1323
+ "title": "disabled"
1324
+ }
1325
+ }
1326
+ },
1327
+ "html": {
1328
+ "title": "EditableHtmlButtonConfigure",
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "disabled": {
1332
+ "description": "Indicates if the plugin is disabled or not",
1333
+ "type": "boolean",
1334
+ "title": "disabled"
1335
+ }
1336
+ }
1337
+ },
1338
+ "italic": {
1339
+ "title": "EditableHtmlButtonConfigure",
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "disabled": {
1343
+ "description": "Indicates if the plugin is disabled or not",
1344
+ "type": "boolean",
1345
+ "title": "disabled"
1346
+ }
1347
+ }
1348
+ },
1349
+ "ol_list": {
1350
+ "title": "EditableHtmlButtonConfigure",
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "disabled": {
1354
+ "description": "Indicates if the plugin is disabled or not",
1355
+ "type": "boolean",
1356
+ "title": "disabled"
1357
+ }
1358
+ }
1359
+ },
1360
+ "redo": {
1361
+ "title": "EditableHtmlButtonConfigure",
1362
+ "type": "object",
1363
+ "properties": {
1364
+ "disabled": {
1365
+ "description": "Indicates if the plugin is disabled or not",
1366
+ "type": "boolean",
1367
+ "title": "disabled"
1368
+ }
1369
+ }
1370
+ },
1371
+ "strikethrough": {
1372
+ "title": "EditableHtmlButtonConfigure",
1373
+ "type": "object",
1374
+ "properties": {
1375
+ "disabled": {
1376
+ "description": "Indicates if the plugin is disabled or not",
1377
+ "type": "boolean",
1378
+ "title": "disabled"
1379
+ }
1380
+ }
1381
+ },
1382
+ "sub": {
1383
+ "title": "EditableHtmlButtonConfigure",
1384
+ "type": "object",
1385
+ "properties": {
1386
+ "disabled": {
1387
+ "description": "Indicates if the plugin is disabled or not",
1388
+ "type": "boolean",
1389
+ "title": "disabled"
1390
+ }
1391
+ }
1392
+ },
1393
+ "sup": {
1394
+ "title": "EditableHtmlButtonConfigure",
1395
+ "type": "object",
1396
+ "properties": {
1397
+ "disabled": {
1398
+ "description": "Indicates if the plugin is disabled or not",
1399
+ "type": "boolean",
1400
+ "title": "disabled"
1401
+ }
1402
+ }
1403
+ },
1404
+ "table": {
1405
+ "title": "EditableHtmlButtonConfigure",
1406
+ "type": "object",
1407
+ "properties": {
1408
+ "disabled": {
1409
+ "description": "Indicates if the plugin is disabled or not",
1410
+ "type": "boolean",
1411
+ "title": "disabled"
1412
+ }
1413
+ }
1414
+ },
1415
+ "ul_list": {
1416
+ "title": "EditableHtmlButtonConfigure",
1417
+ "type": "object",
1418
+ "properties": {
1419
+ "disabled": {
1420
+ "description": "Indicates if the plugin is disabled or not",
1421
+ "type": "boolean",
1422
+ "title": "disabled"
1423
+ }
1424
+ }
1425
+ },
1426
+ "underline": {
1427
+ "title": "EditableHtmlButtonConfigure",
1428
+ "type": "object",
1429
+ "properties": {
1430
+ "disabled": {
1431
+ "description": "Indicates if the plugin is disabled or not",
1432
+ "type": "boolean",
1433
+ "title": "disabled"
1434
+ }
1435
+ }
1436
+ },
1437
+ "undo": {
1438
+ "title": "EditableHtmlButtonConfigure",
1439
+ "type": "object",
1440
+ "properties": {
1441
+ "disabled": {
1442
+ "description": "Indicates if the plugin is disabled or not",
1443
+ "type": "boolean",
1444
+ "title": "disabled"
1445
+ }
1446
+ }
1447
+ }
1448
+ }
1449
+ },
1450
+ "settings": {
1451
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1452
+ "type": "boolean",
1453
+ "title": "settings"
1454
+ },
1455
+ "label": {
1456
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1457
+ "type": "string",
1458
+ "title": "label"
1459
+ }
1460
+ }
1461
+ },
1462
+ "maxResponseAreas": {
1463
+ "description": "Maximum number of response areas",
1464
+ "type": "number",
1465
+ "title": "maxResponseAreas"
1466
+ },
1467
+ "maxResponseAreaChoices": {
1468
+ "description": "Maximum number of choices per response area",
1469
+ "type": "number",
1470
+ "title": "maxResponseAreaChoices"
1471
+ },
757
1472
  "maxImageWidth": {
758
1473
  "title": "ConfigureMaxImageDimensionsProp",
759
1474
  "type": "object",
@@ -857,36 +1572,288 @@
857
1572
  "type": "string",
858
1573
  "title": "label"
859
1574
  },
860
- "options": {
861
- "type": "array",
862
- "items": {
863
- "title": "ConfigureLanguageOptionsProp",
864
- "type": "object",
865
- "properties": {
866
- "value": {
867
- "description": "Value of the language option",
868
- "type": "string",
869
- "title": "value"
870
- },
871
- "label": {
872
- "description": "Label of the language option",
873
- "type": "string",
874
- "title": "label"
875
- }
876
- },
877
- "required": [
878
- "label",
879
- "value"
880
- ]
881
- },
882
- "title": "options"
1575
+ "options": {
1576
+ "type": "array",
1577
+ "items": {
1578
+ "title": "ConfigureLanguageOptionsProp",
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "value": {
1582
+ "description": "Value of the language option",
1583
+ "type": "string",
1584
+ "title": "value"
1585
+ },
1586
+ "label": {
1587
+ "description": "Label of the language option",
1588
+ "type": "string",
1589
+ "title": "label"
1590
+ }
1591
+ },
1592
+ "required": [
1593
+ "label",
1594
+ "value"
1595
+ ]
1596
+ },
1597
+ "title": "options"
1598
+ }
1599
+ },
1600
+ "required": [
1601
+ "label",
1602
+ "options"
1603
+ ],
1604
+ "title": "languageChoices"
1605
+ },
1606
+ "responseAreaInputConfiguration": {
1607
+ "title": "EditableHtmlConfigureProp",
1608
+ "type": "object",
1609
+ "properties": {
1610
+ "math": {
1611
+ "title": "EditableHtmlButtonConfigure",
1612
+ "type": "object",
1613
+ "properties": {
1614
+ "disabled": {
1615
+ "description": "Indicates if the plugin is disabled or not",
1616
+ "type": "boolean",
1617
+ "title": "disabled"
1618
+ }
1619
+ }
1620
+ },
1621
+ "audio": {
1622
+ "title": "EditableHtmlButtonConfigure",
1623
+ "type": "object",
1624
+ "properties": {
1625
+ "disabled": {
1626
+ "description": "Indicates if the plugin is disabled or not",
1627
+ "type": "boolean",
1628
+ "title": "disabled"
1629
+ }
1630
+ }
1631
+ },
1632
+ "video": {
1633
+ "title": "EditableHtmlButtonConfigure",
1634
+ "type": "object",
1635
+ "properties": {
1636
+ "disabled": {
1637
+ "description": "Indicates if the plugin is disabled or not",
1638
+ "type": "boolean",
1639
+ "title": "disabled"
1640
+ }
1641
+ }
1642
+ },
1643
+ "image": {
1644
+ "title": "EditableHtmlButtonConfigure",
1645
+ "type": "object",
1646
+ "properties": {
1647
+ "disabled": {
1648
+ "description": "Indicates if the plugin is disabled or not",
1649
+ "type": "boolean",
1650
+ "title": "disabled"
1651
+ }
1652
+ }
1653
+ },
1654
+ "customPlugins": {
1655
+ "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.",
1656
+ "type": "array",
1657
+ "items": {
1658
+ "title": "CustomPlugin",
1659
+ "type": "object",
1660
+ "properties": {
1661
+ "event": {
1662
+ "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\"",
1663
+ "type": "string",
1664
+ "title": "event"
1665
+ },
1666
+ "iconAlt": {
1667
+ "description": "The alt for the custom button icon",
1668
+ "type": "string",
1669
+ "title": "iconAlt"
1670
+ },
1671
+ "iconType": {
1672
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1673
+ "type": "string",
1674
+ "title": "iconType"
1675
+ },
1676
+ "icon": {
1677
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1678
+ "type": "string",
1679
+ "title": "icon"
1680
+ }
1681
+ },
1682
+ "required": [
1683
+ "event",
1684
+ "icon",
1685
+ "iconAlt",
1686
+ "iconType"
1687
+ ]
1688
+ },
1689
+ "title": "customPlugins"
1690
+ },
1691
+ "blockquote": {
1692
+ "title": "EditableHtmlButtonConfigure",
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "disabled": {
1696
+ "description": "Indicates if the plugin is disabled or not",
1697
+ "type": "boolean",
1698
+ "title": "disabled"
1699
+ }
1700
+ }
1701
+ },
1702
+ "h3": {
1703
+ "title": "EditableHtmlButtonConfigure",
1704
+ "type": "object",
1705
+ "properties": {
1706
+ "disabled": {
1707
+ "description": "Indicates if the plugin is disabled or not",
1708
+ "type": "boolean",
1709
+ "title": "disabled"
1710
+ }
1711
+ }
1712
+ },
1713
+ "languageCharacters": {
1714
+ "title": "EditableHtmlButtonConfigure",
1715
+ "type": "object",
1716
+ "properties": {
1717
+ "disabled": {
1718
+ "description": "Indicates if the plugin is disabled or not",
1719
+ "type": "boolean",
1720
+ "title": "disabled"
1721
+ }
1722
+ }
1723
+ },
1724
+ "bold": {
1725
+ "title": "EditableHtmlButtonConfigure",
1726
+ "type": "object",
1727
+ "properties": {
1728
+ "disabled": {
1729
+ "description": "Indicates if the plugin is disabled or not",
1730
+ "type": "boolean",
1731
+ "title": "disabled"
1732
+ }
1733
+ }
1734
+ },
1735
+ "html": {
1736
+ "title": "EditableHtmlButtonConfigure",
1737
+ "type": "object",
1738
+ "properties": {
1739
+ "disabled": {
1740
+ "description": "Indicates if the plugin is disabled or not",
1741
+ "type": "boolean",
1742
+ "title": "disabled"
1743
+ }
1744
+ }
1745
+ },
1746
+ "italic": {
1747
+ "title": "EditableHtmlButtonConfigure",
1748
+ "type": "object",
1749
+ "properties": {
1750
+ "disabled": {
1751
+ "description": "Indicates if the plugin is disabled or not",
1752
+ "type": "boolean",
1753
+ "title": "disabled"
1754
+ }
1755
+ }
1756
+ },
1757
+ "ol_list": {
1758
+ "title": "EditableHtmlButtonConfigure",
1759
+ "type": "object",
1760
+ "properties": {
1761
+ "disabled": {
1762
+ "description": "Indicates if the plugin is disabled or not",
1763
+ "type": "boolean",
1764
+ "title": "disabled"
1765
+ }
1766
+ }
1767
+ },
1768
+ "redo": {
1769
+ "title": "EditableHtmlButtonConfigure",
1770
+ "type": "object",
1771
+ "properties": {
1772
+ "disabled": {
1773
+ "description": "Indicates if the plugin is disabled or not",
1774
+ "type": "boolean",
1775
+ "title": "disabled"
1776
+ }
1777
+ }
1778
+ },
1779
+ "strikethrough": {
1780
+ "title": "EditableHtmlButtonConfigure",
1781
+ "type": "object",
1782
+ "properties": {
1783
+ "disabled": {
1784
+ "description": "Indicates if the plugin is disabled or not",
1785
+ "type": "boolean",
1786
+ "title": "disabled"
1787
+ }
1788
+ }
1789
+ },
1790
+ "sub": {
1791
+ "title": "EditableHtmlButtonConfigure",
1792
+ "type": "object",
1793
+ "properties": {
1794
+ "disabled": {
1795
+ "description": "Indicates if the plugin is disabled or not",
1796
+ "type": "boolean",
1797
+ "title": "disabled"
1798
+ }
1799
+ }
1800
+ },
1801
+ "sup": {
1802
+ "title": "EditableHtmlButtonConfigure",
1803
+ "type": "object",
1804
+ "properties": {
1805
+ "disabled": {
1806
+ "description": "Indicates if the plugin is disabled or not",
1807
+ "type": "boolean",
1808
+ "title": "disabled"
1809
+ }
1810
+ }
1811
+ },
1812
+ "table": {
1813
+ "title": "EditableHtmlButtonConfigure",
1814
+ "type": "object",
1815
+ "properties": {
1816
+ "disabled": {
1817
+ "description": "Indicates if the plugin is disabled or not",
1818
+ "type": "boolean",
1819
+ "title": "disabled"
1820
+ }
1821
+ }
1822
+ },
1823
+ "ul_list": {
1824
+ "title": "EditableHtmlButtonConfigure",
1825
+ "type": "object",
1826
+ "properties": {
1827
+ "disabled": {
1828
+ "description": "Indicates if the plugin is disabled or not",
1829
+ "type": "boolean",
1830
+ "title": "disabled"
1831
+ }
1832
+ }
1833
+ },
1834
+ "underline": {
1835
+ "title": "EditableHtmlButtonConfigure",
1836
+ "type": "object",
1837
+ "properties": {
1838
+ "disabled": {
1839
+ "description": "Indicates if the plugin is disabled or not",
1840
+ "type": "boolean",
1841
+ "title": "disabled"
1842
+ }
1843
+ }
1844
+ },
1845
+ "undo": {
1846
+ "title": "EditableHtmlButtonConfigure",
1847
+ "type": "object",
1848
+ "properties": {
1849
+ "disabled": {
1850
+ "description": "Indicates if the plugin is disabled or not",
1851
+ "type": "boolean",
1852
+ "title": "disabled"
1853
+ }
1854
+ }
883
1855
  }
884
- },
885
- "required": [
886
- "label",
887
- "options"
888
- ],
889
- "title": "languageChoices"
1856
+ }
890
1857
  },
891
1858
  "showPrompt": {
892
1859
  "description": "Determines whether prompt field will be displayed or not",
@@ -1058,6 +2025,149 @@
1058
2025
  "title": "disabled"
1059
2026
  }
1060
2027
  }
2028
+ },
2029
+ "languageCharacters": {
2030
+ "title": "EditableHtmlButtonConfigure",
2031
+ "type": "object",
2032
+ "properties": {
2033
+ "disabled": {
2034
+ "description": "Indicates if the plugin is disabled or not",
2035
+ "type": "boolean",
2036
+ "title": "disabled"
2037
+ }
2038
+ }
2039
+ },
2040
+ "bold": {
2041
+ "title": "EditableHtmlButtonConfigure",
2042
+ "type": "object",
2043
+ "properties": {
2044
+ "disabled": {
2045
+ "description": "Indicates if the plugin is disabled or not",
2046
+ "type": "boolean",
2047
+ "title": "disabled"
2048
+ }
2049
+ }
2050
+ },
2051
+ "html": {
2052
+ "title": "EditableHtmlButtonConfigure",
2053
+ "type": "object",
2054
+ "properties": {
2055
+ "disabled": {
2056
+ "description": "Indicates if the plugin is disabled or not",
2057
+ "type": "boolean",
2058
+ "title": "disabled"
2059
+ }
2060
+ }
2061
+ },
2062
+ "italic": {
2063
+ "title": "EditableHtmlButtonConfigure",
2064
+ "type": "object",
2065
+ "properties": {
2066
+ "disabled": {
2067
+ "description": "Indicates if the plugin is disabled or not",
2068
+ "type": "boolean",
2069
+ "title": "disabled"
2070
+ }
2071
+ }
2072
+ },
2073
+ "ol_list": {
2074
+ "title": "EditableHtmlButtonConfigure",
2075
+ "type": "object",
2076
+ "properties": {
2077
+ "disabled": {
2078
+ "description": "Indicates if the plugin is disabled or not",
2079
+ "type": "boolean",
2080
+ "title": "disabled"
2081
+ }
2082
+ }
2083
+ },
2084
+ "redo": {
2085
+ "title": "EditableHtmlButtonConfigure",
2086
+ "type": "object",
2087
+ "properties": {
2088
+ "disabled": {
2089
+ "description": "Indicates if the plugin is disabled or not",
2090
+ "type": "boolean",
2091
+ "title": "disabled"
2092
+ }
2093
+ }
2094
+ },
2095
+ "strikethrough": {
2096
+ "title": "EditableHtmlButtonConfigure",
2097
+ "type": "object",
2098
+ "properties": {
2099
+ "disabled": {
2100
+ "description": "Indicates if the plugin is disabled or not",
2101
+ "type": "boolean",
2102
+ "title": "disabled"
2103
+ }
2104
+ }
2105
+ },
2106
+ "sub": {
2107
+ "title": "EditableHtmlButtonConfigure",
2108
+ "type": "object",
2109
+ "properties": {
2110
+ "disabled": {
2111
+ "description": "Indicates if the plugin is disabled or not",
2112
+ "type": "boolean",
2113
+ "title": "disabled"
2114
+ }
2115
+ }
2116
+ },
2117
+ "sup": {
2118
+ "title": "EditableHtmlButtonConfigure",
2119
+ "type": "object",
2120
+ "properties": {
2121
+ "disabled": {
2122
+ "description": "Indicates if the plugin is disabled or not",
2123
+ "type": "boolean",
2124
+ "title": "disabled"
2125
+ }
2126
+ }
2127
+ },
2128
+ "table": {
2129
+ "title": "EditableHtmlButtonConfigure",
2130
+ "type": "object",
2131
+ "properties": {
2132
+ "disabled": {
2133
+ "description": "Indicates if the plugin is disabled or not",
2134
+ "type": "boolean",
2135
+ "title": "disabled"
2136
+ }
2137
+ }
2138
+ },
2139
+ "ul_list": {
2140
+ "title": "EditableHtmlButtonConfigure",
2141
+ "type": "object",
2142
+ "properties": {
2143
+ "disabled": {
2144
+ "description": "Indicates if the plugin is disabled or not",
2145
+ "type": "boolean",
2146
+ "title": "disabled"
2147
+ }
2148
+ }
2149
+ },
2150
+ "underline": {
2151
+ "title": "EditableHtmlButtonConfigure",
2152
+ "type": "object",
2153
+ "properties": {
2154
+ "disabled": {
2155
+ "description": "Indicates if the plugin is disabled or not",
2156
+ "type": "boolean",
2157
+ "title": "disabled"
2158
+ }
2159
+ }
2160
+ },
2161
+ "undo": {
2162
+ "title": "EditableHtmlButtonConfigure",
2163
+ "type": "object",
2164
+ "properties": {
2165
+ "disabled": {
2166
+ "description": "Indicates if the plugin is disabled or not",
2167
+ "type": "boolean",
2168
+ "title": "disabled"
2169
+ }
2170
+ }
1061
2171
  }
1062
2172
  }
1063
2173
  },
@@ -1139,7 +2249,99 @@
1139
2249
  }
1140
2250
  }
1141
2251
  },
1142
- "audio": {
2252
+ "audio": {
2253
+ "title": "EditableHtmlButtonConfigure",
2254
+ "type": "object",
2255
+ "properties": {
2256
+ "disabled": {
2257
+ "description": "Indicates if the plugin is disabled or not",
2258
+ "type": "boolean",
2259
+ "title": "disabled"
2260
+ }
2261
+ }
2262
+ },
2263
+ "video": {
2264
+ "title": "EditableHtmlButtonConfigure",
2265
+ "type": "object",
2266
+ "properties": {
2267
+ "disabled": {
2268
+ "description": "Indicates if the plugin is disabled or not",
2269
+ "type": "boolean",
2270
+ "title": "disabled"
2271
+ }
2272
+ }
2273
+ },
2274
+ "image": {
2275
+ "title": "EditableHtmlButtonConfigure",
2276
+ "type": "object",
2277
+ "properties": {
2278
+ "disabled": {
2279
+ "description": "Indicates if the plugin is disabled or not",
2280
+ "type": "boolean",
2281
+ "title": "disabled"
2282
+ }
2283
+ }
2284
+ },
2285
+ "customPlugins": {
2286
+ "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.",
2287
+ "type": "array",
2288
+ "items": {
2289
+ "title": "CustomPlugin",
2290
+ "type": "object",
2291
+ "properties": {
2292
+ "event": {
2293
+ "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\"",
2294
+ "type": "string",
2295
+ "title": "event"
2296
+ },
2297
+ "iconAlt": {
2298
+ "description": "The alt for the custom button icon",
2299
+ "type": "string",
2300
+ "title": "iconAlt"
2301
+ },
2302
+ "iconType": {
2303
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2304
+ "type": "string",
2305
+ "title": "iconType"
2306
+ },
2307
+ "icon": {
2308
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2309
+ "type": "string",
2310
+ "title": "icon"
2311
+ }
2312
+ },
2313
+ "required": [
2314
+ "event",
2315
+ "icon",
2316
+ "iconAlt",
2317
+ "iconType"
2318
+ ]
2319
+ },
2320
+ "title": "customPlugins"
2321
+ },
2322
+ "blockquote": {
2323
+ "title": "EditableHtmlButtonConfigure",
2324
+ "type": "object",
2325
+ "properties": {
2326
+ "disabled": {
2327
+ "description": "Indicates if the plugin is disabled or not",
2328
+ "type": "boolean",
2329
+ "title": "disabled"
2330
+ }
2331
+ }
2332
+ },
2333
+ "h3": {
2334
+ "title": "EditableHtmlButtonConfigure",
2335
+ "type": "object",
2336
+ "properties": {
2337
+ "disabled": {
2338
+ "description": "Indicates if the plugin is disabled or not",
2339
+ "type": "boolean",
2340
+ "title": "disabled"
2341
+ }
2342
+ }
2343
+ },
2344
+ "languageCharacters": {
1143
2345
  "title": "EditableHtmlButtonConfigure",
1144
2346
  "type": "object",
1145
2347
  "properties": {
@@ -1150,7 +2352,7 @@
1150
2352
  }
1151
2353
  }
1152
2354
  },
1153
- "video": {
2355
+ "bold": {
1154
2356
  "title": "EditableHtmlButtonConfigure",
1155
2357
  "type": "object",
1156
2358
  "properties": {
@@ -1161,7 +2363,7 @@
1161
2363
  }
1162
2364
  }
1163
2365
  },
1164
- "image": {
2366
+ "html": {
1165
2367
  "title": "EditableHtmlButtonConfigure",
1166
2368
  "type": "object",
1167
2369
  "properties": {
@@ -1172,44 +2374,18 @@
1172
2374
  }
1173
2375
  }
1174
2376
  },
1175
- "customPlugins": {
1176
- "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.",
1177
- "type": "array",
1178
- "items": {
1179
- "title": "CustomPlugin",
1180
- "type": "object",
1181
- "properties": {
1182
- "event": {
1183
- "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\"",
1184
- "type": "string",
1185
- "title": "event"
1186
- },
1187
- "iconAlt": {
1188
- "description": "The alt for the custom button icon",
1189
- "type": "string",
1190
- "title": "iconAlt"
1191
- },
1192
- "iconType": {
1193
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1194
- "type": "string",
1195
- "title": "iconType"
1196
- },
1197
- "icon": {
1198
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1199
- "type": "string",
1200
- "title": "icon"
1201
- }
1202
- },
1203
- "required": [
1204
- "event",
1205
- "icon",
1206
- "iconAlt",
1207
- "iconType"
1208
- ]
1209
- },
1210
- "title": "customPlugins"
2377
+ "italic": {
2378
+ "title": "EditableHtmlButtonConfigure",
2379
+ "type": "object",
2380
+ "properties": {
2381
+ "disabled": {
2382
+ "description": "Indicates if the plugin is disabled or not",
2383
+ "type": "boolean",
2384
+ "title": "disabled"
2385
+ }
2386
+ }
1211
2387
  },
1212
- "blockquote": {
2388
+ "ol_list": {
1213
2389
  "title": "EditableHtmlButtonConfigure",
1214
2390
  "type": "object",
1215
2391
  "properties": {
@@ -1220,7 +2396,84 @@
1220
2396
  }
1221
2397
  }
1222
2398
  },
1223
- "h3": {
2399
+ "redo": {
2400
+ "title": "EditableHtmlButtonConfigure",
2401
+ "type": "object",
2402
+ "properties": {
2403
+ "disabled": {
2404
+ "description": "Indicates if the plugin is disabled or not",
2405
+ "type": "boolean",
2406
+ "title": "disabled"
2407
+ }
2408
+ }
2409
+ },
2410
+ "strikethrough": {
2411
+ "title": "EditableHtmlButtonConfigure",
2412
+ "type": "object",
2413
+ "properties": {
2414
+ "disabled": {
2415
+ "description": "Indicates if the plugin is disabled or not",
2416
+ "type": "boolean",
2417
+ "title": "disabled"
2418
+ }
2419
+ }
2420
+ },
2421
+ "sub": {
2422
+ "title": "EditableHtmlButtonConfigure",
2423
+ "type": "object",
2424
+ "properties": {
2425
+ "disabled": {
2426
+ "description": "Indicates if the plugin is disabled or not",
2427
+ "type": "boolean",
2428
+ "title": "disabled"
2429
+ }
2430
+ }
2431
+ },
2432
+ "sup": {
2433
+ "title": "EditableHtmlButtonConfigure",
2434
+ "type": "object",
2435
+ "properties": {
2436
+ "disabled": {
2437
+ "description": "Indicates if the plugin is disabled or not",
2438
+ "type": "boolean",
2439
+ "title": "disabled"
2440
+ }
2441
+ }
2442
+ },
2443
+ "table": {
2444
+ "title": "EditableHtmlButtonConfigure",
2445
+ "type": "object",
2446
+ "properties": {
2447
+ "disabled": {
2448
+ "description": "Indicates if the plugin is disabled or not",
2449
+ "type": "boolean",
2450
+ "title": "disabled"
2451
+ }
2452
+ }
2453
+ },
2454
+ "ul_list": {
2455
+ "title": "EditableHtmlButtonConfigure",
2456
+ "type": "object",
2457
+ "properties": {
2458
+ "disabled": {
2459
+ "description": "Indicates if the plugin is disabled or not",
2460
+ "type": "boolean",
2461
+ "title": "disabled"
2462
+ }
2463
+ }
2464
+ },
2465
+ "underline": {
2466
+ "title": "EditableHtmlButtonConfigure",
2467
+ "type": "object",
2468
+ "properties": {
2469
+ "disabled": {
2470
+ "description": "Indicates if the plugin is disabled or not",
2471
+ "type": "boolean",
2472
+ "title": "disabled"
2473
+ }
2474
+ }
2475
+ },
2476
+ "undo": {
1224
2477
  "title": "EditableHtmlButtonConfigure",
1225
2478
  "type": "object",
1226
2479
  "properties": {
@@ -1360,6 +2613,149 @@
1360
2613
  "title": "disabled"
1361
2614
  }
1362
2615
  }
2616
+ },
2617
+ "languageCharacters": {
2618
+ "title": "EditableHtmlButtonConfigure",
2619
+ "type": "object",
2620
+ "properties": {
2621
+ "disabled": {
2622
+ "description": "Indicates if the plugin is disabled or not",
2623
+ "type": "boolean",
2624
+ "title": "disabled"
2625
+ }
2626
+ }
2627
+ },
2628
+ "bold": {
2629
+ "title": "EditableHtmlButtonConfigure",
2630
+ "type": "object",
2631
+ "properties": {
2632
+ "disabled": {
2633
+ "description": "Indicates if the plugin is disabled or not",
2634
+ "type": "boolean",
2635
+ "title": "disabled"
2636
+ }
2637
+ }
2638
+ },
2639
+ "html": {
2640
+ "title": "EditableHtmlButtonConfigure",
2641
+ "type": "object",
2642
+ "properties": {
2643
+ "disabled": {
2644
+ "description": "Indicates if the plugin is disabled or not",
2645
+ "type": "boolean",
2646
+ "title": "disabled"
2647
+ }
2648
+ }
2649
+ },
2650
+ "italic": {
2651
+ "title": "EditableHtmlButtonConfigure",
2652
+ "type": "object",
2653
+ "properties": {
2654
+ "disabled": {
2655
+ "description": "Indicates if the plugin is disabled or not",
2656
+ "type": "boolean",
2657
+ "title": "disabled"
2658
+ }
2659
+ }
2660
+ },
2661
+ "ol_list": {
2662
+ "title": "EditableHtmlButtonConfigure",
2663
+ "type": "object",
2664
+ "properties": {
2665
+ "disabled": {
2666
+ "description": "Indicates if the plugin is disabled or not",
2667
+ "type": "boolean",
2668
+ "title": "disabled"
2669
+ }
2670
+ }
2671
+ },
2672
+ "redo": {
2673
+ "title": "EditableHtmlButtonConfigure",
2674
+ "type": "object",
2675
+ "properties": {
2676
+ "disabled": {
2677
+ "description": "Indicates if the plugin is disabled or not",
2678
+ "type": "boolean",
2679
+ "title": "disabled"
2680
+ }
2681
+ }
2682
+ },
2683
+ "strikethrough": {
2684
+ "title": "EditableHtmlButtonConfigure",
2685
+ "type": "object",
2686
+ "properties": {
2687
+ "disabled": {
2688
+ "description": "Indicates if the plugin is disabled or not",
2689
+ "type": "boolean",
2690
+ "title": "disabled"
2691
+ }
2692
+ }
2693
+ },
2694
+ "sub": {
2695
+ "title": "EditableHtmlButtonConfigure",
2696
+ "type": "object",
2697
+ "properties": {
2698
+ "disabled": {
2699
+ "description": "Indicates if the plugin is disabled or not",
2700
+ "type": "boolean",
2701
+ "title": "disabled"
2702
+ }
2703
+ }
2704
+ },
2705
+ "sup": {
2706
+ "title": "EditableHtmlButtonConfigure",
2707
+ "type": "object",
2708
+ "properties": {
2709
+ "disabled": {
2710
+ "description": "Indicates if the plugin is disabled or not",
2711
+ "type": "boolean",
2712
+ "title": "disabled"
2713
+ }
2714
+ }
2715
+ },
2716
+ "table": {
2717
+ "title": "EditableHtmlButtonConfigure",
2718
+ "type": "object",
2719
+ "properties": {
2720
+ "disabled": {
2721
+ "description": "Indicates if the plugin is disabled or not",
2722
+ "type": "boolean",
2723
+ "title": "disabled"
2724
+ }
2725
+ }
2726
+ },
2727
+ "ul_list": {
2728
+ "title": "EditableHtmlButtonConfigure",
2729
+ "type": "object",
2730
+ "properties": {
2731
+ "disabled": {
2732
+ "description": "Indicates if the plugin is disabled or not",
2733
+ "type": "boolean",
2734
+ "title": "disabled"
2735
+ }
2736
+ }
2737
+ },
2738
+ "underline": {
2739
+ "title": "EditableHtmlButtonConfigure",
2740
+ "type": "object",
2741
+ "properties": {
2742
+ "disabled": {
2743
+ "description": "Indicates if the plugin is disabled or not",
2744
+ "type": "boolean",
2745
+ "title": "disabled"
2746
+ }
2747
+ }
2748
+ },
2749
+ "undo": {
2750
+ "title": "EditableHtmlButtonConfigure",
2751
+ "type": "object",
2752
+ "properties": {
2753
+ "disabled": {
2754
+ "description": "Indicates if the plugin is disabled or not",
2755
+ "type": "boolean",
2756
+ "title": "disabled"
2757
+ }
2758
+ }
1363
2759
  }
1364
2760
  }
1365
2761
  },