@pie-element/explicit-constructed-response 11.1.2-next.2 → 11.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 (108) hide show
  1. package/CHANGELOG.json +1102 -0
  2. package/CHANGELOG.md +2194 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +652 -0
  6. package/configure/CHANGELOG.md +1935 -0
  7. package/configure/lib/alternateResponses.js +199 -0
  8. package/configure/lib/alternateResponses.js.map +1 -0
  9. package/configure/lib/alternateSection.js +329 -0
  10. package/configure/lib/alternateSection.js.map +1 -0
  11. package/configure/lib/defaults.js +184 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/ecr-toolbar.js +181 -0
  14. package/configure/lib/ecr-toolbar.js.map +1 -0
  15. package/configure/lib/index.js +161 -0
  16. package/configure/lib/index.js.map +1 -0
  17. package/configure/lib/main.js +501 -0
  18. package/configure/lib/main.js.map +1 -0
  19. package/configure/lib/markupUtils.js +70 -0
  20. package/configure/lib/markupUtils.js.map +1 -0
  21. package/configure/lib/utils.js +15 -0
  22. package/configure/lib/utils.js.map +1 -0
  23. package/configure/package.json +22 -0
  24. package/controller/CHANGELOG.json +517 -0
  25. package/controller/CHANGELOG.md +1344 -0
  26. package/controller/lib/defaults.js +23 -0
  27. package/controller/lib/defaults.js.map +1 -0
  28. package/controller/lib/index.js +368 -0
  29. package/controller/lib/index.js.map +1 -0
  30. package/controller/package.json +18 -0
  31. package/docs/config-schema.json +2629 -0
  32. package/docs/config-schema.json.md +1941 -0
  33. package/docs/demo/config.js +8 -0
  34. package/docs/demo/generate.js +20 -0
  35. package/docs/demo/index.html +1 -0
  36. package/docs/demo/session.js +10 -0
  37. package/docs/pie-schema.json +1130 -0
  38. package/docs/pie-schema.json.md +814 -0
  39. package/lib/index.js +91 -0
  40. package/lib/index.js.map +1 -0
  41. package/lib/main.js +205 -0
  42. package/lib/main.js.map +1 -0
  43. package/lib/print.js +71 -0
  44. package/lib/print.js.map +1 -0
  45. package/module/configure.js +1 -0
  46. package/module/controller.js +6534 -0
  47. package/module/demo.js +45 -0
  48. package/module/element.js +1 -0
  49. package/module/index.html +21 -0
  50. package/module/manifest.json +18 -0
  51. package/module/print-demo.js +83 -0
  52. package/module/print.html +18 -0
  53. package/module/print.js +1 -0
  54. package/package.json +25 -92
  55. package/configure.js +0 -2
  56. package/controller.js +0 -1
  57. package/dist/_virtual/_rolldown/runtime.js +0 -4
  58. package/dist/author/alternateResponses.d.ts +0 -34
  59. package/dist/author/alternateResponses.js +0 -113
  60. package/dist/author/alternateSection.d.ts +0 -58
  61. package/dist/author/alternateSection.js +0 -213
  62. package/dist/author/defaults.d.ts +0 -186
  63. package/dist/author/defaults.js +0 -128
  64. package/dist/author/ecr-toolbar.d.ts +0 -41
  65. package/dist/author/ecr-toolbar.js +0 -100
  66. package/dist/author/index.d.ts +0 -42
  67. package/dist/author/index.js +0 -96
  68. package/dist/author/main.d.ts +0 -38
  69. package/dist/author/main.js +0 -291
  70. package/dist/author/markupUtils.d.ts +0 -14
  71. package/dist/author/markupUtils.js +0 -13
  72. package/dist/author/utils.d.ts +0 -9
  73. package/dist/author/utils.js +0 -7
  74. package/dist/browser/author/index.js +0 -3378
  75. package/dist/browser/author/index.js.map +0 -1
  76. package/dist/browser/browser-BC3WygxE.js +0 -360
  77. package/dist/browser/browser-BC3WygxE.js.map +0 -1
  78. package/dist/browser/controller/index.js +0 -4152
  79. package/dist/browser/controller/index.js.map +0 -1
  80. package/dist/browser/delivery/index.js +0 -96
  81. package/dist/browser/delivery/index.js.map +0 -1
  82. package/dist/browser/dist-B5QyKMGD.js +0 -45663
  83. package/dist/browser/dist-B5QyKMGD.js.map +0 -1
  84. package/dist/browser/dist-D9ARZhQk.js +0 -1426
  85. package/dist/browser/dist-D9ARZhQk.js.map +0 -1
  86. package/dist/browser/explicit-constructed-response.css +0 -2
  87. package/dist/browser/main-Czk7a-Zt.js +0 -959
  88. package/dist/browser/main-Czk7a-Zt.js.map +0 -1
  89. package/dist/browser/print/index.js +0 -40
  90. package/dist/browser/print/index.js.map +0 -1
  91. package/dist/controller/defaults.d.ts +0 -25
  92. package/dist/controller/defaults.js +0 -19
  93. package/dist/controller/index.d.ts +0 -64
  94. package/dist/controller/index.js +0 -139
  95. package/dist/delivery/index.d.ts +0 -20
  96. package/dist/delivery/index.js +0 -66
  97. package/dist/delivery/main.d.ts +0 -48
  98. package/dist/delivery/main.js +0 -115
  99. package/dist/explicit-constructed-response.css +0 -2
  100. package/dist/index.d.ts +0 -1
  101. package/dist/index.iife.d.ts +0 -8
  102. package/dist/index.iife.js +0 -393
  103. package/dist/index.js +0 -2
  104. package/dist/node_modules/.bun/he@1.2.0/node_modules/he/he.js +0 -3993
  105. package/dist/print/index.d.ts +0 -15
  106. package/dist/print/index.js +0 -40
  107. package/dist/runtime-support.d.ts +0 -12
  108. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,1941 @@
