@pie-element/inline-dropdown 10.1.2-next.1 → 10.1.2

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.
Files changed (86) hide show
  1. package/CHANGELOG.json +1082 -0
  2. package/CHANGELOG.md +2192 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +647 -0
  6. package/configure/CHANGELOG.md +1949 -0
  7. package/configure/lib/defaults.js +192 -0
  8. package/configure/lib/defaults.js.map +1 -0
  9. package/configure/lib/index.js +135 -0
  10. package/configure/lib/index.js.map +1 -0
  11. package/configure/lib/inline-dropdown-toolbar.js +456 -0
  12. package/configure/lib/inline-dropdown-toolbar.js.map +1 -0
  13. package/configure/lib/main.js +612 -0
  14. package/configure/lib/main.js.map +1 -0
  15. package/configure/lib/markupUtils.js +50 -0
  16. package/configure/lib/markupUtils.js.map +1 -0
  17. package/configure/lib/response-area.js +48 -0
  18. package/configure/lib/response-area.js.map +1 -0
  19. package/configure/lib/utils.js +22 -0
  20. package/configure/lib/utils.js.map +1 -0
  21. package/configure/package.json +24 -0
  22. package/controller/CHANGELOG.json +467 -0
  23. package/controller/CHANGELOG.md +1283 -0
  24. package/controller/lib/defaults.js +25 -0
  25. package/controller/lib/defaults.js.map +1 -0
  26. package/controller/lib/index.js +295 -0
  27. package/controller/lib/index.js.map +1 -0
  28. package/controller/lib/utils.js +32 -0
  29. package/controller/lib/utils.js.map +1 -0
  30. package/controller/package.json +16 -0
  31. package/docs/config-schema.json +2854 -0
  32. package/docs/config-schema.json.md +2106 -0
  33. package/docs/demo/config.js +8 -0
  34. package/docs/demo/generate.js +76 -0
  35. package/docs/demo/index.html +1 -0
  36. package/docs/demo/session.js +11 -0
  37. package/docs/pie-schema.json +1152 -0
  38. package/docs/pie-schema.json.md +814 -0
  39. package/lib/index.js +85 -0
  40. package/lib/index.js.map +1 -0
  41. package/lib/inline-dropdown.js +176 -0
  42. package/lib/inline-dropdown.js.map +1 -0
  43. package/package.json +21 -86
  44. package/configure.js +0 -2
  45. package/controller.js +0 -1
  46. package/dist/author/defaults.d.ts +0 -194
  47. package/dist/author/defaults.js +0 -130
  48. package/dist/author/index.d.ts +0 -43
  49. package/dist/author/index.js +0 -83
  50. package/dist/author/inline-dropdown-toolbar.d.ts +0 -48
  51. package/dist/author/inline-dropdown-toolbar.js +0 -268
  52. package/dist/author/main.d.ts +0 -49
  53. package/dist/author/main.js +0 -379
  54. package/dist/author/markupUtils.d.ts +0 -12
  55. package/dist/author/markupUtils.js +0 -23
  56. package/dist/author/response-area.d.ts +0 -20
  57. package/dist/author/response-area.js +0 -32
  58. package/dist/author/utils.d.ts +0 -10
  59. package/dist/author/utils.js +0 -10
  60. package/dist/browser/Close-CMvmRhfL.js +0 -9024
  61. package/dist/browser/Close-CMvmRhfL.js.map +0 -1
  62. package/dist/browser/author/index.js +0 -40578
  63. package/dist/browser/author/index.js.map +0 -1
  64. package/dist/browser/controller/index.js +0 -196
  65. package/dist/browser/controller/index.js.map +0 -1
  66. package/dist/browser/delivery/index.js +0 -2714
  67. package/dist/browser/delivery/index.js.map +0 -1
  68. package/dist/browser/dist-CAsDMEWi.js +0 -133
  69. package/dist/browser/dist-CAsDMEWi.js.map +0 -1
  70. package/dist/browser/inline-dropdown.css +0 -2
  71. package/dist/controller/defaults.d.ts +0 -27
  72. package/dist/controller/defaults.js +0 -21
  73. package/dist/controller/index.d.ts +0 -54
  74. package/dist/controller/index.js +0 -124
  75. package/dist/controller/utils.d.ts +0 -12
  76. package/dist/controller/utils.js +0 -13
  77. package/dist/delivery/index.d.ts +0 -20
  78. package/dist/delivery/index.js +0 -60
  79. package/dist/delivery/inline-dropdown.d.ts +0 -38
  80. package/dist/delivery/inline-dropdown.js +0 -109
  81. package/dist/index.d.ts +0 -1
  82. package/dist/index.iife.d.ts +0 -8
  83. package/dist/index.iife.js +0 -148
  84. package/dist/index.js +0 -2
  85. package/dist/runtime-support.d.ts +0 -12
  86. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,2106 @@