1
+ Config Object for @pie-elements/explicit-constructed-response
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
+ # `rationale` (object)
404
+
405
+ Properties of the `rationale` object:
406
+
407
+ ## `inputConfiguration` (object)
408
+
409
+ Properties of the `inputConfiguration` object:
410
+
411
+ ### `math` (object)
412
+
413
+ Properties of the `math` object:
414
+
415
+ #### `disabled` (boolean)
416
+
417
+ Indicates if the plugin is disabled or not
418
+
419
+ ### `audio` (object)
420
+
421
+ Properties of the `audio` object:
422
+
423
+ #### `disabled` (boolean)
424
+
425
+ Indicates if the plugin is disabled or not
426
+
427
+ ### `video` (object)
428
+
429
+ Properties of the `video` object:
430
+
431
+ #### `disabled` (boolean)
432
+
433
+ Indicates if the plugin is disabled or not
434
+
435
+ ### `image` (object)
436
+
437
+ Properties of the `image` object:
438
+
439
+ #### `disabled` (boolean)
440
+
441
+ Indicates if the plugin is disabled or not
442
+
443
+ ### `customPlugins` (array)
444
+
445
+ An array of objects that determine custom plugins.
446
+ 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).
447
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
448
+
449
+ The object is an array with all elements of the type `object`.
450
+
451
+ The array object has the following properties:
452
+
453
+ #### `event` (string, required)
454
+
455
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
456
+ PIE will emit the event prefixed with "PIE-".
457
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
458
+
459
+ #### `iconAlt` (string, required)
460
+
461
+ The alt for the custom button icon
462
+
463
+ #### `iconType` (string, required)
464
+
465
+ The icon type.
466
+ Currently, only "SVG" is supported.
467
+
468
+ #### `icon` (string, required)
469
+
470
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
471
+
472
+ ### `blockquote` (object)
473
+
474
+ Properties of the `blockquote` object:
475
+
476
+ #### `disabled` (boolean)
477
+
478
+ Indicates if the plugin is disabled or not
479
+
480
+ ### `h3` (object)
481
+
482
+ Properties of the `h3` object:
483
+
484
+ #### `disabled` (boolean)
485
+
486
+ Indicates if the plugin is disabled or not
487
+
488
+ ### `characters` (object)
489
+
490
+ Properties of the `characters` object:
491
+
492
+ #### `disabled` (boolean)
493
+
494
+ Indicates if the plugin is disabled or not
495
+
496
+ ### `bold` (object)
497
+
498
+ Properties of the `bold` object:
499
+
500
+ #### `disabled` (boolean)
501
+
502
+ Indicates if the plugin is disabled or not
503
+
504
+ ### `html` (object)
505
+
506
+ Properties of the `html` object:
507
+
508
+ #### `disabled` (boolean)
509
+
510
+ Indicates if the plugin is disabled or not
511
+
512
+ ### `italic` (object)
513
+
514
+ Properties of the `italic` object:
515
+
516
+ #### `disabled` (boolean)
517
+
518
+ Indicates if the plugin is disabled or not
519
+
520
+ ### `ol_list` (object)
521
+
522
+ Properties of the `ol_list` object:
523
+
524
+ #### `disabled` (boolean)
525
+
526
+ Indicates if the plugin is disabled or not
527
+
528
+ ### `redo` (object)
529
+
530
+ Properties of the `redo` object:
531
+
532
+ #### `disabled` (boolean)
533
+
534
+ Indicates if the plugin is disabled or not
535
+
536
+ ### `strikethrough` (object)
537
+
538
+ Properties of the `strikethrough` object:
539
+
540
+ #### `disabled` (boolean)
541
+
542
+ Indicates if the plugin is disabled or not
543
+
544
+ ### `sub` (object)
545
+
546
+ Properties of the `sub` object:
547
+
548
+ #### `disabled` (boolean)
549
+
550
+ Indicates if the plugin is disabled or not
551
+
552
+ ### `sup` (object)
553
+
554
+ Properties of the `sup` object:
555
+
556
+ #### `disabled` (boolean)
557
+
558
+ Indicates if the plugin is disabled or not
559
+
560
+ ### `table` (object)
561
+
562
+ Properties of the `table` object:
563
+
564
+ #### `disabled` (boolean)
565
+
566
+ Indicates if the plugin is disabled or not
567
+
568
+ ### `ul_list` (object)
569
+
570
+ Properties of the `ul_list` object:
571
+
572
+ #### `disabled` (boolean)
573
+
574
+ Indicates if the plugin is disabled or not
575
+
576
+ ### `underline` (object)
577
+
578
+ Properties of the `underline` object:
579
+
580
+ #### `disabled` (boolean)
581
+
582
+ Indicates if the plugin is disabled or not
583
+
584
+ ### `undo` (object)
585
+
586
+ Properties of the `undo` object:
587
+
588
+ #### `disabled` (boolean)
589
+
590
+ Indicates if the plugin is disabled or not
591
+
592
+ ## `required` (boolean)
593
+
594
+ Indicates if the item is required and the value cannot be empty
595
+
596
+ ## `settings` (boolean)
597
+
598
+ Indicates if the item has to be displayed in the Settings Panel
599
+
600
+ ## `label` (string)
601
+
602
+ Indicates the label for the item that has to be displayed in the Settings Panel
603
+
604
+ # `settingsPanelDisabled` (boolean)
605
+
606
+ Indicates if the settings panel is not available
607
+
608
+ # `spellCheck` (object)
609
+
610
+ Properties of the `spellCheck` object:
611
+
612
+ ## `settings` (boolean)
613
+
614
+ Indicates if the item has to be displayed in the Settings Panel
615
+
616
+ ## `label` (string)
617
+
618
+ Indicates the label for the item that has to be displayed in the Settings Panel
619
+
620
+ # `playerSpellCheck` (object)
621
+
622
+ Properties of the `playerSpellCheck` object:
623
+
624
+ ## `settings` (boolean)
625
+
626
+ Indicates if the item has to be displayed in the Settings Panel
627
+
628
+ ## `label` (string)
629
+
630
+ Indicates the label for the item that has to be displayed in the Settings Panel
631
+
632
+ # `autoScoring` (object)
633
+
634
+ Properties of the `autoScoring` object:
635
+
636
+ ## `settings` (boolean)
637
+
638
+ Indicates if the item has to be displayed in the Settings Panel
639
+
640
+ ## `label` (string)
641
+
642
+ Indicates the label for the item that has to be displayed in the Settings Panel
643
+
644
+ # `studentInstructions` (object)
645
+
646
+ Properties of the `studentInstructions` object:
647
+
648
+ ## `settings` (boolean)
649
+
650
+ Indicates if the item has to be displayed in the Settings Panel
651
+
652
+ ## `label` (string)
653
+
654
+ Indicates the label for the item that has to be displayed in the Settings Panel
655
+
656
+ # `teacherInstructions` (object)
657
+
658
+ Properties of the `teacherInstructions` object:
659
+
660
+ ## `inputConfiguration` (object)
661
+
662
+ Properties of the `inputConfiguration` object:
663
+
664
+ ### `math` (object)
665
+
666
+ Properties of the `math` object:
667
+
668
+ #### `disabled` (boolean)
669
+
670
+ Indicates if the plugin is disabled or not
671
+
672
+ ### `audio` (object)
673
+
674
+ Properties of the `audio` object:
675
+
676
+ #### `disabled` (boolean)
677
+
678
+ Indicates if the plugin is disabled or not
679
+
680
+ ### `video` (object)
681
+
682
+ Properties of the `video` object:
683
+
684
+ #### `disabled` (boolean)
685
+
686
+ Indicates if the plugin is disabled or not
687
+
688
+ ### `image` (object)
689
+
690
+ Properties of the `image` object:
691
+
692
+ #### `disabled` (boolean)
693
+
694
+ Indicates if the plugin is disabled or not
695
+
696
+ ### `customPlugins` (array)
697
+
698
+ An array of objects that determine custom plugins.
699
+ 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).
700
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
701
+
702
+ The object is an array with all elements of the type `object`.
703
+
704
+ The array object has the following properties:
705
+
706
+ #### `event` (string, required)
707
+
708
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
709
+ PIE will emit the event prefixed with "PIE-".
710
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
711
+
712
+ #### `iconAlt` (string, required)
713
+
714
+ The alt for the custom button icon
715
+
716
+ #### `iconType` (string, required)
717
+
718
+ The icon type.
719
+ Currently, only "SVG" is supported.
720
+
721
+ #### `icon` (string, required)
722
+
723
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
724
+
725
+ ### `blockquote` (object)
726
+
727
+ Properties of the `blockquote` object:
728
+
729
+ #### `disabled` (boolean)
730
+
731
+ Indicates if the plugin is disabled or not
732
+
733
+ ### `h3` (object)
734
+
735
+ Properties of the `h3` object:
736
+
737
+ #### `disabled` (boolean)
738
+
739
+ Indicates if the plugin is disabled or not
740
+
741
+ ### `characters` (object)
742
+
743
+ Properties of the `characters` object:
744
+
745
+ #### `disabled` (boolean)
746
+
747
+ Indicates if the plugin is disabled or not
748
+
749
+ ### `bold` (object)
750
+
751
+ Properties of the `bold` object:
752
+
753
+ #### `disabled` (boolean)
754
+
755
+ Indicates if the plugin is disabled or not
756
+
757
+ ### `html` (object)
758
+
759
+ Properties of the `html` object:
760
+
761
+ #### `disabled` (boolean)
762
+
763
+ Indicates if the plugin is disabled or not
764
+
765
+ ### `italic` (object)
766
+
767
+ Properties of the `italic` object:
768
+
769
+ #### `disabled` (boolean)
770
+
771
+ Indicates if the plugin is disabled or not
772
+
773
+ ### `ol_list` (object)
774
+
775
+ Properties of the `ol_list` object:
776
+
777
+ #### `disabled` (boolean)
778
+
779
+ Indicates if the plugin is disabled or not
780
+
781
+ ### `redo` (object)
782
+
783
+ Properties of the `redo` object:
784
+
785
+ #### `disabled` (boolean)
786
+
787
+ Indicates if the plugin is disabled or not
788
+
789
+ ### `strikethrough` (object)
790
+
791
+ Properties of the `strikethrough` object:
792
+
793
+ #### `disabled` (boolean)
794
+
795
+ Indicates if the plugin is disabled or not
796
+
797
+ ### `sub` (object)
798
+
799
+ Properties of the `sub` object:
800
+
801
+ #### `disabled` (boolean)
802
+
803
+ Indicates if the plugin is disabled or not
804
+
805
+ ### `sup` (object)
806
+
807
+ Properties of the `sup` object:
808
+
809
+ #### `disabled` (boolean)
810
+
811
+ Indicates if the plugin is disabled or not
812
+
813
+ ### `table` (object)
814
+
815
+ Properties of the `table` object:
816
+
817
+ #### `disabled` (boolean)
818
+
819
+ Indicates if the plugin is disabled or not
820
+
821
+ ### `ul_list` (object)
822
+
823
+ Properties of the `ul_list` object:
824
+
825
+ #### `disabled` (boolean)
826
+
827
+ Indicates if the plugin is disabled or not
828
+
829
+ ### `underline` (object)
830
+
831
+ Properties of the `underline` object:
832
+
833
+ #### `disabled` (boolean)
834
+
835
+ Indicates if the plugin is disabled or not
836
+
837
+ ### `undo` (object)
838
+
839
+ Properties of the `undo` object:
840
+
841
+ #### `disabled` (boolean)
842
+
843
+ Indicates if the plugin is disabled or not
844
+
845
+ ## `required` (boolean)
846
+
847
+ Indicates if the item is required and the value cannot be empty
848
+
849
+ ## `settings` (boolean)
850
+
851
+ Indicates if the item has to be displayed in the Settings Panel
852
+
853
+ ## `label` (string)
854
+
855
+ Indicates the label for the item that has to be displayed in the Settings Panel
856
+
857
+ # `template` (object)
858
+
859
+ Properties of the `template` object:
860
+
861
+ ## `inputConfiguration` (object)
862
+
863
+ Properties of the `inputConfiguration` object:
864
+
865
+ ### `math` (object)
866
+
867
+ Properties of the `math` object:
868
+
869
+ #### `disabled` (boolean)
870
+
871
+ Indicates if the plugin is disabled or not
872
+
873
+ ### `audio` (object)
874
+
875
+ Properties of the `audio` object:
876
+
877
+ #### `disabled` (boolean)
878
+
879
+ Indicates if the plugin is disabled or not
880
+
881
+ ### `video` (object)
882
+
883
+ Properties of the `video` object:
884
+
885
+ #### `disabled` (boolean)
886
+
887
+ Indicates if the plugin is disabled or not
888
+
889
+ ### `image` (object)
890
+
891
+ Properties of the `image` object:
892
+
893
+ #### `disabled` (boolean)
894
+
895
+ Indicates if the plugin is disabled or not
896
+
897
+ ### `customPlugins` (array)
898
+
899
+ An array of objects that determine custom plugins.
900
+ 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).
901
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
902
+
903
+ The object is an array with all elements of the type `object`.
904
+
905
+ The array object has the following properties:
906
+
907
+ #### `event` (string, required)
908
+
909
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
910
+ PIE will emit the event prefixed with "PIE-".
911
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
912
+
913
+ #### `iconAlt` (string, required)
914
+
915
+ The alt for the custom button icon
916
+
917
+ #### `iconType` (string, required)
918
+
919
+ The icon type.
920
+ Currently, only "SVG" is supported.
921
+
922
+ #### `icon` (string, required)
923
+
924
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
925
+
926
+ ### `blockquote` (object)
927
+
928
+ Properties of the `blockquote` object:
929
+
930
+ #### `disabled` (boolean)
931
+
932
+ Indicates if the plugin is disabled or not
933
+
934
+ ### `h3` (object)
935
+
936
+ Properties of the `h3` object:
937
+
938
+ #### `disabled` (boolean)
939
+
940
+ Indicates if the plugin is disabled or not
941
+
942
+ ### `characters` (object)
943
+
944
+ Properties of the `characters` object:
945
+
946
+ #### `disabled` (boolean)
947
+
948
+ Indicates if the plugin is disabled or not
949
+
950
+ ### `bold` (object)
951
+
952
+ Properties of the `bold` object:
953
+
954
+ #### `disabled` (boolean)
955
+
956
+ Indicates if the plugin is disabled or not
957
+
958
+ ### `html` (object)
959
+
960
+ Properties of the `html` object:
961
+
962
+ #### `disabled` (boolean)
963
+
964
+ Indicates if the plugin is disabled or not
965
+
966
+ ### `italic` (object)
967
+
968
+ Properties of the `italic` object:
969
+
970
+ #### `disabled` (boolean)
971
+
972
+ Indicates if the plugin is disabled or not
973
+
974
+ ### `ol_list` (object)
975
+
976
+ Properties of the `ol_list` object:
977
+
978
+ #### `disabled` (boolean)
979
+
980
+ Indicates if the plugin is disabled or not
981
+
982
+ ### `redo` (object)
983
+
984
+ Properties of the `redo` object:
985
+
986
+ #### `disabled` (boolean)
987
+
988
+ Indicates if the plugin is disabled or not
989
+
990
+ ### `strikethrough` (object)
991
+
992
+ Properties of the `strikethrough` object:
993
+
994
+ #### `disabled` (boolean)
995
+
996
+ Indicates if the plugin is disabled or not
997
+
998
+ ### `sub` (object)
999
+
1000
+ Properties of the `sub` object:
1001
+
1002
+ #### `disabled` (boolean)
1003
+
1004
+ Indicates if the plugin is disabled or not
1005
+
1006
+ ### `sup` (object)
1007
+
1008
+ Properties of the `sup` object:
1009
+
1010
+ #### `disabled` (boolean)
1011
+
1012
+ Indicates if the plugin is disabled or not
1013
+
1014
+ ### `table` (object)
1015
+
1016
+ Properties of the `table` object:
1017
+
1018
+ #### `disabled` (boolean)
1019
+
1020
+ Indicates if the plugin is disabled or not
1021
+
1022
+ ### `ul_list` (object)
1023
+
1024
+ Properties of the `ul_list` object:
1025
+
1026
+ #### `disabled` (boolean)
1027
+
1028
+ Indicates if the plugin is disabled or not
1029
+
1030
+ ### `underline` (object)
1031
+
1032
+ Properties of the `underline` object:
1033
+
1034
+ #### `disabled` (boolean)
1035
+
1036
+ Indicates if the plugin is disabled or not
1037
+
1038
+ ### `undo` (object)
1039
+
1040
+ Properties of the `undo` object:
1041
+
1042
+ #### `disabled` (boolean)
1043
+
1044
+ Indicates if the plugin is disabled or not
1045
+
1046
+ ## `settings` (boolean)
1047
+
1048
+ Indicates if the item has to be displayed in the Settings Panel
1049
+
1050
+ ## `label` (string)
1051
+
1052
+ Indicates the label for the item that has to be displayed in the Settings Panel
1053
+
1054
+ # `rubric` (object)
1055
+
1056
+ Properties of the `rubric` object:
1057
+
1058
+ ## `settings` (boolean)
1059
+
1060
+ Indicates if the item has to be displayed in the Settings Panel
1061
+
1062
+ ## `label` (string)
1063
+
1064
+ Indicates the label for the item that has to be displayed in the Settings Panel
1065
+
1066
+ # `alternates` (object)
1067
+
1068
+ Properties of the `alternates` object:
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
+ # `maxLengthPerChoice` (object)
1079
+
1080
+ Properties of the `maxLengthPerChoice` object:
1081
+
1082
+ ## `settings` (boolean)
1083
+
1084
+ Indicates if the item has to be displayed in the Settings Panel
1085
+
1086
+ ## `label` (string)
1087
+
1088
+ Indicates the label for the item that has to be displayed in the Settings Panel
1089
+
1090
+ # `maxResponseAreas` (number)
1091
+
1092
+ Maximum number of response areas
1093
+
1094
+ # `maxImageWidth` (object)
1095
+
1096
+ Properties of the `maxImageWidth` object:
1097
+
1098
+ ## `teacherInstructions` (number)
1099
+
1100
+ Indicates the max dimension for images in teacher instructions
1101
+
1102
+ ## `prompt` (number)
1103
+
1104
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1105
+
1106
+ ## `rationale` (number)
1107
+
1108
+ Indicates the max dimension for images in rationale
1109
+
1110
+ # `maxImageHeight` (object)
1111
+
1112
+ Properties of the `maxImageHeight` object:
1113
+
1114
+ ## `teacherInstructions` (number)
1115
+
1116
+ Indicates the max dimension for images in teacher instructions
1117
+
1118
+ ## `prompt` (number)
1119
+
1120
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1121
+
1122
+ ## `rationale` (number)
1123
+
1124
+ Indicates the max dimension for images in rationale
1125
+
1126
+ # `withRubric` (object)
1127
+
1128
+ Properties of the `withRubric` object:
1129
+
1130
+ ## `settings` (boolean)
1131
+
1132
+ Indicates if the item has to be displayed in the Settings Panel
1133
+
1134
+ ## `label` (string)
1135
+
1136
+ Indicates the label for the item that has to be displayed in the Settings Panel
1137
+
1138
+ # `mathMlOptions` (object)
1139
+
1140
+ Properties of the `mathMlOptions` object:
1141
+
1142
+ ## `mmlOutput` (number)
1143
+
1144
+ Indicates if model should have mathML output instead of latex
1145
+
1146
+ ## `mmlEditing` (number)
1147
+
1148
+ Indicates if mathML that's already in model should be editable
1149
+
1150
+ # `language` (object)
1151
+
1152
+ Properties of the `language` object:
1153
+
1154
+ ## `enabled` (boolean)
1155
+
1156
+ Indicates the value of the item if it affects config-ui
1157
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1158
+
1159
+ ## `settings` (boolean)
1160
+
1161
+ Indicates if the item has to be displayed in the Settings Panel
1162
+
1163
+ ## `label` (string)
1164
+
1165
+ Indicates the label for the item that has to be displayed in the Settings Panel
1166
+
1167
+ # `languageChoices` (object)
1168
+
1169
+ Language choices configuration
1170
+ Only available if language is enabled
1171
+
1172
+ Properties of the `languageChoices` object:
1173
+
1174
+ ## `label` (string, required)
1175
+
1176
+ ## `options` (array, required)
1177
+
1178
+ The object is an array with all elements of the type `object`.
1179
+
1180
+ The array object has the following properties:
1181
+
1182
+ ### `value` (string, required)
1183
+
1184
+ Value of the language option
1185
+
1186
+ ### `label` (string, required)
1187
+
1188
+ Label of the language option
1189
+
1190
+ # `spanishInput` (object)
1191
+
1192
+ Properties of the `spanishInput` object:
1193
+
1194
+ ## `settings` (boolean)
1195
+
1196
+ Indicates if the item has to be displayed in the Settings Panel
1197
+
1198
+ ## `label` (string)
1199
+
1200
+ Indicates the label for the item that has to be displayed in the Settings Panel
1201
+
1202
+ # `showPrompt` (boolean)
1203
+
1204
+ Determines whether prompt field will be displayed or not
1205
+
1206
+ Default: `true`
1207
+
1208
+ # `promptLabel` (string)
1209
+
1210
+ The label for the item stem/prompt field
1211
+
1212
+ Default: `"Item Stemm"`
1213
+
1214
+ # `contentDimensions` (object)
1215
+
1216
+ Indicates the dimensions configuration for the authoring container
1217
+ Note: Some items have a default minimum width because of their content, but if
1218
+ the minWidth is lower than this, the overflow behavior will take care of that
1219
+
1220
+ Properties of the `contentDimensions` object:
1221
+
1222
+ ## `maxHeight` (string,number)
1223
+
1224
+ Indicates the max height of the authoring container
1225
+
1226
+ Default: `"undefined"`
1227
+
1228
+ ## `maxWidth` (string,number)
1229
+
1230
+ Indicates the max width of the authoring container
1231
+
1232
+ Default: `"undefined"`
1233
+
1234
+ ## `minHeight` (string,number)
1235
+
1236
+ Indicates the min height of the authoring container
1237
+
1238
+ Default: `"undefined"`
1239
+
1240
+ ## `minWidth` (string,number)
1241
+
1242
+ Indicates the min width of the authoring container
1243
+
1244
+ Default: `"undefined"`
1245
+
1246
+ Default: `": {}"`
1247
+
1248
+ # `settingsPartialScoring` (boolean)
1249
+
1250
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
1251
+
1252
+ Default: `true`
1253
+
1254
+ ---
1255
+
1256
+ # Sub Schemas
1257
+
1258
+ The schema defines the following additional types:
1259
+
1260
+ ## `EditableHtmlConfigureProp` (object)
1261
+
1262
+ Properties of the `EditableHtmlConfigureProp` object:
1263
+
1264
+ ### `math` (object)
1265
+
1266
+ Properties of the `math` object:
1267
+
1268
+ #### `disabled` (boolean)
1269
+
1270
+ Indicates if the plugin is disabled or not
1271
+
1272
+ ### `audio` (object)
1273
+
1274
+ Properties of the `audio` object:
1275
+
1276
+ #### `disabled` (boolean)
1277
+
1278
+ Indicates if the plugin is disabled or not
1279
+
1280
+ ### `video` (object)
1281
+
1282
+ Properties of the `video` object:
1283
+
1284
+ #### `disabled` (boolean)
1285
+
1286
+ Indicates if the plugin is disabled or not
1287
+
1288
+ ### `image` (object)
1289
+
1290
+ Properties of the `image` object:
1291
+
1292
+ #### `disabled` (boolean)
1293
+
1294
+ Indicates if the plugin is disabled or not
1295
+
1296
+ ### `customPlugins` (array)
1297
+
1298
+ An array of objects that determine custom plugins.
1299
+ 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).
1300
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1301
+
1302
+ The object is an array with all elements of the type `object`.
1303
+
1304
+ The array object has the following properties:
1305
+
1306
+ #### `event` (string, required)
1307
+
1308
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1309
+ PIE will emit the event prefixed with "PIE-".
1310
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1311
+
1312
+ #### `iconAlt` (string, required)
1313
+
1314
+ The alt for the custom button icon
1315
+
1316
+ #### `iconType` (string, required)
1317
+
1318
+ The icon type.
1319
+ Currently, only "SVG" is supported.
1320
+
1321
+ #### `icon` (string, required)
1322
+
1323
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1324
+
1325
+ ### `blockquote` (object)
1326
+
1327
+ Properties of the `blockquote` object:
1328
+
1329
+ #### `disabled` (boolean)
1330
+
1331
+ Indicates if the plugin is disabled or not
1332
+
1333
+ ### `h3` (object)
1334
+
1335
+ Properties of the `h3` object:
1336
+
1337
+ #### `disabled` (boolean)
1338
+
1339
+ Indicates if the plugin is disabled or not
1340
+
1341
+ ### `characters` (object)
1342
+
1343
+ Properties of the `characters` object:
1344
+
1345
+ #### `disabled` (boolean)
1346
+
1347
+ Indicates if the plugin is disabled or not
1348
+
1349
+ ### `bold` (object)
1350
+
1351
+ Properties of the `bold` object:
1352
+
1353
+ #### `disabled` (boolean)
1354
+
1355
+ Indicates if the plugin is disabled or not
1356
+
1357
+ ### `html` (object)
1358
+
1359
+ Properties of the `html` object:
1360
+
1361
+ #### `disabled` (boolean)
1362
+
1363
+ Indicates if the plugin is disabled or not
1364
+
1365
+ ### `italic` (object)
1366
+
1367
+ Properties of the `italic` object:
1368
+
1369
+ #### `disabled` (boolean)
1370
+
1371
+ Indicates if the plugin is disabled or not
1372
+
1373
+ ### `ol_list` (object)
1374
+
1375
+ Properties of the `ol_list` object:
1376
+
1377
+ #### `disabled` (boolean)
1378
+
1379
+ Indicates if the plugin is disabled or not
1380
+
1381
+ ### `redo` (object)
1382
+
1383
+ Properties of the `redo` object:
1384
+
1385
+ #### `disabled` (boolean)
1386
+
1387
+ Indicates if the plugin is disabled or not
1388
+
1389
+ ### `strikethrough` (object)
1390
+
1391
+ Properties of the `strikethrough` object:
1392
+
1393
+ #### `disabled` (boolean)
1394
+
1395
+ Indicates if the plugin is disabled or not
1396
+
1397
+ ### `sub` (object)
1398
+
1399
+ Properties of the `sub` object:
1400
+
1401
+ #### `disabled` (boolean)
1402
+
1403
+ Indicates if the plugin is disabled or not
1404
+
1405
+ ### `sup` (object)
1406
+
1407
+ Properties of the `sup` object:
1408
+
1409
+ #### `disabled` (boolean)
1410
+
1411
+ Indicates if the plugin is disabled or not
1412
+
1413
+ ### `table` (object)
1414
+
1415
+ Properties of the `table` object:
1416
+
1417
+ #### `disabled` (boolean)
1418
+
1419
+ Indicates if the plugin is disabled or not
1420
+
1421
+ ### `ul_list` (object)
1422
+
1423
+ Properties of the `ul_list` object:
1424
+
1425
+ #### `disabled` (boolean)
1426
+
1427
+ Indicates if the plugin is disabled or not
1428
+
1429
+ ### `underline` (object)
1430
+
1431
+ Properties of the `underline` object:
1432
+
1433
+ #### `disabled` (boolean)
1434
+
1435
+ Indicates if the plugin is disabled or not
1436
+
1437
+ ### `undo` (object)
1438
+
1439
+ Properties of the `undo` object:
1440
+
1441
+ #### `disabled` (boolean)
1442
+
1443
+ Indicates if the plugin is disabled or not
1444
+
1445
+ ## `EditableHtmlButtonConfigure` (object)
1446
+
1447
+ Properties of the `EditableHtmlButtonConfigure` object:
1448
+
1449
+ ### `disabled` (boolean)
1450
+
1451
+ Indicates if the plugin is disabled or not
1452
+
1453
+ ## `CustomPlugin` (object)
1454
+
1455
+ Properties of the `CustomPlugin` object:
1456
+
1457
+ ### `event` (string, required)
1458
+
1459
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1460
+ PIE will emit the event prefixed with "PIE-".
1461
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1462
+
1463
+ ### `iconAlt` (string, required)
1464
+
1465
+ The alt for the custom button icon
1466
+
1467
+ ### `iconType` (string, required)
1468
+
1469
+ The icon type.
1470
+ Currently, only "SVG" is supported.
1471
+
1472
+ ### `icon` (string, required)
1473
+
1474
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1475
+
1476
+ ## `ConfigureProp` (object)
1477
+
1478
+ Properties of the `ConfigureProp` object:
1479
+
1480
+ ### `settings` (boolean)
1481
+
1482
+ Indicates if the item has to be displayed in the Settings Panel
1483
+
1484
+ ### `label` (string)
1485
+
1486
+ Indicates the label for the item that has to be displayed in the Settings Panel
1487
+
1488
+ ## `EditableHtmlPluginConfigureRequired` (object)
1489
+
1490
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
1491
+
1492
+ ### `inputConfiguration` (object)
1493
+
1494
+ Properties of the `inputConfiguration` object:
1495
+
1496
+ #### `math` (object)
1497
+
1498
+ Properties of the `math` object:
1499
+
1500
+ ##### `disabled` (boolean)
1501
+
1502
+ Indicates if the plugin is disabled or not
1503
+
1504
+ #### `audio` (object)
1505
+
1506
+ Properties of the `audio` object:
1507
+
1508
+ ##### `disabled` (boolean)
1509
+
1510
+ Indicates if the plugin is disabled or not
1511
+
1512
+ #### `video` (object)
1513
+
1514
+ Properties of the `video` object:
1515
+
1516
+ ##### `disabled` (boolean)
1517
+
1518
+ Indicates if the plugin is disabled or not
1519
+
1520
+ #### `image` (object)
1521
+
1522
+ Properties of the `image` object:
1523
+
1524
+ ##### `disabled` (boolean)
1525
+
1526
+ Indicates if the plugin is disabled or not
1527
+
1528
+ #### `customPlugins` (array)
1529
+
1530
+ An array of objects that determine custom plugins.
1531
+ 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).
1532
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1533
+
1534
+ The object is an array with all elements of the type `object`.
1535
+
1536
+ The array object has the following properties:
1537
+
1538
+ ##### `event` (string, required)
1539
+
1540
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1541
+ PIE will emit the event prefixed with "PIE-".
1542
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1543
+
1544
+ ##### `iconAlt` (string, required)
1545
+
1546
+ The alt for the custom button icon
1547
+
1548
+ ##### `iconType` (string, required)
1549
+
1550
+ The icon type.
1551
+ Currently, only "SVG" is supported.
1552
+
1553
+ ##### `icon` (string, required)
1554
+
1555
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1556
+
1557
+ #### `blockquote` (object)
1558
+
1559
+ Properties of the `blockquote` object:
1560
+
1561
+ ##### `disabled` (boolean)
1562
+
1563
+ Indicates if the plugin is disabled or not
1564
+
1565
+ #### `h3` (object)
1566
+
1567
+ Properties of the `h3` object:
1568
+
1569
+ ##### `disabled` (boolean)
1570
+
1571
+ Indicates if the plugin is disabled or not
1572
+
1573
+ #### `characters` (object)
1574
+
1575
+ Properties of the `characters` object:
1576
+
1577
+ ##### `disabled` (boolean)
1578
+
1579
+ Indicates if the plugin is disabled or not
1580
+
1581
+ #### `bold` (object)
1582
+
1583
+ Properties of the `bold` object:
1584
+
1585
+ ##### `disabled` (boolean)
1586
+
1587
+ Indicates if the plugin is disabled or not
1588
+
1589
+ #### `html` (object)
1590
+
1591
+ Properties of the `html` object:
1592
+
1593
+ ##### `disabled` (boolean)
1594
+
1595
+ Indicates if the plugin is disabled or not
1596
+
1597
+ #### `italic` (object)
1598
+
1599
+ Properties of the `italic` object:
1600
+
1601
+ ##### `disabled` (boolean)
1602
+
1603
+ Indicates if the plugin is disabled or not
1604
+
1605
+ #### `ol_list` (object)
1606
+
1607
+ Properties of the `ol_list` object:
1608
+
1609
+ ##### `disabled` (boolean)
1610
+
1611
+ Indicates if the plugin is disabled or not
1612
+
1613
+ #### `redo` (object)
1614
+
1615
+ Properties of the `redo` object:
1616
+
1617
+ ##### `disabled` (boolean)
1618
+
1619
+ Indicates if the plugin is disabled or not
1620
+
1621
+ #### `strikethrough` (object)
1622
+
1623
+ Properties of the `strikethrough` object:
1624
+
1625
+ ##### `disabled` (boolean)
1626
+
1627
+ Indicates if the plugin is disabled or not
1628
+
1629
+ #### `sub` (object)
1630
+
1631
+ Properties of the `sub` object:
1632
+
1633
+ ##### `disabled` (boolean)
1634
+
1635
+ Indicates if the plugin is disabled or not
1636
+
1637
+ #### `sup` (object)
1638
+
1639
+ Properties of the `sup` object:
1640
+
1641
+ ##### `disabled` (boolean)
1642
+
1643
+ Indicates if the plugin is disabled or not
1644
+
1645
+ #### `table` (object)
1646
+
1647
+ Properties of the `table` object:
1648
+
1649
+ ##### `disabled` (boolean)
1650
+
1651
+ Indicates if the plugin is disabled or not
1652
+
1653
+ #### `ul_list` (object)
1654
+
1655
+ Properties of the `ul_list` object:
1656
+
1657
+ ##### `disabled` (boolean)
1658
+
1659
+ Indicates if the plugin is disabled or not
1660
+
1661
+ #### `underline` (object)
1662
+
1663
+ Properties of the `underline` object:
1664
+
1665
+ ##### `disabled` (boolean)
1666
+
1667
+ Indicates if the plugin is disabled or not
1668
+
1669
+ #### `undo` (object)
1670
+
1671
+ Properties of the `undo` object:
1672
+
1673
+ ##### `disabled` (boolean)
1674
+
1675
+ Indicates if the plugin is disabled or not
1676
+
1677
+ ### `required` (boolean)
1678
+
1679
+ Indicates if the item is required and the value cannot be empty
1680
+
1681
+ ### `settings` (boolean)
1682
+
1683
+ Indicates if the item has to be displayed in the Settings Panel
1684
+
1685
+ ### `label` (string)
1686
+
1687
+ Indicates the label for the item that has to be displayed in the Settings Panel
1688
+
1689
+ ## `EditableHtmlPluginConfigure` (object)
1690
+
1691
+ Properties of the `EditableHtmlPluginConfigure` object:
1692
+
1693
+ ### `inputConfiguration` (object)
1694
+
1695
+ Properties of the `inputConfiguration` object:
1696
+
1697
+ #### `math` (object)
1698
+
1699
+ Properties of the `math` object:
1700
+
1701
+ ##### `disabled` (boolean)
1702
+
1703
+ Indicates if the plugin is disabled or not
1704
+
1705
+ #### `audio` (object)
1706
+
1707
+ Properties of the `audio` object:
1708
+
1709
+ ##### `disabled` (boolean)
1710
+
1711
+ Indicates if the plugin is disabled or not
1712
+
1713
+ #### `video` (object)
1714
+
1715
+ Properties of the `video` object:
1716
+
1717
+ ##### `disabled` (boolean)
1718
+
1719
+ Indicates if the plugin is disabled or not
1720
+
1721
+ #### `image` (object)
1722
+
1723
+ Properties of the `image` object:
1724
+
1725
+ ##### `disabled` (boolean)
1726
+
1727
+ Indicates if the plugin is disabled or not
1728
+
1729
+ #### `customPlugins` (array)
1730
+
1731
+ An array of objects that determine custom plugins.
1732
+ 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).
1733
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1734
+
1735
+ The object is an array with all elements of the type `object`.
1736
+
1737
+ The array object has the following properties:
1738
+
1739
+ ##### `event` (string, required)
1740
+
1741
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1742
+ PIE will emit the event prefixed with "PIE-".
1743
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1744
+
1745
+ ##### `iconAlt` (string, required)
1746
+
1747
+ The alt for the custom button icon
1748
+
1749
+ ##### `iconType` (string, required)
1750
+
1751
+ The icon type.
1752
+ Currently, only "SVG" is supported.
1753
+
1754
+ ##### `icon` (string, required)
1755
+
1756
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1757
+
1758
+ #### `blockquote` (object)
1759
+
1760
+ Properties of the `blockquote` object:
1761
+
1762
+ ##### `disabled` (boolean)
1763
+
1764
+ Indicates if the plugin is disabled or not
1765
+
1766
+ #### `h3` (object)
1767
+
1768
+ Properties of the `h3` object:
1769
+
1770
+ ##### `disabled` (boolean)
1771
+
1772
+ Indicates if the plugin is disabled or not
1773
+
1774
+ #### `characters` (object)
1775
+
1776
+ Properties of the `characters` object:
1777
+
1778
+ ##### `disabled` (boolean)
1779
+
1780
+ Indicates if the plugin is disabled or not
1781
+
1782
+ #### `bold` (object)
1783
+
1784
+ Properties of the `bold` object:
1785
+
1786
+ ##### `disabled` (boolean)
1787
+
1788
+ Indicates if the plugin is disabled or not
1789
+
1790
+ #### `html` (object)
1791
+
1792
+ Properties of the `html` object:
1793
+
1794
+ ##### `disabled` (boolean)
1795
+
1796
+ Indicates if the plugin is disabled or not
1797
+
1798
+ #### `italic` (object)
1799
+
1800
+ Properties of the `italic` object:
1801
+
1802
+ ##### `disabled` (boolean)
1803
+
1804
+ Indicates if the plugin is disabled or not
1805
+
1806
+ #### `ol_list` (object)
1807
+
1808
+ Properties of the `ol_list` object:
1809
+
1810
+ ##### `disabled` (boolean)
1811
+
1812
+ Indicates if the plugin is disabled or not
1813
+
1814
+ #### `redo` (object)
1815
+
1816
+ Properties of the `redo` object:
1817
+
1818
+ ##### `disabled` (boolean)
1819
+
1820
+ Indicates if the plugin is disabled or not
1821
+
1822
+ #### `strikethrough` (object)
1823
+
1824
+ Properties of the `strikethrough` object:
1825
+
1826
+ ##### `disabled` (boolean)
1827
+
1828
+ Indicates if the plugin is disabled or not
1829
+
1830
+ #### `sub` (object)
1831
+
1832
+ Properties of the `sub` object:
1833
+
1834
+ ##### `disabled` (boolean)
1835
+
1836
+ Indicates if the plugin is disabled or not
1837
+
1838
+ #### `sup` (object)
1839
+
1840
+ Properties of the `sup` object:
1841
+
1842
+ ##### `disabled` (boolean)
1843
+
1844
+ Indicates if the plugin is disabled or not
1845
+
1846
+ #### `table` (object)
1847
+
1848
+ Properties of the `table` object:
1849
+
1850
+ ##### `disabled` (boolean)
1851
+
1852
+ Indicates if the plugin is disabled or not
1853
+
1854
+ #### `ul_list` (object)
1855
+
1856
+ Properties of the `ul_list` object:
1857
+
1858
+ ##### `disabled` (boolean)
1859
+
1860
+ Indicates if the plugin is disabled or not
1861
+
1862
+ #### `underline` (object)
1863
+
1864
+ Properties of the `underline` object:
1865
+
1866
+ ##### `disabled` (boolean)
1867
+
1868
+ Indicates if the plugin is disabled or not
1869
+
1870
+ #### `undo` (object)
1871
+
1872
+ Properties of the `undo` object:
1873
+
1874
+ ##### `disabled` (boolean)
1875
+
1876
+ Indicates if the plugin is disabled or not
1877
+
1878
+ ### `settings` (boolean)
1879
+
1880
+ Indicates if the item has to be displayed in the Settings Panel
1881
+
1882
+ ### `label` (string)
1883
+
1884
+ Indicates the label for the item that has to be displayed in the Settings Panel
1885
+
1886
+ ## `ConfigureMaxImageDimensionsProp` (object)
1887
+
1888
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
1889
+
1890
+ ### `teacherInstructions` (number)
1891
+
1892
+ Indicates the max dimension for images in teacher instructions
1893
+
1894
+ ### `prompt` (number)
1895
+
1896
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1897
+
1898
+ ### `rationale` (number)
1899
+
1900
+ Indicates the max dimension for images in rationale
1901
+
1902
+ ## `ConfigureMathMLProp` (object)
1903
+
1904
+ Properties of the `ConfigureMathMLProp` object:
1905
+
1906
+ ### `mmlOutput` (number)
1907
+
1908
+ Indicates if model should have mathML output instead of latex
1909
+
1910
+ ### `mmlEditing` (number)
1911
+
1912
+ Indicates if mathML that's already in model should be editable
1913
+
1914
+ ## `ConfigurePropWithEnabled` (object)
1915
+
1916
+ Properties of the `ConfigurePropWithEnabled` object:
1917
+
1918
+ ### `enabled` (boolean)
1919
+
1920
+ Indicates the value of the item if it affects config-ui
1921
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1922
+
1923
+ ### `settings` (boolean)
1924
+
1925
+ Indicates if the item has to be displayed in the Settings Panel
1926
+
1927
+ ### `label` (string)
1928
+
1929
+ Indicates the label for the item that has to be displayed in the Settings Panel
1930
+
1931
+ ## `ConfigureLanguageOptionsProp` (object)
1932
+
1933
+ Properties of the `ConfigureLanguageOptionsProp` object:
1934
+
1935
+ ### `value` (string, required)
1936
+
1937
+ Value of the language option
1938
+
1939
+ ### `label` (string, required)
1940
+
1941
+ Label of the language option