1
+ Config Object for @pie-elements/inline-dropdown
2
+
3
+ The schema defines the following properties:
4
+
5
+ # `baseInputConfiguration` (object)
6
+
7
+ Properties of the `baseInputConfiguration` object:
8
+
9
+ ## `math` (object)
10
+
11
+ Properties of the `math` object:
12
+
13
+ ### `disabled` (boolean)
14
+
15
+ Indicates if the plugin is disabled or not
16
+
17
+ ## `audio` (object)
18
+
19
+ Properties of the `audio` object:
20
+
21
+ ### `disabled` (boolean)
22
+
23
+ Indicates if the plugin is disabled or not
24
+
25
+ ## `video` (object)
26
+
27
+ Properties of the `video` object:
28
+
29
+ ### `disabled` (boolean)
30
+
31
+ Indicates if the plugin is disabled or not
32
+
33
+ ## `image` (object)
34
+
35
+ Properties of the `image` object:
36
+
37
+ ### `disabled` (boolean)
38
+
39
+ Indicates if the plugin is disabled or not
40
+
41
+ ## `customPlugins` (array)
42
+
43
+ An array of objects that determine custom plugins.
44
+ A 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).
45
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
46
+
47
+ The object is an array with all elements of the type `object`.
48
+
49
+ The array object has the following properties:
50
+
51
+ ### `event` (string, required)
52
+
53
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
54
+ PIE will emit the event prefixed with "PIE-".
55
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
56
+
57
+ ### `iconAlt` (string, required)
58
+
59
+ The alt for the custom button icon
60
+
61
+ ### `iconType` (string, required)
62
+
63
+ The icon type.
64
+ Currently, only "SVG" is supported.
65
+
66
+ ### `icon` (string, required)
67
+
68
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
69
+
70
+ ## `blockquote` (object)
71
+
72
+ Properties of the `blockquote` object:
73
+
74
+ ### `disabled` (boolean)
75
+
76
+ Indicates if the plugin is disabled or not
77
+
78
+ ## `h3` (object)
79
+
80
+ Properties of the `h3` object:
81
+
82
+ ### `disabled` (boolean)
83
+
84
+ Indicates if the plugin is disabled or not
85
+
86
+ ## `characters` (object)
87
+
88
+ Properties of the `characters` object:
89
+
90
+ ### `disabled` (boolean)
91
+
92
+ Indicates if the plugin is disabled or not
93
+
94
+ ## `bold` (object)
95
+
96
+ Properties of the `bold` object:
97
+
98
+ ### `disabled` (boolean)
99
+
100
+ Indicates if the plugin is disabled or not
101
+
102
+ ## `html` (object)
103
+
104
+ Properties of the `html` object:
105
+
106
+ ### `disabled` (boolean)
107
+
108
+ Indicates if the plugin is disabled or not
109
+
110
+ ## `italic` (object)
111
+
112
+ Properties of the `italic` object:
113
+
114
+ ### `disabled` (boolean)
115
+
116
+ Indicates if the plugin is disabled or not
117
+
118
+ ## `ol_list` (object)
119
+
120
+ Properties of the `ol_list` object:
121
+
122
+ ### `disabled` (boolean)
123
+
124
+ Indicates if the plugin is disabled or not
125
+
126
+ ## `redo` (object)
127
+
128
+ Properties of the `redo` object:
129
+
130
+ ### `disabled` (boolean)
131
+
132
+ Indicates if the plugin is disabled or not
133
+
134
+ ## `strikethrough` (object)
135
+
136
+ Properties of the `strikethrough` object:
137
+
138
+ ### `disabled` (boolean)
139
+
140
+ Indicates if the plugin is disabled or not
141
+
142
+ ## `sub` (object)
143
+
144
+ Properties of the `sub` object:
145
+
146
+ ### `disabled` (boolean)
147
+
148
+ Indicates if the plugin is disabled or not
149
+
150
+ ## `sup` (object)
151
+
152
+ Properties of the `sup` object:
153
+
154
+ ### `disabled` (boolean)
155
+
156
+ Indicates if the plugin is disabled or not
157
+
158
+ ## `table` (object)
159
+
160
+ Properties of the `table` object:
161
+
162
+ ### `disabled` (boolean)
163
+
164
+ Indicates if the plugin is disabled or not
165
+
166
+ ## `ul_list` (object)
167
+
168
+ Properties of the `ul_list` object:
169
+
170
+ ### `disabled` (boolean)
171
+
172
+ Indicates if the plugin is disabled or not
173
+
174
+ ## `underline` (object)
175
+
176
+ Properties of the `underline` object:
177
+
178
+ ### `disabled` (boolean)
179
+
180
+ Indicates if the plugin is disabled or not
181
+
182
+ ## `undo` (object)
183
+
184
+ Properties of the `undo` object:
185
+
186
+ ### `disabled` (boolean)
187
+
188
+ Indicates if the plugin is disabled or not
189
+
190
+ # `choices` (object)
191
+
192
+ Properties of the `choices` object:
193
+
194
+ ## `settings` (boolean)
195
+
196
+ Indicates if the item has to be displayed in the Settings Panel
197
+
198
+ ## `label` (string)
199
+
200
+ Indicates the label for the item that has to be displayed in the Settings Panel
201
+
202
+ # `prompt` (object)
203
+
204
+ Properties of the `prompt` object:
205
+
206
+ ## `inputConfiguration` (object)
207
+
208
+ Properties of the `inputConfiguration` object:
209
+
210
+ ### `math` (object)
211
+
212
+ Properties of the `math` object:
213
+
214
+ #### `disabled` (boolean)
215
+
216
+ Indicates if the plugin is disabled or not
217
+
218
+ ### `audio` (object)
219
+
220
+ Properties of the `audio` object:
221
+
222
+ #### `disabled` (boolean)
223
+
224
+ Indicates if the plugin is disabled or not
225
+
226
+ ### `video` (object)
227
+
228
+ Properties of the `video` object:
229
+
230
+ #### `disabled` (boolean)
231
+
232
+ Indicates if the plugin is disabled or not
233
+
234
+ ### `image` (object)
235
+
236
+ Properties of the `image` object:
237
+
238
+ #### `disabled` (boolean)
239
+
240
+ Indicates if the plugin is disabled or not
241
+
242
+ ### `customPlugins` (array)
243
+
244
+ An array of objects that determine custom plugins.
245
+ A 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).
246
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
247
+
248
+ The object is an array with all elements of the type `object`.
249
+
250
+ The array object has the following properties:
251
+
252
+ #### `event` (string, required)
253
+
254
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
255
+ PIE will emit the event prefixed with "PIE-".
256
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
257
+
258
+ #### `iconAlt` (string, required)
259
+
260
+ The alt for the custom button icon
261
+
262
+ #### `iconType` (string, required)
263
+
264
+ The icon type.
265
+ Currently, only "SVG" is supported.
266
+
267
+ #### `icon` (string, required)
268
+
269
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
270
+
271
+ ### `blockquote` (object)
272
+
273
+ Properties of the `blockquote` object:
274
+
275
+ #### `disabled` (boolean)
276
+
277
+ Indicates if the plugin is disabled or not
278
+
279
+ ### `h3` (object)
280
+
281
+ Properties of the `h3` object:
282
+
283
+ #### `disabled` (boolean)
284
+
285
+ Indicates if the plugin is disabled or not
286
+
287
+ ### `characters` (object)
288
+
289
+ Properties of the `characters` object:
290
+
291
+ #### `disabled` (boolean)
292
+
293
+ Indicates if the plugin is disabled or not
294
+
295
+ ### `bold` (object)
296
+
297
+ Properties of the `bold` object:
298
+
299
+ #### `disabled` (boolean)
300
+
301
+ Indicates if the plugin is disabled or not
302
+
303
+ ### `html` (object)
304
+
305
+ Properties of the `html` object:
306
+
307
+ #### `disabled` (boolean)
308
+
309
+ Indicates if the plugin is disabled or not
310
+
311
+ ### `italic` (object)
312
+
313
+ Properties of the `italic` object:
314
+
315
+ #### `disabled` (boolean)
316
+
317
+ Indicates if the plugin is disabled or not
318
+
319
+ ### `ol_list` (object)
320
+
321
+ Properties of the `ol_list` object:
322
+
323
+ #### `disabled` (boolean)
324
+
325
+ Indicates if the plugin is disabled or not
326
+
327
+ ### `redo` (object)
328
+
329
+ Properties of the `redo` object:
330
+
331
+ #### `disabled` (boolean)
332
+
333
+ Indicates if the plugin is disabled or not
334
+
335
+ ### `strikethrough` (object)
336
+
337
+ Properties of the `strikethrough` object:
338
+
339
+ #### `disabled` (boolean)
340
+
341
+ Indicates if the plugin is disabled or not
342
+
343
+ ### `sub` (object)
344
+
345
+ Properties of the `sub` object:
346
+
347
+ #### `disabled` (boolean)
348
+
349
+ Indicates if the plugin is disabled or not
350
+
351
+ ### `sup` (object)
352
+
353
+ Properties of the `sup` object:
354
+
355
+ #### `disabled` (boolean)
356
+
357
+ Indicates if the plugin is disabled or not
358
+
359
+ ### `table` (object)
360
+
361
+ Properties of the `table` object:
362
+
363
+ #### `disabled` (boolean)
364
+
365
+ Indicates if the plugin is disabled or not
366
+
367
+ ### `ul_list` (object)
368
+
369
+ Properties of the `ul_list` object:
370
+
371
+ #### `disabled` (boolean)
372
+
373
+ Indicates if the plugin is disabled or not
374
+
375
+ ### `underline` (object)
376
+
377
+ Properties of the `underline` object:
378
+
379
+ #### `disabled` (boolean)
380
+
381
+ Indicates if the plugin is disabled or not
382
+
383
+ ### `undo` (object)
384
+
385
+ Properties of the `undo` object:
386
+
387
+ #### `disabled` (boolean)
388
+
389
+ Indicates if the plugin is disabled or not
390
+
391
+ ## `required` (boolean)
392
+
393
+ Indicates if the item is required and the value cannot be empty
394
+
395
+ ## `settings` (boolean)
396
+
397
+ Indicates if the item has to be displayed in the Settings Panel
398
+
399
+ ## `label` (string)
400
+
401
+ Indicates the label for the item that has to be displayed in the Settings Panel
402
+
403
+ # `lockChoiceOrder` (object)
404
+
405
+ Properties of the `lockChoiceOrder` object:
406
+
407
+ ## `settings` (boolean)
408
+
409
+ Indicates if the item has to be displayed in the Settings Panel
410
+
411
+ ## `label` (string)
412
+
413
+ Indicates the label for the item that has to be displayed in the Settings Panel
414
+
415
+ # `partialScoring` (object)
416
+
417
+ Properties of the `partialScoring` object:
418
+
419
+ ## `settings` (boolean)
420
+
421
+ Indicates if the item has to be displayed in the Settings Panel
422
+
423
+ ## `label` (string)
424
+
425
+ Indicates the label for the item that has to be displayed in the Settings Panel
426
+
427
+ # `rationale` (object)
428
+
429
+ Properties of the `rationale` object:
430
+
431
+ ## `inputConfiguration` (object)
432
+
433
+ Properties of the `inputConfiguration` object:
434
+
435
+ ### `math` (object)
436
+
437
+ Properties of the `math` object:
438
+
439
+ #### `disabled` (boolean)
440
+
441
+ Indicates if the plugin is disabled or not
442
+
443
+ ### `audio` (object)
444
+
445
+ Properties of the `audio` object:
446
+
447
+ #### `disabled` (boolean)
448
+
449
+ Indicates if the plugin is disabled or not
450
+
451
+ ### `video` (object)
452
+
453
+ Properties of the `video` object:
454
+
455
+ #### `disabled` (boolean)
456
+
457
+ Indicates if the plugin is disabled or not
458
+
459
+ ### `image` (object)
460
+
461
+ Properties of the `image` object:
462
+
463
+ #### `disabled` (boolean)
464
+
465
+ Indicates if the plugin is disabled or not
466
+
467
+ ### `customPlugins` (array)
468
+
469
+ An array of objects that determine custom plugins.
470
+ A 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).
471
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
472
+
473
+ The object is an array with all elements of the type `object`.
474
+
475
+ The array object has the following properties:
476
+
477
+ #### `event` (string, required)
478
+
479
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
480
+ PIE will emit the event prefixed with "PIE-".
481
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
482
+
483
+ #### `iconAlt` (string, required)
484
+
485
+ The alt for the custom button icon
486
+
487
+ #### `iconType` (string, required)
488
+
489
+ The icon type.
490
+ Currently, only "SVG" is supported.
491
+
492
+ #### `icon` (string, required)
493
+
494
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
495
+
496
+ ### `blockquote` (object)
497
+
498
+ Properties of the `blockquote` object:
499
+
500
+ #### `disabled` (boolean)
501
+
502
+ Indicates if the plugin is disabled or not
503
+
504
+ ### `h3` (object)
505
+
506
+ Properties of the `h3` object:
507
+
508
+ #### `disabled` (boolean)
509
+
510
+ Indicates if the plugin is disabled or not
511
+
512
+ ### `characters` (object)
513
+
514
+ Properties of the `characters` object:
515
+
516
+ #### `disabled` (boolean)
517
+
518
+ Indicates if the plugin is disabled or not
519
+
520
+ ### `bold` (object)
521
+
522
+ Properties of the `bold` object:
523
+
524
+ #### `disabled` (boolean)
525
+
526
+ Indicates if the plugin is disabled or not
527
+
528
+ ### `html` (object)
529
+
530
+ Properties of the `html` object:
531
+
532
+ #### `disabled` (boolean)
533
+
534
+ Indicates if the plugin is disabled or not
535
+
536
+ ### `italic` (object)
537
+
538
+ Properties of the `italic` object:
539
+
540
+ #### `disabled` (boolean)
541
+
542
+ Indicates if the plugin is disabled or not
543
+
544
+ ### `ol_list` (object)
545
+
546
+ Properties of the `ol_list` object:
547
+
548
+ #### `disabled` (boolean)
549
+
550
+ Indicates if the plugin is disabled or not
551
+
552
+ ### `redo` (object)
553
+
554
+ Properties of the `redo` object:
555
+
556
+ #### `disabled` (boolean)
557
+
558
+ Indicates if the plugin is disabled or not
559
+
560
+ ### `strikethrough` (object)
561
+
562
+ Properties of the `strikethrough` object:
563
+
564
+ #### `disabled` (boolean)
565
+
566
+ Indicates if the plugin is disabled or not
567
+
568
+ ### `sub` (object)
569
+
570
+ Properties of the `sub` object:
571
+
572
+ #### `disabled` (boolean)
573
+
574
+ Indicates if the plugin is disabled or not
575
+
576
+ ### `sup` (object)
577
+
578
+ Properties of the `sup` object:
579
+
580
+ #### `disabled` (boolean)
581
+
582
+ Indicates if the plugin is disabled or not
583
+
584
+ ### `table` (object)
585
+
586
+ Properties of the `table` object:
587
+
588
+ #### `disabled` (boolean)
589
+
590
+ Indicates if the plugin is disabled or not
591
+
592
+ ### `ul_list` (object)
593
+
594
+ Properties of the `ul_list` object:
595
+
596
+ #### `disabled` (boolean)
597
+
598
+ Indicates if the plugin is disabled or not
599
+
600
+ ### `underline` (object)
601
+
602
+ Properties of the `underline` object:
603
+
604
+ #### `disabled` (boolean)
605
+
606
+ Indicates if the plugin is disabled or not
607
+
608
+ ### `undo` (object)
609
+
610
+ Properties of the `undo` object:
611
+
612
+ #### `disabled` (boolean)
613
+
614
+ Indicates if the plugin is disabled or not
615
+
616
+ ## `required` (boolean)
617
+
618
+ Indicates if the item is required and the value cannot be empty
619
+
620
+ ## `settings` (boolean)
621
+
622
+ Indicates if the item has to be displayed in the Settings Panel
623
+
624
+ ## `label` (string)
625
+
626
+ Indicates the label for the item that has to be displayed in the Settings Panel
627
+
628
+ # `spellCheck` (object)
629
+
630
+ Properties of the `spellCheck` object:
631
+
632
+ ## `settings` (boolean)
633
+
634
+ Indicates if the item has to be displayed in the Settings Panel
635
+
636
+ ## `label` (string)
637
+
638
+ Indicates the label for the item that has to be displayed in the Settings Panel
639
+
640
+ # `choiceRationale` (object)
641
+
642
+ Properties of the `choiceRationale` object:
643
+
644
+ ## `settings` (boolean)
645
+
646
+ Indicates if the item has to be displayed in the Settings Panel
647
+
648
+ ## `label` (string)
649
+
650
+ Indicates the label for the item that has to be displayed in the Settings Panel
651
+
652
+ # `settingsPanelDisabled` (boolean)
653
+
654
+ Indicates if the settings panel is not available
655
+
656
+ # `scoringType` (object)
657
+
658
+ Properties of the `scoringType` object:
659
+
660
+ ## `settings` (boolean)
661
+
662
+ Indicates if the item has to be displayed in the Settings Panel
663
+
664
+ ## `label` (string)
665
+
666
+ Indicates the label for the item that has to be displayed in the Settings Panel
667
+
668
+ # `studentInstructions` (object)
669
+
670
+ Properties of the `studentInstructions` object:
671
+
672
+ ## `settings` (boolean)
673
+
674
+ Indicates if the item has to be displayed in the Settings Panel
675
+
676
+ ## `label` (string)
677
+
678
+ Indicates the label for the item that has to be displayed in the Settings Panel
679
+
680
+ # `teacherInstructions` (object)
681
+
682
+ Properties of the `teacherInstructions` object:
683
+
684
+ ## `inputConfiguration` (object)
685
+
686
+ Properties of the `inputConfiguration` object:
687
+
688
+ ### `math` (object)
689
+
690
+ Properties of the `math` object:
691
+
692
+ #### `disabled` (boolean)
693
+
694
+ Indicates if the plugin is disabled or not
695
+
696
+ ### `audio` (object)
697
+
698
+ Properties of the `audio` object:
699
+
700
+ #### `disabled` (boolean)
701
+
702
+ Indicates if the plugin is disabled or not
703
+
704
+ ### `video` (object)
705
+
706
+ Properties of the `video` object:
707
+
708
+ #### `disabled` (boolean)
709
+
710
+ Indicates if the plugin is disabled or not
711
+
712
+ ### `image` (object)
713
+
714
+ Properties of the `image` object:
715
+
716
+ #### `disabled` (boolean)
717
+
718
+ Indicates if the plugin is disabled or not
719
+
720
+ ### `customPlugins` (array)
721
+
722
+ An array of objects that determine custom plugins.
723
+ A 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).
724
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
725
+
726
+ The object is an array with all elements of the type `object`.
727
+
728
+ The array object has the following properties:
729
+
730
+ #### `event` (string, required)
731
+
732
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
733
+ PIE will emit the event prefixed with "PIE-".
734
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
735
+
736
+ #### `iconAlt` (string, required)
737
+
738
+ The alt for the custom button icon
739
+
740
+ #### `iconType` (string, required)
741
+
742
+ The icon type.
743
+ Currently, only "SVG" is supported.
744
+
745
+ #### `icon` (string, required)
746
+
747
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
748
+
749
+ ### `blockquote` (object)
750
+
751
+ Properties of the `blockquote` object:
752
+
753
+ #### `disabled` (boolean)
754
+
755
+ Indicates if the plugin is disabled or not
756
+
757
+ ### `h3` (object)
758
+
759
+ Properties of the `h3` object:
760
+
761
+ #### `disabled` (boolean)
762
+
763
+ Indicates if the plugin is disabled or not
764
+
765
+ ### `characters` (object)
766
+
767
+ Properties of the `characters` object:
768
+
769
+ #### `disabled` (boolean)
770
+
771
+ Indicates if the plugin is disabled or not
772
+
773
+ ### `bold` (object)
774
+
775
+ Properties of the `bold` object:
776
+
777
+ #### `disabled` (boolean)
778
+
779
+ Indicates if the plugin is disabled or not
780
+
781
+ ### `html` (object)
782
+
783
+ Properties of the `html` object:
784
+
785
+ #### `disabled` (boolean)
786
+
787
+ Indicates if the plugin is disabled or not
788
+
789
+ ### `italic` (object)
790
+
791
+ Properties of the `italic` object:
792
+
793
+ #### `disabled` (boolean)
794
+
795
+ Indicates if the plugin is disabled or not
796
+
797
+ ### `ol_list` (object)
798
+
799
+ Properties of the `ol_list` object:
800
+
801
+ #### `disabled` (boolean)
802
+
803
+ Indicates if the plugin is disabled or not
804
+
805
+ ### `redo` (object)
806
+
807
+ Properties of the `redo` object:
808
+
809
+ #### `disabled` (boolean)
810
+
811
+ Indicates if the plugin is disabled or not
812
+
813
+ ### `strikethrough` (object)
814
+
815
+ Properties of the `strikethrough` object:
816
+
817
+ #### `disabled` (boolean)
818
+
819
+ Indicates if the plugin is disabled or not
820
+
821
+ ### `sub` (object)
822
+
823
+ Properties of the `sub` object:
824
+
825
+ #### `disabled` (boolean)
826
+
827
+ Indicates if the plugin is disabled or not
828
+
829
+ ### `sup` (object)
830
+
831
+ Properties of the `sup` object:
832
+
833
+ #### `disabled` (boolean)
834
+
835
+ Indicates if the plugin is disabled or not
836
+
837
+ ### `table` (object)
838
+
839
+ Properties of the `table` object:
840
+
841
+ #### `disabled` (boolean)
842
+
843
+ Indicates if the plugin is disabled or not
844
+
845
+ ### `ul_list` (object)
846
+
847
+ Properties of the `ul_list` object:
848
+
849
+ #### `disabled` (boolean)
850
+
851
+ Indicates if the plugin is disabled or not
852
+
853
+ ### `underline` (object)
854
+
855
+ Properties of the `underline` object:
856
+
857
+ #### `disabled` (boolean)
858
+
859
+ Indicates if the plugin is disabled or not
860
+
861
+ ### `undo` (object)
862
+
863
+ Properties of the `undo` object:
864
+
865
+ #### `disabled` (boolean)
866
+
867
+ Indicates if the plugin is disabled or not
868
+
869
+ ## `required` (boolean)
870
+
871
+ Indicates if the item is required and the value cannot be empty
872
+
873
+ ## `settings` (boolean)
874
+
875
+ Indicates if the item has to be displayed in the Settings Panel
876
+
877
+ ## `label` (string)
878
+
879
+ Indicates the label for the item that has to be displayed in the Settings Panel
880
+
881
+ # `template` (object)
882
+
883
+ Properties of the `template` object:
884
+
885
+ ## `inputConfiguration` (object)
886
+
887
+ Properties of the `inputConfiguration` object:
888
+
889
+ ### `math` (object)
890
+
891
+ Properties of the `math` object:
892
+
893
+ #### `disabled` (boolean)
894
+
895
+ Indicates if the plugin is disabled or not
896
+
897
+ ### `audio` (object)
898
+
899
+ Properties of the `audio` object:
900
+
901
+ #### `disabled` (boolean)
902
+
903
+ Indicates if the plugin is disabled or not
904
+
905
+ ### `video` (object)
906
+
907
+ Properties of the `video` object:
908
+
909
+ #### `disabled` (boolean)
910
+
911
+ Indicates if the plugin is disabled or not
912
+
913
+ ### `image` (object)
914
+
915
+ Properties of the `image` object:
916
+
917
+ #### `disabled` (boolean)
918
+
919
+ Indicates if the plugin is disabled or not
920
+
921
+ ### `customPlugins` (array)
922
+
923
+ An array of objects that determine custom plugins.
924
+ A 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).
925
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
926
+
927
+ The object is an array with all elements of the type `object`.
928
+
929
+ The array object has the following properties:
930
+
931
+ #### `event` (string, required)
932
+
933
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
934
+ PIE will emit the event prefixed with "PIE-".
935
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
936
+
937
+ #### `iconAlt` (string, required)
938
+
939
+ The alt for the custom button icon
940
+
941
+ #### `iconType` (string, required)
942
+
943
+ The icon type.
944
+ Currently, only "SVG" is supported.
945
+
946
+ #### `icon` (string, required)
947
+
948
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
949
+
950
+ ### `blockquote` (object)
951
+
952
+ Properties of the `blockquote` object:
953
+
954
+ #### `disabled` (boolean)
955
+
956
+ Indicates if the plugin is disabled or not
957
+
958
+ ### `h3` (object)
959
+
960
+ Properties of the `h3` object:
961
+
962
+ #### `disabled` (boolean)
963
+
964
+ Indicates if the plugin is disabled or not
965
+
966
+ ### `characters` (object)
967
+
968
+ Properties of the `characters` object:
969
+
970
+ #### `disabled` (boolean)
971
+
972
+ Indicates if the plugin is disabled or not
973
+
974
+ ### `bold` (object)
975
+
976
+ Properties of the `bold` object:
977
+
978
+ #### `disabled` (boolean)
979
+
980
+ Indicates if the plugin is disabled or not
981
+
982
+ ### `html` (object)
983
+
984
+ Properties of the `html` object:
985
+
986
+ #### `disabled` (boolean)
987
+
988
+ Indicates if the plugin is disabled or not
989
+
990
+ ### `italic` (object)
991
+
992
+ Properties of the `italic` object:
993
+
994
+ #### `disabled` (boolean)
995
+
996
+ Indicates if the plugin is disabled or not
997
+
998
+ ### `ol_list` (object)
999
+
1000
+ Properties of the `ol_list` object:
1001
+
1002
+ #### `disabled` (boolean)
1003
+
1004
+ Indicates if the plugin is disabled or not
1005
+
1006
+ ### `redo` (object)
1007
+
1008
+ Properties of the `redo` object:
1009
+
1010
+ #### `disabled` (boolean)
1011
+
1012
+ Indicates if the plugin is disabled or not
1013
+
1014
+ ### `strikethrough` (object)
1015
+
1016
+ Properties of the `strikethrough` object:
1017
+
1018
+ #### `disabled` (boolean)
1019
+
1020
+ Indicates if the plugin is disabled or not
1021
+
1022
+ ### `sub` (object)
1023
+
1024
+ Properties of the `sub` object:
1025
+
1026
+ #### `disabled` (boolean)
1027
+
1028
+ Indicates if the plugin is disabled or not
1029
+
1030
+ ### `sup` (object)
1031
+
1032
+ Properties of the `sup` object:
1033
+
1034
+ #### `disabled` (boolean)
1035
+
1036
+ Indicates if the plugin is disabled or not
1037
+
1038
+ ### `table` (object)
1039
+
1040
+ Properties of the `table` object:
1041
+
1042
+ #### `disabled` (boolean)
1043
+
1044
+ Indicates if the plugin is disabled or not
1045
+
1046
+ ### `ul_list` (object)
1047
+
1048
+ Properties of the `ul_list` object:
1049
+
1050
+ #### `disabled` (boolean)
1051
+
1052
+ Indicates if the plugin is disabled or not
1053
+
1054
+ ### `underline` (object)
1055
+
1056
+ Properties of the `underline` object:
1057
+
1058
+ #### `disabled` (boolean)
1059
+
1060
+ Indicates if the plugin is disabled or not
1061
+
1062
+ ### `undo` (object)
1063
+
1064
+ Properties of the `undo` object:
1065
+
1066
+ #### `disabled` (boolean)
1067
+
1068
+ Indicates if the plugin is disabled or not
1069
+
1070
+ ## `settings` (boolean)
1071
+
1072
+ Indicates if the item has to be displayed in the Settings Panel
1073
+
1074
+ ## `label` (string)
1075
+
1076
+ Indicates the label for the item that has to be displayed in the Settings Panel
1077
+
1078
+ # `maxResponseAreas` (number)
1079
+
1080
+ Maximum number of response areas
1081
+
1082
+ # `maxResponseAreaChoices` (number)
1083
+
1084
+ Maximum number of choices per response area
1085
+
1086
+ # `maxImageWidth` (object)
1087
+
1088
+ Properties of the `maxImageWidth` object:
1089
+
1090
+ ## `teacherInstructions` (number)
1091
+
1092
+ Indicates the max dimension for images in teacher instructions
1093
+
1094
+ ## `prompt` (number)
1095
+
1096
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1097
+
1098
+ ## `rationale` (number)
1099
+
1100
+ Indicates the max dimension for images in rationale
1101
+
1102
+ # `maxImageHeight` (object)
1103
+
1104
+ Properties of the `maxImageHeight` object:
1105
+
1106
+ ## `teacherInstructions` (number)
1107
+
1108
+ Indicates the max dimension for images in teacher instructions
1109
+
1110
+ ## `prompt` (number)
1111
+
1112
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1113
+
1114
+ ## `rationale` (number)
1115
+
1116
+ Indicates the max dimension for images in rationale
1117
+
1118
+ # `withRubric` (object)
1119
+
1120
+ Properties of the `withRubric` object:
1121
+
1122
+ ## `settings` (boolean)
1123
+
1124
+ Indicates if the item has to be displayed in the Settings Panel
1125
+
1126
+ ## `label` (string)
1127
+
1128
+ Indicates the label for the item that has to be displayed in the Settings Panel
1129
+
1130
+ # `mathMlOptions` (object)
1131
+
1132
+ Properties of the `mathMlOptions` object:
1133
+
1134
+ ## `mmlOutput` (number)
1135
+
1136
+ Indicates if model should have mathML output instead of latex
1137
+
1138
+ ## `mmlEditing` (number)
1139
+
1140
+ Indicates if mathML that's already in model should be editable
1141
+
1142
+ # `language` (object)
1143
+
1144
+ Properties of the `language` object:
1145
+
1146
+ ## `enabled` (boolean)
1147
+
1148
+ Indicates the value of the item if it affects config-ui
1149
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1150
+
1151
+ ## `settings` (boolean)
1152
+
1153
+ Indicates if the item has to be displayed in the Settings Panel
1154
+
1155
+ ## `label` (string)
1156
+
1157
+ Indicates the label for the item that has to be displayed in the Settings Panel
1158
+
1159
+ # `languageChoices` (object)
1160
+
1161
+ Language choices configuration
1162
+ Only available if language is enabled
1163
+
1164
+ Properties of the `languageChoices` object:
1165
+
1166
+ ## `label` (string, required)
1167
+
1168
+ ## `options` (array, required)
1169
+
1170
+ The object is an array with all elements of the type `object`.
1171
+
1172
+ The array object has the following properties:
1173
+
1174
+ ### `value` (string, required)
1175
+
1176
+ Value of the language option
1177
+
1178
+ ### `label` (string, required)
1179
+
1180
+ Label of the language option
1181
+
1182
+ # `responseAreaInputConfiguration` (object)
1183
+
1184
+ Properties of the `responseAreaInputConfiguration` object:
1185
+
1186
+ ## `math` (object)
1187
+
1188
+ Properties of the `math` object:
1189
+
1190
+ ### `disabled` (boolean)
1191
+
1192
+ Indicates if the plugin is disabled or not
1193
+
1194
+ ## `audio` (object)
1195
+
1196
+ Properties of the `audio` object:
1197
+
1198
+ ### `disabled` (boolean)
1199
+
1200
+ Indicates if the plugin is disabled or not
1201
+
1202
+ ## `video` (object)
1203
+
1204
+ Properties of the `video` object:
1205
+
1206
+ ### `disabled` (boolean)
1207
+
1208
+ Indicates if the plugin is disabled or not
1209
+
1210
+ ## `image` (object)
1211
+
1212
+ Properties of the `image` object:
1213
+
1214
+ ### `disabled` (boolean)
1215
+
1216
+ Indicates if the plugin is disabled or not
1217
+
1218
+ ## `customPlugins` (array)
1219
+
1220
+ An array of objects that determine custom plugins.
1221
+ A 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).
1222
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1223
+
1224
+ The object is an array with all elements of the type `object`.
1225
+
1226
+ The array object has the following properties:
1227
+
1228
+ ### `event` (string, required)
1229
+
1230
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1231
+ PIE will emit the event prefixed with "PIE-".
1232
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1233
+
1234
+ ### `iconAlt` (string, required)
1235
+
1236
+ The alt for the custom button icon
1237
+
1238
+ ### `iconType` (string, required)
1239
+
1240
+ The icon type.
1241
+ Currently, only "SVG" is supported.
1242
+
1243
+ ### `icon` (string, required)
1244
+
1245
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1246
+
1247
+ ## `blockquote` (object)
1248
+
1249
+ Properties of the `blockquote` object:
1250
+
1251
+ ### `disabled` (boolean)
1252
+
1253
+ Indicates if the plugin is disabled or not
1254
+
1255
+ ## `h3` (object)
1256
+
1257
+ Properties of the `h3` object:
1258
+
1259
+ ### `disabled` (boolean)
1260
+
1261
+ Indicates if the plugin is disabled or not
1262
+
1263
+ ## `characters` (object)
1264
+
1265
+ Properties of the `characters` object:
1266
+
1267
+ ### `disabled` (boolean)
1268
+
1269
+ Indicates if the plugin is disabled or not
1270
+
1271
+ ## `bold` (object)
1272
+
1273
+ Properties of the `bold` object:
1274
+
1275
+ ### `disabled` (boolean)
1276
+
1277
+ Indicates if the plugin is disabled or not
1278
+
1279
+ ## `html` (object)
1280
+
1281
+ Properties of the `html` object:
1282
+
1283
+ ### `disabled` (boolean)
1284
+
1285
+ Indicates if the plugin is disabled or not
1286
+
1287
+ ## `italic` (object)
1288
+
1289
+ Properties of the `italic` object:
1290
+
1291
+ ### `disabled` (boolean)
1292
+
1293
+ Indicates if the plugin is disabled or not
1294
+
1295
+ ## `ol_list` (object)
1296
+
1297
+ Properties of the `ol_list` object:
1298
+
1299
+ ### `disabled` (boolean)
1300
+
1301
+ Indicates if the plugin is disabled or not
1302
+
1303
+ ## `redo` (object)
1304
+
1305
+ Properties of the `redo` object:
1306
+
1307
+ ### `disabled` (boolean)
1308
+
1309
+ Indicates if the plugin is disabled or not
1310
+
1311
+ ## `strikethrough` (object)
1312
+
1313
+ Properties of the `strikethrough` object:
1314
+
1315
+ ### `disabled` (boolean)
1316
+
1317
+ Indicates if the plugin is disabled or not
1318
+
1319
+ ## `sub` (object)
1320
+
1321
+ Properties of the `sub` object:
1322
+
1323
+ ### `disabled` (boolean)
1324
+
1325
+ Indicates if the plugin is disabled or not
1326
+
1327
+ ## `sup` (object)
1328
+
1329
+ Properties of the `sup` object:
1330
+
1331
+ ### `disabled` (boolean)
1332
+
1333
+ Indicates if the plugin is disabled or not
1334
+
1335
+ ## `table` (object)
1336
+
1337
+ Properties of the `table` object:
1338
+
1339
+ ### `disabled` (boolean)
1340
+
1341
+ Indicates if the plugin is disabled or not
1342
+
1343
+ ## `ul_list` (object)
1344
+
1345
+ Properties of the `ul_list` object:
1346
+
1347
+ ### `disabled` (boolean)
1348
+
1349
+ Indicates if the plugin is disabled or not
1350
+
1351
+ ## `underline` (object)
1352
+
1353
+ Properties of the `underline` object:
1354
+
1355
+ ### `disabled` (boolean)
1356
+
1357
+ Indicates if the plugin is disabled or not
1358
+
1359
+ ## `undo` (object)
1360
+
1361
+ Properties of the `undo` object:
1362
+
1363
+ ### `disabled` (boolean)
1364
+
1365
+ Indicates if the plugin is disabled or not
1366
+
1367
+ # `showPrompt` (boolean)
1368
+
1369
+ Determines whether prompt field will be displayed or not
1370
+
1371
+ Default: `true`
1372
+
1373
+ # `promptLabel` (string)
1374
+
1375
+ The label for the item stem/prompt field
1376
+
1377
+ Default: `"Item Stemm"`
1378
+
1379
+ # `contentDimensions` (object)
1380
+
1381
+ Indicates the dimensions configuration for the authoring container
1382
+ Note: Some items have a default minimum width because of their content, but if
1383
+ the minWidth is lower than this, the overflow behavior will take care of that
1384
+
1385
+ Properties of the `contentDimensions` object:
1386
+
1387
+ ## `maxHeight` (string,number)
1388
+
1389
+ Indicates the max height of the authoring container
1390
+
1391
+ Default: `"undefined"`
1392
+
1393
+ ## `maxWidth` (string,number)
1394
+
1395
+ Indicates the max width of the authoring container
1396
+
1397
+ Default: `"undefined"`
1398
+
1399
+ ## `minHeight` (string,number)
1400
+
1401
+ Indicates the min height of the authoring container
1402
+
1403
+ Default: `"undefined"`
1404
+
1405
+ ## `minWidth` (string,number)
1406
+
1407
+ Indicates the min width of the authoring container
1408
+
1409
+ Default: `"undefined"`
1410
+
1411
+ Default: `": {}"`
1412
+
1413
+ # `settingsPartialScoring` (boolean)
1414
+
1415
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
1416
+
1417
+ Default: `true`
1418
+
1419
+ ---
1420
+
1421
+ # Sub Schemas
1422
+
1423
+ The schema defines the following additional types:
1424
+
1425
+ ## `EditableHtmlConfigureProp` (object)
1426
+
1427
+ Properties of the `EditableHtmlConfigureProp` object:
1428
+
1429
+ ### `math` (object)
1430
+
1431
+ Properties of the `math` object:
1432
+
1433
+ #### `disabled` (boolean)
1434
+
1435
+ Indicates if the plugin is disabled or not
1436
+
1437
+ ### `audio` (object)
1438
+
1439
+ Properties of the `audio` object:
1440
+
1441
+ #### `disabled` (boolean)
1442
+
1443
+ Indicates if the plugin is disabled or not
1444
+
1445
+ ### `video` (object)
1446
+
1447
+ Properties of the `video` object:
1448
+
1449
+ #### `disabled` (boolean)
1450
+
1451
+ Indicates if the plugin is disabled or not
1452
+
1453
+ ### `image` (object)
1454
+
1455
+ Properties of the `image` object:
1456
+
1457
+ #### `disabled` (boolean)
1458
+
1459
+ Indicates if the plugin is disabled or not
1460
+
1461
+ ### `customPlugins` (array)
1462
+
1463
+ An array of objects that determine custom plugins.
1464
+ A 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).
1465
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1466
+
1467
+ The object is an array with all elements of the type `object`.
1468
+
1469
+ The array object has the following properties:
1470
+
1471
+ #### `event` (string, required)
1472
+
1473
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1474
+ PIE will emit the event prefixed with "PIE-".
1475
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1476
+
1477
+ #### `iconAlt` (string, required)
1478
+
1479
+ The alt for the custom button icon
1480
+
1481
+ #### `iconType` (string, required)
1482
+
1483
+ The icon type.
1484
+ Currently, only "SVG" is supported.
1485
+
1486
+ #### `icon` (string, required)
1487
+
1488
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1489
+
1490
+ ### `blockquote` (object)
1491
+
1492
+ Properties of the `blockquote` object:
1493
+
1494
+ #### `disabled` (boolean)
1495
+
1496
+ Indicates if the plugin is disabled or not
1497
+
1498
+ ### `h3` (object)
1499
+
1500
+ Properties of the `h3` object:
1501
+
1502
+ #### `disabled` (boolean)
1503
+
1504
+ Indicates if the plugin is disabled or not
1505
+
1506
+ ### `characters` (object)
1507
+
1508
+ Properties of the `characters` object:
1509
+
1510
+ #### `disabled` (boolean)
1511
+
1512
+ Indicates if the plugin is disabled or not
1513
+
1514
+ ### `bold` (object)
1515
+
1516
+ Properties of the `bold` object:
1517
+
1518
+ #### `disabled` (boolean)
1519
+
1520
+ Indicates if the plugin is disabled or not
1521
+
1522
+ ### `html` (object)
1523
+
1524
+ Properties of the `html` object:
1525
+
1526
+ #### `disabled` (boolean)
1527
+
1528
+ Indicates if the plugin is disabled or not
1529
+
1530
+ ### `italic` (object)
1531
+
1532
+ Properties of the `italic` object:
1533
+
1534
+ #### `disabled` (boolean)
1535
+
1536
+ Indicates if the plugin is disabled or not
1537
+
1538
+ ### `ol_list` (object)
1539
+
1540
+ Properties of the `ol_list` object:
1541
+
1542
+ #### `disabled` (boolean)
1543
+
1544
+ Indicates if the plugin is disabled or not
1545
+
1546
+ ### `redo` (object)
1547
+
1548
+ Properties of the `redo` object:
1549
+
1550
+ #### `disabled` (boolean)
1551
+
1552
+ Indicates if the plugin is disabled or not
1553
+
1554
+ ### `strikethrough` (object)
1555
+
1556
+ Properties of the `strikethrough` object:
1557
+
1558
+ #### `disabled` (boolean)
1559
+
1560
+ Indicates if the plugin is disabled or not
1561
+
1562
+ ### `sub` (object)
1563
+
1564
+ Properties of the `sub` object:
1565
+
1566
+ #### `disabled` (boolean)
1567
+
1568
+ Indicates if the plugin is disabled or not
1569
+
1570
+ ### `sup` (object)
1571
+
1572
+ Properties of the `sup` object:
1573
+
1574
+ #### `disabled` (boolean)
1575
+
1576
+ Indicates if the plugin is disabled or not
1577
+
1578
+ ### `table` (object)
1579
+
1580
+ Properties of the `table` object:
1581
+
1582
+ #### `disabled` (boolean)
1583
+
1584
+ Indicates if the plugin is disabled or not
1585
+
1586
+ ### `ul_list` (object)
1587
+
1588
+ Properties of the `ul_list` object:
1589
+
1590
+ #### `disabled` (boolean)
1591
+
1592
+ Indicates if the plugin is disabled or not
1593
+
1594
+ ### `underline` (object)
1595
+
1596
+ Properties of the `underline` object:
1597
+
1598
+ #### `disabled` (boolean)
1599
+
1600
+ Indicates if the plugin is disabled or not
1601
+
1602
+ ### `undo` (object)
1603
+
1604
+ Properties of the `undo` object:
1605
+
1606
+ #### `disabled` (boolean)
1607
+
1608
+ Indicates if the plugin is disabled or not
1609
+
1610
+ ## `EditableHtmlButtonConfigure` (object)
1611
+
1612
+ Properties of the `EditableHtmlButtonConfigure` object:
1613
+
1614
+ ### `disabled` (boolean)
1615
+
1616
+ Indicates if the plugin is disabled or not
1617
+
1618
+ ## `CustomPlugin` (object)
1619
+
1620
+ Properties of the `CustomPlugin` object:
1621
+
1622
+ ### `event` (string, required)
1623
+
1624
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1625
+ PIE will emit the event prefixed with "PIE-".
1626
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1627
+
1628
+ ### `iconAlt` (string, required)
1629
+
1630
+ The alt for the custom button icon
1631
+
1632
+ ### `iconType` (string, required)
1633
+
1634
+ The icon type.
1635
+ Currently, only "SVG" is supported.
1636
+
1637
+ ### `icon` (string, required)
1638
+
1639
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1640
+
1641
+ ## `ConfigureProp` (object)
1642
+
1643
+ Properties of the `ConfigureProp` object:
1644
+
1645
+ ### `settings` (boolean)
1646
+
1647
+ Indicates if the item has to be displayed in the Settings Panel
1648
+
1649
+ ### `label` (string)
1650
+
1651
+ Indicates the label for the item that has to be displayed in the Settings Panel
1652
+
1653
+ ## `EditableHtmlPluginConfigureRequired` (object)
1654
+
1655
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
1656
+
1657
+ ### `inputConfiguration` (object)
1658
+
1659
+ Properties of the `inputConfiguration` object:
1660
+
1661
+ #### `math` (object)
1662
+
1663
+ Properties of the `math` object:
1664
+
1665
+ ##### `disabled` (boolean)
1666
+
1667
+ Indicates if the plugin is disabled or not
1668
+
1669
+ #### `audio` (object)
1670
+
1671
+ Properties of the `audio` object:
1672
+
1673
+ ##### `disabled` (boolean)
1674
+
1675
+ Indicates if the plugin is disabled or not
1676
+
1677
+ #### `video` (object)
1678
+
1679
+ Properties of the `video` object:
1680
+
1681
+ ##### `disabled` (boolean)
1682
+
1683
+ Indicates if the plugin is disabled or not
1684
+
1685
+ #### `image` (object)
1686
+
1687
+ Properties of the `image` object:
1688
+
1689
+ ##### `disabled` (boolean)
1690
+
1691
+ Indicates if the plugin is disabled or not
1692
+
1693
+ #### `customPlugins` (array)
1694
+
1695
+ An array of objects that determine custom plugins.
1696
+ A 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).
1697
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1698
+
1699
+ The object is an array with all elements of the type `object`.
1700
+
1701
+ The array object has the following properties:
1702
+
1703
+ ##### `event` (string, required)
1704
+
1705
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1706
+ PIE will emit the event prefixed with "PIE-".
1707
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1708
+
1709
+ ##### `iconAlt` (string, required)
1710
+
1711
+ The alt for the custom button icon
1712
+
1713
+ ##### `iconType` (string, required)
1714
+
1715
+ The icon type.
1716
+ Currently, only "SVG" is supported.
1717
+
1718
+ ##### `icon` (string, required)
1719
+
1720
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1721
+
1722
+ #### `blockquote` (object)
1723
+
1724
+ Properties of the `blockquote` object:
1725
+
1726
+ ##### `disabled` (boolean)
1727
+
1728
+ Indicates if the plugin is disabled or not
1729
+
1730
+ #### `h3` (object)
1731
+
1732
+ Properties of the `h3` object:
1733
+
1734
+ ##### `disabled` (boolean)
1735
+
1736
+ Indicates if the plugin is disabled or not
1737
+
1738
+ #### `characters` (object)
1739
+
1740
+ Properties of the `characters` object:
1741
+
1742
+ ##### `disabled` (boolean)
1743
+
1744
+ Indicates if the plugin is disabled or not
1745
+
1746
+ #### `bold` (object)
1747
+
1748
+ Properties of the `bold` object:
1749
+
1750
+ ##### `disabled` (boolean)
1751
+
1752
+ Indicates if the plugin is disabled or not
1753
+
1754
+ #### `html` (object)
1755
+
1756
+ Properties of the `html` object:
1757
+
1758
+ ##### `disabled` (boolean)
1759
+
1760
+ Indicates if the plugin is disabled or not
1761
+
1762
+ #### `italic` (object)
1763
+
1764
+ Properties of the `italic` object:
1765
+
1766
+ ##### `disabled` (boolean)
1767
+
1768
+ Indicates if the plugin is disabled or not
1769
+
1770
+ #### `ol_list` (object)
1771
+
1772
+ Properties of the `ol_list` object:
1773
+
1774
+ ##### `disabled` (boolean)
1775
+
1776
+ Indicates if the plugin is disabled or not
1777
+
1778
+ #### `redo` (object)
1779
+
1780
+ Properties of the `redo` object:
1781
+
1782
+ ##### `disabled` (boolean)
1783
+
1784
+ Indicates if the plugin is disabled or not
1785
+
1786
+ #### `strikethrough` (object)
1787
+
1788
+ Properties of the `strikethrough` object:
1789
+
1790
+ ##### `disabled` (boolean)
1791
+
1792
+ Indicates if the plugin is disabled or not
1793
+
1794
+ #### `sub` (object)
1795
+
1796
+ Properties of the `sub` object:
1797
+
1798
+ ##### `disabled` (boolean)
1799
+
1800
+ Indicates if the plugin is disabled or not
1801
+
1802
+ #### `sup` (object)
1803
+
1804
+ Properties of the `sup` object:
1805
+
1806
+ ##### `disabled` (boolean)
1807
+
1808
+ Indicates if the plugin is disabled or not
1809
+
1810
+ #### `table` (object)
1811
+
1812
+ Properties of the `table` object:
1813
+
1814
+ ##### `disabled` (boolean)
1815
+
1816
+ Indicates if the plugin is disabled or not
1817
+
1818
+ #### `ul_list` (object)
1819
+
1820
+ Properties of the `ul_list` object:
1821
+
1822
+ ##### `disabled` (boolean)
1823
+
1824
+ Indicates if the plugin is disabled or not
1825
+
1826
+ #### `underline` (object)
1827
+
1828
+ Properties of the `underline` object:
1829
+
1830
+ ##### `disabled` (boolean)
1831
+
1832
+ Indicates if the plugin is disabled or not
1833
+
1834
+ #### `undo` (object)
1835
+
1836
+ Properties of the `undo` object:
1837
+
1838
+ ##### `disabled` (boolean)
1839
+
1840
+ Indicates if the plugin is disabled or not
1841
+
1842
+ ### `required` (boolean)
1843
+
1844
+ Indicates if the item is required and the value cannot be empty
1845
+
1846
+ ### `settings` (boolean)
1847
+
1848
+ Indicates if the item has to be displayed in the Settings Panel
1849
+
1850
+ ### `label` (string)
1851
+
1852
+ Indicates the label for the item that has to be displayed in the Settings Panel
1853
+
1854
+ ## `EditableHtmlPluginConfigure` (object)
1855
+
1856
+ Properties of the `EditableHtmlPluginConfigure` object:
1857
+
1858
+ ### `inputConfiguration` (object)
1859
+
1860
+ Properties of the `inputConfiguration` object:
1861
+
1862
+ #### `math` (object)
1863
+
1864
+ Properties of the `math` object:
1865
+
1866
+ ##### `disabled` (boolean)
1867
+
1868
+ Indicates if the plugin is disabled or not
1869
+
1870
+ #### `audio` (object)
1871
+
1872
+ Properties of the `audio` object:
1873
+
1874
+ ##### `disabled` (boolean)
1875
+
1876
+ Indicates if the plugin is disabled or not
1877
+
1878
+ #### `video` (object)
1879
+
1880
+ Properties of the `video` object:
1881
+
1882
+ ##### `disabled` (boolean)
1883
+
1884
+ Indicates if the plugin is disabled or not
1885
+
1886
+ #### `image` (object)
1887
+
1888
+ Properties of the `image` object:
1889
+
1890
+ ##### `disabled` (boolean)
1891
+
1892
+ Indicates if the plugin is disabled or not
1893
+
1894
+ #### `customPlugins` (array)
1895
+
1896
+ An array of objects that determine custom plugins.
1897
+ A 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).
1898
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1899
+
1900
+ The object is an array with all elements of the type `object`.
1901
+
1902
+ The array object has the following properties:
1903
+
1904
+ ##### `event` (string, required)
1905
+
1906
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1907
+ PIE will emit the event prefixed with "PIE-".
1908
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1909
+
1910
+ ##### `iconAlt` (string, required)
1911
+
1912
+ The alt for the custom button icon
1913
+
1914
+ ##### `iconType` (string, required)
1915
+
1916
+ The icon type.
1917
+ Currently, only "SVG" is supported.
1918
+
1919
+ ##### `icon` (string, required)
1920
+
1921
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1922
+
1923
+ #### `blockquote` (object)
1924
+
1925
+ Properties of the `blockquote` object:
1926
+
1927
+ ##### `disabled` (boolean)
1928
+
1929
+ Indicates if the plugin is disabled or not
1930
+
1931
+ #### `h3` (object)
1932
+
1933
+ Properties of the `h3` object:
1934
+
1935
+ ##### `disabled` (boolean)
1936
+
1937
+ Indicates if the plugin is disabled or not
1938
+
1939
+ #### `characters` (object)
1940
+
1941
+ Properties of the `characters` object:
1942
+
1943
+ ##### `disabled` (boolean)
1944
+
1945
+ Indicates if the plugin is disabled or not
1946
+
1947
+ #### `bold` (object)
1948
+
1949
+ Properties of the `bold` object:
1950
+
1951
+ ##### `disabled` (boolean)
1952
+
1953
+ Indicates if the plugin is disabled or not
1954
+
1955
+ #### `html` (object)
1956
+
1957
+ Properties of the `html` object:
1958
+
1959
+ ##### `disabled` (boolean)
1960
+
1961
+ Indicates if the plugin is disabled or not
1962
+
1963
+ #### `italic` (object)
1964
+
1965
+ Properties of the `italic` object:
1966
+
1967
+ ##### `disabled` (boolean)
1968
+
1969
+ Indicates if the plugin is disabled or not
1970
+
1971
+ #### `ol_list` (object)
1972
+
1973
+ Properties of the `ol_list` object:
1974
+
1975
+ ##### `disabled` (boolean)
1976
+
1977
+ Indicates if the plugin is disabled or not
1978
+
1979
+ #### `redo` (object)
1980
+
1981
+ Properties of the `redo` object:
1982
+
1983
+ ##### `disabled` (boolean)
1984
+
1985
+ Indicates if the plugin is disabled or not
1986
+
1987
+ #### `strikethrough` (object)
1988
+
1989
+ Properties of the `strikethrough` object:
1990
+
1991
+ ##### `disabled` (boolean)
1992
+
1993
+ Indicates if the plugin is disabled or not
1994
+
1995
+ #### `sub` (object)
1996
+
1997
+ Properties of the `sub` object:
1998
+
1999
+ ##### `disabled` (boolean)
2000
+
2001
+ Indicates if the plugin is disabled or not
2002
+
2003
+ #### `sup` (object)
2004
+
2005
+ Properties of the `sup` object:
2006
+
2007
+ ##### `disabled` (boolean)
2008
+
2009
+ Indicates if the plugin is disabled or not
2010
+
2011
+ #### `table` (object)
2012
+
2013
+ Properties of the `table` object:
2014
+
2015
+ ##### `disabled` (boolean)
2016
+
2017
+ Indicates if the plugin is disabled or not
2018
+
2019
+ #### `ul_list` (object)
2020
+
2021
+ Properties of the `ul_list` object:
2022
+
2023
+ ##### `disabled` (boolean)
2024
+
2025
+ Indicates if the plugin is disabled or not
2026
+
2027
+ #### `underline` (object)
2028
+
2029
+ Properties of the `underline` object:
2030
+
2031
+ ##### `disabled` (boolean)
2032
+
2033
+ Indicates if the plugin is disabled or not
2034
+
2035
+ #### `undo` (object)
2036
+
2037
+ Properties of the `undo` object:
2038
+
2039
+ ##### `disabled` (boolean)
2040
+
2041
+ Indicates if the plugin is disabled or not
2042
+
2043
+ ### `settings` (boolean)
2044
+
2045
+ Indicates if the item has to be displayed in the Settings Panel
2046
+
2047
+ ### `label` (string)
2048
+
2049
+ Indicates the label for the item that has to be displayed in the Settings Panel
2050
+
2051
+ ## `ConfigureMaxImageDimensionsProp` (object)
2052
+
2053
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
2054
+
2055
+ ### `teacherInstructions` (number)
2056
+
2057
+ Indicates the max dimension for images in teacher instructions
2058
+
2059
+ ### `prompt` (number)
2060
+
2061
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
2062
+
2063
+ ### `rationale` (number)
2064
+
2065
+ Indicates the max dimension for images in rationale
2066
+
2067
+ ## `ConfigureMathMLProp` (object)
2068
+
2069
+ Properties of the `ConfigureMathMLProp` object:
2070
+
2071
+ ### `mmlOutput` (number)
2072
+
2073
+ Indicates if model should have mathML output instead of latex
2074
+
2075
+ ### `mmlEditing` (number)
2076
+
2077
+ Indicates if mathML that's already in model should be editable
2078
+
2079
+ ## `ConfigurePropWithEnabled` (object)
2080
+
2081
+ Properties of the `ConfigurePropWithEnabled` object:
2082
+
2083
+ ### `enabled` (boolean)
2084
+
2085
+ Indicates the value of the item if it affects config-ui
2086
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
2087
+
2088
+ ### `settings` (boolean)
2089
+
2090
+ Indicates if the item has to be displayed in the Settings Panel
2091
+
2092
+ ### `label` (string)
2093
+
2094
+ Indicates the label for the item that has to be displayed in the Settings Panel
2095
+
2096
+ ## `ConfigureLanguageOptionsProp` (object)
2097
+
2098
+ Properties of the `ConfigureLanguageOptionsProp` object:
2099
+
2100
+ ### `value` (string, required)
2101
+
2102
+ Value of the language option
2103
+
2104
+ ### `label` (string, required)
2105
+
2106
+ Label of the language option