@pie-element/drag-in-the-blank 10.1.2-next.2 → 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 (85) hide show
  1. package/CHANGELOG.json +1042 -0
  2. package/CHANGELOG.md +2183 -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 +1883 -0
  7. package/configure/lib/choice.js +137 -0
  8. package/configure/lib/choice.js.map +1 -0
  9. package/configure/lib/choices.js +319 -0
  10. package/configure/lib/choices.js.map +1 -0
  11. package/configure/lib/defaults.js +169 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/index.js +144 -0
  14. package/configure/lib/index.js.map +1 -0
  15. package/configure/lib/main.js +440 -0
  16. package/configure/lib/main.js.map +1 -0
  17. package/configure/lib/markupUtils.js +83 -0
  18. package/configure/lib/markupUtils.js.map +1 -0
  19. package/configure/package.json +25 -0
  20. package/configure/utils.js +17 -0
  21. package/controller/CHANGELOG.json +457 -0
  22. package/controller/CHANGELOG.md +1284 -0
  23. package/controller/lib/defaults.js +24 -0
  24. package/controller/lib/defaults.js.map +1 -0
  25. package/controller/lib/index.js +251 -0
  26. package/controller/lib/index.js.map +1 -0
  27. package/controller/lib/utils.js +39 -0
  28. package/controller/lib/utils.js.map +1 -0
  29. package/controller/package.json +16 -0
  30. package/docs/config-schema.json +2580 -0
  31. package/docs/config-schema.json.md +1905 -0
  32. package/docs/demo/config.js +8 -0
  33. package/docs/demo/generate.js +41 -0
  34. package/docs/demo/index.html +1 -0
  35. package/docs/demo/session.js +10 -0
  36. package/docs/pie-schema.json +1181 -0
  37. package/docs/pie-schema.json.md +853 -0
  38. package/lib/index.js +206 -0
  39. package/lib/index.js.map +1 -0
  40. package/lib/main.js +126 -0
  41. package/lib/main.js.map +1 -0
  42. package/package.json +22 -87
  43. package/configure.js +0 -2
  44. package/controller.js +0 -1
  45. package/dist/author/choice.d.ts +0 -22
  46. package/dist/author/choice.js +0 -88
  47. package/dist/author/choices.d.ts +0 -41
  48. package/dist/author/choices.js +0 -172
  49. package/dist/author/defaults.d.ts +0 -171
  50. package/dist/author/defaults.js +0 -123
  51. package/dist/author/index.d.ts +0 -42
  52. package/dist/author/index.js +0 -92
  53. package/dist/author/main.d.ts +0 -36
  54. package/dist/author/main.js +0 -301
  55. package/dist/author/markupUtils.d.ts +0 -17
  56. package/dist/author/markupUtils.js +0 -38
  57. package/dist/author/utils.d.ts +0 -9
  58. package/dist/author/utils.js +0 -7
  59. package/dist/browser/author/index.js +0 -39603
  60. package/dist/browser/author/index.js.map +0 -1
  61. package/dist/browser/controller/index.js +0 -176
  62. package/dist/browser/controller/index.js.map +0 -1
  63. package/dist/browser/delivery/index.js +0 -3414
  64. package/dist/browser/delivery/index.js.map +0 -1
  65. package/dist/browser/dist-BkH5WSi5.js +0 -121
  66. package/dist/browser/dist-BkH5WSi5.js.map +0 -1
  67. package/dist/browser/drag-in-the-blank.css +0 -2
  68. package/dist/browser/drag-provider-D0fyq5lq.js +0 -10946
  69. package/dist/browser/drag-provider-D0fyq5lq.js.map +0 -1
  70. package/dist/controller/defaults.d.ts +0 -26
  71. package/dist/controller/defaults.js +0 -20
  72. package/dist/controller/index.d.ts +0 -41
  73. package/dist/controller/index.js +0 -104
  74. package/dist/controller/utils.d.ts +0 -16
  75. package/dist/controller/utils.js +0 -14
  76. package/dist/delivery/index.d.ts +0 -21
  77. package/dist/delivery/index.js +0 -105
  78. package/dist/delivery/main.d.ts +0 -28
  79. package/dist/delivery/main.js +0 -83
  80. package/dist/index.d.ts +0 -1
  81. package/dist/index.iife.d.ts +0 -8
  82. package/dist/index.iife.js +0 -152
  83. package/dist/index.js +0 -2
  84. package/dist/runtime-support.d.ts +0 -12
  85. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,1905 @@
1
+ Config Object for @pie-elements/drag-in-the-blank
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
+ # `duplicates` (object)
203
+
204
+ Properties of the `duplicates` object:
205
+
206
+ ## `settings` (boolean)
207
+
208
+ Indicates if the item has to be displayed in the Settings Panel
209
+
210
+ ## `label` (string)
211
+
212
+ Indicates the label for the item that has to be displayed in the Settings Panel
213
+
214
+ # `prompt` (object)
215
+
216
+ Properties of the `prompt` object:
217
+
218
+ ## `inputConfiguration` (object)
219
+
220
+ Properties of the `inputConfiguration` object:
221
+
222
+ ### `math` (object)
223
+
224
+ Properties of the `math` object:
225
+
226
+ #### `disabled` (boolean)
227
+
228
+ Indicates if the plugin is disabled or not
229
+
230
+ ### `audio` (object)
231
+
232
+ Properties of the `audio` object:
233
+
234
+ #### `disabled` (boolean)
235
+
236
+ Indicates if the plugin is disabled or not
237
+
238
+ ### `video` (object)
239
+
240
+ Properties of the `video` object:
241
+
242
+ #### `disabled` (boolean)
243
+
244
+ Indicates if the plugin is disabled or not
245
+
246
+ ### `image` (object)
247
+
248
+ Properties of the `image` object:
249
+
250
+ #### `disabled` (boolean)
251
+
252
+ Indicates if the plugin is disabled or not
253
+
254
+ ### `customPlugins` (array)
255
+
256
+ An array of objects that determine custom plugins.
257
+ 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).
258
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
259
+
260
+ The object is an array with all elements of the type `object`.
261
+
262
+ The array object has the following properties:
263
+
264
+ #### `event` (string, required)
265
+
266
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
267
+ PIE will emit the event prefixed with "PIE-".
268
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
269
+
270
+ #### `iconAlt` (string, required)
271
+
272
+ The alt for the custom button icon
273
+
274
+ #### `iconType` (string, required)
275
+
276
+ The icon type.
277
+ Currently, only "SVG" is supported.
278
+
279
+ #### `icon` (string, required)
280
+
281
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
282
+
283
+ ### `blockquote` (object)
284
+
285
+ Properties of the `blockquote` object:
286
+
287
+ #### `disabled` (boolean)
288
+
289
+ Indicates if the plugin is disabled or not
290
+
291
+ ### `h3` (object)
292
+
293
+ Properties of the `h3` object:
294
+
295
+ #### `disabled` (boolean)
296
+
297
+ Indicates if the plugin is disabled or not
298
+
299
+ ### `characters` (object)
300
+
301
+ Properties of the `characters` object:
302
+
303
+ #### `disabled` (boolean)
304
+
305
+ Indicates if the plugin is disabled or not
306
+
307
+ ### `bold` (object)
308
+
309
+ Properties of the `bold` object:
310
+
311
+ #### `disabled` (boolean)
312
+
313
+ Indicates if the plugin is disabled or not
314
+
315
+ ### `html` (object)
316
+
317
+ Properties of the `html` object:
318
+
319
+ #### `disabled` (boolean)
320
+
321
+ Indicates if the plugin is disabled or not
322
+
323
+ ### `italic` (object)
324
+
325
+ Properties of the `italic` object:
326
+
327
+ #### `disabled` (boolean)
328
+
329
+ Indicates if the plugin is disabled or not
330
+
331
+ ### `ol_list` (object)
332
+
333
+ Properties of the `ol_list` object:
334
+
335
+ #### `disabled` (boolean)
336
+
337
+ Indicates if the plugin is disabled or not
338
+
339
+ ### `redo` (object)
340
+
341
+ Properties of the `redo` object:
342
+
343
+ #### `disabled` (boolean)
344
+
345
+ Indicates if the plugin is disabled or not
346
+
347
+ ### `strikethrough` (object)
348
+
349
+ Properties of the `strikethrough` object:
350
+
351
+ #### `disabled` (boolean)
352
+
353
+ Indicates if the plugin is disabled or not
354
+
355
+ ### `sub` (object)
356
+
357
+ Properties of the `sub` object:
358
+
359
+ #### `disabled` (boolean)
360
+
361
+ Indicates if the plugin is disabled or not
362
+
363
+ ### `sup` (object)
364
+
365
+ Properties of the `sup` object:
366
+
367
+ #### `disabled` (boolean)
368
+
369
+ Indicates if the plugin is disabled or not
370
+
371
+ ### `table` (object)
372
+
373
+ Properties of the `table` object:
374
+
375
+ #### `disabled` (boolean)
376
+
377
+ Indicates if the plugin is disabled or not
378
+
379
+ ### `ul_list` (object)
380
+
381
+ Properties of the `ul_list` object:
382
+
383
+ #### `disabled` (boolean)
384
+
385
+ Indicates if the plugin is disabled or not
386
+
387
+ ### `underline` (object)
388
+
389
+ Properties of the `underline` object:
390
+
391
+ #### `disabled` (boolean)
392
+
393
+ Indicates if the plugin is disabled or not
394
+
395
+ ### `undo` (object)
396
+
397
+ Properties of the `undo` object:
398
+
399
+ #### `disabled` (boolean)
400
+
401
+ Indicates if the plugin is disabled or not
402
+
403
+ ## `required` (boolean)
404
+
405
+ Indicates if the item is required and the value cannot be empty
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
+ # `settingsPanelDisabled` (boolean)
416
+
417
+ Indicates if the settings panel is not available
418
+
419
+ # `spellCheck` (object)
420
+
421
+ Properties of the `spellCheck` object:
422
+
423
+ ## `settings` (boolean)
424
+
425
+ Indicates if the item has to be displayed in the Settings Panel
426
+
427
+ ## `label` (string)
428
+
429
+ Indicates the label for the item that has to be displayed in the Settings Panel
430
+
431
+ # `rationale` (object)
432
+
433
+ Properties of the `rationale` object:
434
+
435
+ ## `inputConfiguration` (object)
436
+
437
+ Properties of the `inputConfiguration` object:
438
+
439
+ ### `math` (object)
440
+
441
+ Properties of the `math` object:
442
+
443
+ #### `disabled` (boolean)
444
+
445
+ Indicates if the plugin is disabled or not
446
+
447
+ ### `audio` (object)
448
+
449
+ Properties of the `audio` object:
450
+
451
+ #### `disabled` (boolean)
452
+
453
+ Indicates if the plugin is disabled or not
454
+
455
+ ### `video` (object)
456
+
457
+ Properties of the `video` object:
458
+
459
+ #### `disabled` (boolean)
460
+
461
+ Indicates if the plugin is disabled or not
462
+
463
+ ### `image` (object)
464
+
465
+ Properties of the `image` object:
466
+
467
+ #### `disabled` (boolean)
468
+
469
+ Indicates if the plugin is disabled or not
470
+
471
+ ### `customPlugins` (array)
472
+
473
+ An array of objects that determine custom plugins.
474
+ 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).
475
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
476
+
477
+ The object is an array with all elements of the type `object`.
478
+
479
+ The array object has the following properties:
480
+
481
+ #### `event` (string, required)
482
+
483
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
484
+ PIE will emit the event prefixed with "PIE-".
485
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
486
+
487
+ #### `iconAlt` (string, required)
488
+
489
+ The alt for the custom button icon
490
+
491
+ #### `iconType` (string, required)
492
+
493
+ The icon type.
494
+ Currently, only "SVG" is supported.
495
+
496
+ #### `icon` (string, required)
497
+
498
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
499
+
500
+ ### `blockquote` (object)
501
+
502
+ Properties of the `blockquote` object:
503
+
504
+ #### `disabled` (boolean)
505
+
506
+ Indicates if the plugin is disabled or not
507
+
508
+ ### `h3` (object)
509
+
510
+ Properties of the `h3` object:
511
+
512
+ #### `disabled` (boolean)
513
+
514
+ Indicates if the plugin is disabled or not
515
+
516
+ ### `characters` (object)
517
+
518
+ Properties of the `characters` object:
519
+
520
+ #### `disabled` (boolean)
521
+
522
+ Indicates if the plugin is disabled or not
523
+
524
+ ### `bold` (object)
525
+
526
+ Properties of the `bold` object:
527
+
528
+ #### `disabled` (boolean)
529
+
530
+ Indicates if the plugin is disabled or not
531
+
532
+ ### `html` (object)
533
+
534
+ Properties of the `html` object:
535
+
536
+ #### `disabled` (boolean)
537
+
538
+ Indicates if the plugin is disabled or not
539
+
540
+ ### `italic` (object)
541
+
542
+ Properties of the `italic` object:
543
+
544
+ #### `disabled` (boolean)
545
+
546
+ Indicates if the plugin is disabled or not
547
+
548
+ ### `ol_list` (object)
549
+
550
+ Properties of the `ol_list` object:
551
+
552
+ #### `disabled` (boolean)
553
+
554
+ Indicates if the plugin is disabled or not
555
+
556
+ ### `redo` (object)
557
+
558
+ Properties of the `redo` object:
559
+
560
+ #### `disabled` (boolean)
561
+
562
+ Indicates if the plugin is disabled or not
563
+
564
+ ### `strikethrough` (object)
565
+
566
+ Properties of the `strikethrough` object:
567
+
568
+ #### `disabled` (boolean)
569
+
570
+ Indicates if the plugin is disabled or not
571
+
572
+ ### `sub` (object)
573
+
574
+ Properties of the `sub` object:
575
+
576
+ #### `disabled` (boolean)
577
+
578
+ Indicates if the plugin is disabled or not
579
+
580
+ ### `sup` (object)
581
+
582
+ Properties of the `sup` object:
583
+
584
+ #### `disabled` (boolean)
585
+
586
+ Indicates if the plugin is disabled or not
587
+
588
+ ### `table` (object)
589
+
590
+ Properties of the `table` object:
591
+
592
+ #### `disabled` (boolean)
593
+
594
+ Indicates if the plugin is disabled or not
595
+
596
+ ### `ul_list` (object)
597
+
598
+ Properties of the `ul_list` object:
599
+
600
+ #### `disabled` (boolean)
601
+
602
+ Indicates if the plugin is disabled or not
603
+
604
+ ### `underline` (object)
605
+
606
+ Properties of the `underline` object:
607
+
608
+ #### `disabled` (boolean)
609
+
610
+ Indicates if the plugin is disabled or not
611
+
612
+ ### `undo` (object)
613
+
614
+ Properties of the `undo` object:
615
+
616
+ #### `disabled` (boolean)
617
+
618
+ Indicates if the plugin is disabled or not
619
+
620
+ ## `required` (boolean)
621
+
622
+ Indicates if the item is required and the value cannot be empty
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
+ # `studentInstructions` (object)
633
+
634
+ Properties of the `studentInstructions` 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
+ # `teacherInstructions` (object)
645
+
646
+ Properties of the `teacherInstructions` object:
647
+
648
+ ## `inputConfiguration` (object)
649
+
650
+ Properties of the `inputConfiguration` object:
651
+
652
+ ### `math` (object)
653
+
654
+ Properties of the `math` object:
655
+
656
+ #### `disabled` (boolean)
657
+
658
+ Indicates if the plugin is disabled or not
659
+
660
+ ### `audio` (object)
661
+
662
+ Properties of the `audio` object:
663
+
664
+ #### `disabled` (boolean)
665
+
666
+ Indicates if the plugin is disabled or not
667
+
668
+ ### `video` (object)
669
+
670
+ Properties of the `video` object:
671
+
672
+ #### `disabled` (boolean)
673
+
674
+ Indicates if the plugin is disabled or not
675
+
676
+ ### `image` (object)
677
+
678
+ Properties of the `image` object:
679
+
680
+ #### `disabled` (boolean)
681
+
682
+ Indicates if the plugin is disabled or not
683
+
684
+ ### `customPlugins` (array)
685
+
686
+ An array of objects that determine custom plugins.
687
+ 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).
688
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
689
+
690
+ The object is an array with all elements of the type `object`.
691
+
692
+ The array object has the following properties:
693
+
694
+ #### `event` (string, required)
695
+
696
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
697
+ PIE will emit the event prefixed with "PIE-".
698
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
699
+
700
+ #### `iconAlt` (string, required)
701
+
702
+ The alt for the custom button icon
703
+
704
+ #### `iconType` (string, required)
705
+
706
+ The icon type.
707
+ Currently, only "SVG" is supported.
708
+
709
+ #### `icon` (string, required)
710
+
711
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
712
+
713
+ ### `blockquote` (object)
714
+
715
+ Properties of the `blockquote` object:
716
+
717
+ #### `disabled` (boolean)
718
+
719
+ Indicates if the plugin is disabled or not
720
+
721
+ ### `h3` (object)
722
+
723
+ Properties of the `h3` object:
724
+
725
+ #### `disabled` (boolean)
726
+
727
+ Indicates if the plugin is disabled or not
728
+
729
+ ### `characters` (object)
730
+
731
+ Properties of the `characters` object:
732
+
733
+ #### `disabled` (boolean)
734
+
735
+ Indicates if the plugin is disabled or not
736
+
737
+ ### `bold` (object)
738
+
739
+ Properties of the `bold` object:
740
+
741
+ #### `disabled` (boolean)
742
+
743
+ Indicates if the plugin is disabled or not
744
+
745
+ ### `html` (object)
746
+
747
+ Properties of the `html` object:
748
+
749
+ #### `disabled` (boolean)
750
+
751
+ Indicates if the plugin is disabled or not
752
+
753
+ ### `italic` (object)
754
+
755
+ Properties of the `italic` object:
756
+
757
+ #### `disabled` (boolean)
758
+
759
+ Indicates if the plugin is disabled or not
760
+
761
+ ### `ol_list` (object)
762
+
763
+ Properties of the `ol_list` object:
764
+
765
+ #### `disabled` (boolean)
766
+
767
+ Indicates if the plugin is disabled or not
768
+
769
+ ### `redo` (object)
770
+
771
+ Properties of the `redo` object:
772
+
773
+ #### `disabled` (boolean)
774
+
775
+ Indicates if the plugin is disabled or not
776
+
777
+ ### `strikethrough` (object)
778
+
779
+ Properties of the `strikethrough` object:
780
+
781
+ #### `disabled` (boolean)
782
+
783
+ Indicates if the plugin is disabled or not
784
+
785
+ ### `sub` (object)
786
+
787
+ Properties of the `sub` object:
788
+
789
+ #### `disabled` (boolean)
790
+
791
+ Indicates if the plugin is disabled or not
792
+
793
+ ### `sup` (object)
794
+
795
+ Properties of the `sup` object:
796
+
797
+ #### `disabled` (boolean)
798
+
799
+ Indicates if the plugin is disabled or not
800
+
801
+ ### `table` (object)
802
+
803
+ Properties of the `table` object:
804
+
805
+ #### `disabled` (boolean)
806
+
807
+ Indicates if the plugin is disabled or not
808
+
809
+ ### `ul_list` (object)
810
+
811
+ Properties of the `ul_list` object:
812
+
813
+ #### `disabled` (boolean)
814
+
815
+ Indicates if the plugin is disabled or not
816
+
817
+ ### `underline` (object)
818
+
819
+ Properties of the `underline` object:
820
+
821
+ #### `disabled` (boolean)
822
+
823
+ Indicates if the plugin is disabled or not
824
+
825
+ ### `undo` (object)
826
+
827
+ Properties of the `undo` object:
828
+
829
+ #### `disabled` (boolean)
830
+
831
+ Indicates if the plugin is disabled or not
832
+
833
+ ## `required` (boolean)
834
+
835
+ Indicates if the item is required and the value cannot be empty
836
+
837
+ ## `settings` (boolean)
838
+
839
+ Indicates if the item has to be displayed in the Settings Panel
840
+
841
+ ## `label` (string)
842
+
843
+ Indicates the label for the item that has to be displayed in the Settings Panel
844
+
845
+ # `addChoice` (object)
846
+
847
+ Properties of the `addChoice` object:
848
+
849
+ ## `inputConfiguration` (object)
850
+
851
+ Properties of the `inputConfiguration` object:
852
+
853
+ ### `math` (object)
854
+
855
+ Properties of the `math` object:
856
+
857
+ #### `disabled` (boolean)
858
+
859
+ Indicates if the plugin is disabled or not
860
+
861
+ ### `audio` (object)
862
+
863
+ Properties of the `audio` object:
864
+
865
+ #### `disabled` (boolean)
866
+
867
+ Indicates if the plugin is disabled or not
868
+
869
+ ### `video` (object)
870
+
871
+ Properties of the `video` object:
872
+
873
+ #### `disabled` (boolean)
874
+
875
+ Indicates if the plugin is disabled or not
876
+
877
+ ### `image` (object)
878
+
879
+ Properties of the `image` object:
880
+
881
+ #### `disabled` (boolean)
882
+
883
+ Indicates if the plugin is disabled or not
884
+
885
+ ### `customPlugins` (array)
886
+
887
+ An array of objects that determine custom plugins.
888
+ 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).
889
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
890
+
891
+ The object is an array with all elements of the type `object`.
892
+
893
+ The array object has the following properties:
894
+
895
+ #### `event` (string, required)
896
+
897
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
898
+ PIE will emit the event prefixed with "PIE-".
899
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
900
+
901
+ #### `iconAlt` (string, required)
902
+
903
+ The alt for the custom button icon
904
+
905
+ #### `iconType` (string, required)
906
+
907
+ The icon type.
908
+ Currently, only "SVG" is supported.
909
+
910
+ #### `icon` (string, required)
911
+
912
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
913
+
914
+ ### `blockquote` (object)
915
+
916
+ Properties of the `blockquote` object:
917
+
918
+ #### `disabled` (boolean)
919
+
920
+ Indicates if the plugin is disabled or not
921
+
922
+ ### `h3` (object)
923
+
924
+ Properties of the `h3` object:
925
+
926
+ #### `disabled` (boolean)
927
+
928
+ Indicates if the plugin is disabled or not
929
+
930
+ ### `characters` (object)
931
+
932
+ Properties of the `characters` object:
933
+
934
+ #### `disabled` (boolean)
935
+
936
+ Indicates if the plugin is disabled or not
937
+
938
+ ### `bold` (object)
939
+
940
+ Properties of the `bold` object:
941
+
942
+ #### `disabled` (boolean)
943
+
944
+ Indicates if the plugin is disabled or not
945
+
946
+ ### `html` (object)
947
+
948
+ Properties of the `html` object:
949
+
950
+ #### `disabled` (boolean)
951
+
952
+ Indicates if the plugin is disabled or not
953
+
954
+ ### `italic` (object)
955
+
956
+ Properties of the `italic` object:
957
+
958
+ #### `disabled` (boolean)
959
+
960
+ Indicates if the plugin is disabled or not
961
+
962
+ ### `ol_list` (object)
963
+
964
+ Properties of the `ol_list` object:
965
+
966
+ #### `disabled` (boolean)
967
+
968
+ Indicates if the plugin is disabled or not
969
+
970
+ ### `redo` (object)
971
+
972
+ Properties of the `redo` object:
973
+
974
+ #### `disabled` (boolean)
975
+
976
+ Indicates if the plugin is disabled or not
977
+
978
+ ### `strikethrough` (object)
979
+
980
+ Properties of the `strikethrough` object:
981
+
982
+ #### `disabled` (boolean)
983
+
984
+ Indicates if the plugin is disabled or not
985
+
986
+ ### `sub` (object)
987
+
988
+ Properties of the `sub` object:
989
+
990
+ #### `disabled` (boolean)
991
+
992
+ Indicates if the plugin is disabled or not
993
+
994
+ ### `sup` (object)
995
+
996
+ Properties of the `sup` object:
997
+
998
+ #### `disabled` (boolean)
999
+
1000
+ Indicates if the plugin is disabled or not
1001
+
1002
+ ### `table` (object)
1003
+
1004
+ Properties of the `table` object:
1005
+
1006
+ #### `disabled` (boolean)
1007
+
1008
+ Indicates if the plugin is disabled or not
1009
+
1010
+ ### `ul_list` (object)
1011
+
1012
+ Properties of the `ul_list` object:
1013
+
1014
+ #### `disabled` (boolean)
1015
+
1016
+ Indicates if the plugin is disabled or not
1017
+
1018
+ ### `underline` (object)
1019
+
1020
+ Properties of the `underline` object:
1021
+
1022
+ #### `disabled` (boolean)
1023
+
1024
+ Indicates if the plugin is disabled or not
1025
+
1026
+ ### `undo` (object)
1027
+
1028
+ Properties of the `undo` object:
1029
+
1030
+ #### `disabled` (boolean)
1031
+
1032
+ Indicates if the plugin is disabled or not
1033
+
1034
+ ## `settings` (boolean)
1035
+
1036
+ Indicates if the item has to be displayed in the Settings Panel
1037
+
1038
+ ## `label` (string)
1039
+
1040
+ Indicates the label for the item that has to be displayed in the Settings Panel
1041
+
1042
+ # `rubric` (object)
1043
+
1044
+ Properties of the `rubric` object:
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
+ # `mathMlOptions` (object)
1055
+
1056
+ Properties of the `mathMlOptions` object:
1057
+
1058
+ ## `mmlOutput` (number)
1059
+
1060
+ Indicates if model should have mathML output instead of latex
1061
+
1062
+ ## `mmlEditing` (number)
1063
+
1064
+ Indicates if mathML that's already in model should be editable
1065
+
1066
+ # `minChoices` (number)
1067
+
1068
+ Minimum number of choices
1069
+
1070
+ # `maxChoices` (number)
1071
+
1072
+ Maximum number of choices
1073
+
1074
+ # `maxResponseAreas` (number)
1075
+
1076
+ Maximum number of response areas
1077
+
1078
+ # `maxImageWidth` (object)
1079
+
1080
+ Properties of the `maxImageWidth` object:
1081
+
1082
+ ## `teacherInstructions` (number)
1083
+
1084
+ Indicates the max dimension for images in teacher instructions
1085
+
1086
+ ## `prompt` (number)
1087
+
1088
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1089
+
1090
+ ## `rationale` (number)
1091
+
1092
+ Indicates the max dimension for images in rationale
1093
+
1094
+ # `maxImageHeight` (object)
1095
+
1096
+ Properties of the `maxImageHeight` 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
+ # `withRubric` (object)
1111
+
1112
+ Properties of the `withRubric` object:
1113
+
1114
+ ## `settings` (boolean)
1115
+
1116
+ Indicates if the item has to be displayed in the Settings Panel
1117
+
1118
+ ## `label` (string)
1119
+
1120
+ Indicates the label for the item that has to be displayed in the Settings Panel
1121
+
1122
+ # `language` (object)
1123
+
1124
+ Properties of the `language` object:
1125
+
1126
+ ## `enabled` (boolean)
1127
+
1128
+ Indicates the value of the item if it affects config-ui
1129
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1130
+
1131
+ ## `settings` (boolean)
1132
+
1133
+ Indicates if the item has to be displayed in the Settings Panel
1134
+
1135
+ ## `label` (string)
1136
+
1137
+ Indicates the label for the item that has to be displayed in the Settings Panel
1138
+
1139
+ # `languageChoices` (object)
1140
+
1141
+ Language choices configuration
1142
+ Only available if language is enabled
1143
+
1144
+ Properties of the `languageChoices` object:
1145
+
1146
+ ## `label` (string, required)
1147
+
1148
+ ## `options` (array, required)
1149
+
1150
+ The object is an array with all elements of the type `object`.
1151
+
1152
+ The array object has the following properties:
1153
+
1154
+ ### `value` (string, required)
1155
+
1156
+ Value of the language option
1157
+
1158
+ ### `label` (string, required)
1159
+
1160
+ Label of the language option
1161
+
1162
+ # `maxLength` (number)
1163
+
1164
+ Maximum character limit for each answer choice
1165
+
1166
+ # `showPrompt` (boolean)
1167
+
1168
+ Determines whether prompt field will be displayed or not
1169
+
1170
+ Default: `true`
1171
+
1172
+ # `promptLabel` (string)
1173
+
1174
+ The label for the item stem/prompt field
1175
+
1176
+ Default: `"Item Stemm"`
1177
+
1178
+ # `contentDimensions` (object)
1179
+
1180
+ Indicates the dimensions configuration for the authoring container
1181
+ Note: Some items have a default minimum width because of their content, but if
1182
+ the minWidth is lower than this, the overflow behavior will take care of that
1183
+
1184
+ Properties of the `contentDimensions` object:
1185
+
1186
+ ## `maxHeight` (string,number)
1187
+
1188
+ Indicates the max height of the authoring container
1189
+
1190
+ Default: `"undefined"`
1191
+
1192
+ ## `maxWidth` (string,number)
1193
+
1194
+ Indicates the max width of the authoring container
1195
+
1196
+ Default: `"undefined"`
1197
+
1198
+ ## `minHeight` (string,number)
1199
+
1200
+ Indicates the min height of the authoring container
1201
+
1202
+ Default: `"undefined"`
1203
+
1204
+ ## `minWidth` (string,number)
1205
+
1206
+ Indicates the min width of the authoring container
1207
+
1208
+ Default: `"undefined"`
1209
+
1210
+ Default: `": {}"`
1211
+
1212
+ # `settingsPartialScoring` (boolean)
1213
+
1214
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
1215
+
1216
+ Default: `true`
1217
+
1218
+ ---
1219
+
1220
+ # Sub Schemas
1221
+
1222
+ The schema defines the following additional types:
1223
+
1224
+ ## `EditableHtmlConfigureProp` (object)
1225
+
1226
+ Properties of the `EditableHtmlConfigureProp` object:
1227
+
1228
+ ### `math` (object)
1229
+
1230
+ Properties of the `math` object:
1231
+
1232
+ #### `disabled` (boolean)
1233
+
1234
+ Indicates if the plugin is disabled or not
1235
+
1236
+ ### `audio` (object)
1237
+
1238
+ Properties of the `audio` object:
1239
+
1240
+ #### `disabled` (boolean)
1241
+
1242
+ Indicates if the plugin is disabled or not
1243
+
1244
+ ### `video` (object)
1245
+
1246
+ Properties of the `video` object:
1247
+
1248
+ #### `disabled` (boolean)
1249
+
1250
+ Indicates if the plugin is disabled or not
1251
+
1252
+ ### `image` (object)
1253
+
1254
+ Properties of the `image` object:
1255
+
1256
+ #### `disabled` (boolean)
1257
+
1258
+ Indicates if the plugin is disabled or not
1259
+
1260
+ ### `customPlugins` (array)
1261
+
1262
+ An array of objects that determine custom plugins.
1263
+ 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).
1264
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1265
+
1266
+ The object is an array with all elements of the type `object`.
1267
+
1268
+ The array object has the following properties:
1269
+
1270
+ #### `event` (string, required)
1271
+
1272
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1273
+ PIE will emit the event prefixed with "PIE-".
1274
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1275
+
1276
+ #### `iconAlt` (string, required)
1277
+
1278
+ The alt for the custom button icon
1279
+
1280
+ #### `iconType` (string, required)
1281
+
1282
+ The icon type.
1283
+ Currently, only "SVG" is supported.
1284
+
1285
+ #### `icon` (string, required)
1286
+
1287
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1288
+
1289
+ ### `blockquote` (object)
1290
+
1291
+ Properties of the `blockquote` object:
1292
+
1293
+ #### `disabled` (boolean)
1294
+
1295
+ Indicates if the plugin is disabled or not
1296
+
1297
+ ### `h3` (object)
1298
+
1299
+ Properties of the `h3` object:
1300
+
1301
+ #### `disabled` (boolean)
1302
+
1303
+ Indicates if the plugin is disabled or not
1304
+
1305
+ ### `characters` (object)
1306
+
1307
+ Properties of the `characters` object:
1308
+
1309
+ #### `disabled` (boolean)
1310
+
1311
+ Indicates if the plugin is disabled or not
1312
+
1313
+ ### `bold` (object)
1314
+
1315
+ Properties of the `bold` object:
1316
+
1317
+ #### `disabled` (boolean)
1318
+
1319
+ Indicates if the plugin is disabled or not
1320
+
1321
+ ### `html` (object)
1322
+
1323
+ Properties of the `html` object:
1324
+
1325
+ #### `disabled` (boolean)
1326
+
1327
+ Indicates if the plugin is disabled or not
1328
+
1329
+ ### `italic` (object)
1330
+
1331
+ Properties of the `italic` object:
1332
+
1333
+ #### `disabled` (boolean)
1334
+
1335
+ Indicates if the plugin is disabled or not
1336
+
1337
+ ### `ol_list` (object)
1338
+
1339
+ Properties of the `ol_list` object:
1340
+
1341
+ #### `disabled` (boolean)
1342
+
1343
+ Indicates if the plugin is disabled or not
1344
+
1345
+ ### `redo` (object)
1346
+
1347
+ Properties of the `redo` object:
1348
+
1349
+ #### `disabled` (boolean)
1350
+
1351
+ Indicates if the plugin is disabled or not
1352
+
1353
+ ### `strikethrough` (object)
1354
+
1355
+ Properties of the `strikethrough` object:
1356
+
1357
+ #### `disabled` (boolean)
1358
+
1359
+ Indicates if the plugin is disabled or not
1360
+
1361
+ ### `sub` (object)
1362
+
1363
+ Properties of the `sub` object:
1364
+
1365
+ #### `disabled` (boolean)
1366
+
1367
+ Indicates if the plugin is disabled or not
1368
+
1369
+ ### `sup` (object)
1370
+
1371
+ Properties of the `sup` object:
1372
+
1373
+ #### `disabled` (boolean)
1374
+
1375
+ Indicates if the plugin is disabled or not
1376
+
1377
+ ### `table` (object)
1378
+
1379
+ Properties of the `table` object:
1380
+
1381
+ #### `disabled` (boolean)
1382
+
1383
+ Indicates if the plugin is disabled or not
1384
+
1385
+ ### `ul_list` (object)
1386
+
1387
+ Properties of the `ul_list` object:
1388
+
1389
+ #### `disabled` (boolean)
1390
+
1391
+ Indicates if the plugin is disabled or not
1392
+
1393
+ ### `underline` (object)
1394
+
1395
+ Properties of the `underline` object:
1396
+
1397
+ #### `disabled` (boolean)
1398
+
1399
+ Indicates if the plugin is disabled or not
1400
+
1401
+ ### `undo` (object)
1402
+
1403
+ Properties of the `undo` object:
1404
+
1405
+ #### `disabled` (boolean)
1406
+
1407
+ Indicates if the plugin is disabled or not
1408
+
1409
+ ## `EditableHtmlButtonConfigure` (object)
1410
+
1411
+ Properties of the `EditableHtmlButtonConfigure` object:
1412
+
1413
+ ### `disabled` (boolean)
1414
+
1415
+ Indicates if the plugin is disabled or not
1416
+
1417
+ ## `CustomPlugin` (object)
1418
+
1419
+ Properties of the `CustomPlugin` object:
1420
+
1421
+ ### `event` (string, required)
1422
+
1423
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1424
+ PIE will emit the event prefixed with "PIE-".
1425
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1426
+
1427
+ ### `iconAlt` (string, required)
1428
+
1429
+ The alt for the custom button icon
1430
+
1431
+ ### `iconType` (string, required)
1432
+
1433
+ The icon type.
1434
+ Currently, only "SVG" is supported.
1435
+
1436
+ ### `icon` (string, required)
1437
+
1438
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1439
+
1440
+ ## `ConfigureProp` (object)
1441
+
1442
+ Properties of the `ConfigureProp` object:
1443
+
1444
+ ### `settings` (boolean)
1445
+
1446
+ Indicates if the item has to be displayed in the Settings Panel
1447
+
1448
+ ### `label` (string)
1449
+
1450
+ Indicates the label for the item that has to be displayed in the Settings Panel
1451
+
1452
+ ## `EditableHtmlPluginConfigureRequired` (object)
1453
+
1454
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
1455
+
1456
+ ### `inputConfiguration` (object)
1457
+
1458
+ Properties of the `inputConfiguration` object:
1459
+
1460
+ #### `math` (object)
1461
+
1462
+ Properties of the `math` object:
1463
+
1464
+ ##### `disabled` (boolean)
1465
+
1466
+ Indicates if the plugin is disabled or not
1467
+
1468
+ #### `audio` (object)
1469
+
1470
+ Properties of the `audio` object:
1471
+
1472
+ ##### `disabled` (boolean)
1473
+
1474
+ Indicates if the plugin is disabled or not
1475
+
1476
+ #### `video` (object)
1477
+
1478
+ Properties of the `video` object:
1479
+
1480
+ ##### `disabled` (boolean)
1481
+
1482
+ Indicates if the plugin is disabled or not
1483
+
1484
+ #### `image` (object)
1485
+
1486
+ Properties of the `image` object:
1487
+
1488
+ ##### `disabled` (boolean)
1489
+
1490
+ Indicates if the plugin is disabled or not
1491
+
1492
+ #### `customPlugins` (array)
1493
+
1494
+ An array of objects that determine custom plugins.
1495
+ 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).
1496
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1497
+
1498
+ The object is an array with all elements of the type `object`.
1499
+
1500
+ The array object has the following properties:
1501
+
1502
+ ##### `event` (string, required)
1503
+
1504
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1505
+ PIE will emit the event prefixed with "PIE-".
1506
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1507
+
1508
+ ##### `iconAlt` (string, required)
1509
+
1510
+ The alt for the custom button icon
1511
+
1512
+ ##### `iconType` (string, required)
1513
+
1514
+ The icon type.
1515
+ Currently, only "SVG" is supported.
1516
+
1517
+ ##### `icon` (string, required)
1518
+
1519
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1520
+
1521
+ #### `blockquote` (object)
1522
+
1523
+ Properties of the `blockquote` object:
1524
+
1525
+ ##### `disabled` (boolean)
1526
+
1527
+ Indicates if the plugin is disabled or not
1528
+
1529
+ #### `h3` (object)
1530
+
1531
+ Properties of the `h3` object:
1532
+
1533
+ ##### `disabled` (boolean)
1534
+
1535
+ Indicates if the plugin is disabled or not
1536
+
1537
+ #### `characters` (object)
1538
+
1539
+ Properties of the `characters` object:
1540
+
1541
+ ##### `disabled` (boolean)
1542
+
1543
+ Indicates if the plugin is disabled or not
1544
+
1545
+ #### `bold` (object)
1546
+
1547
+ Properties of the `bold` object:
1548
+
1549
+ ##### `disabled` (boolean)
1550
+
1551
+ Indicates if the plugin is disabled or not
1552
+
1553
+ #### `html` (object)
1554
+
1555
+ Properties of the `html` object:
1556
+
1557
+ ##### `disabled` (boolean)
1558
+
1559
+ Indicates if the plugin is disabled or not
1560
+
1561
+ #### `italic` (object)
1562
+
1563
+ Properties of the `italic` object:
1564
+
1565
+ ##### `disabled` (boolean)
1566
+
1567
+ Indicates if the plugin is disabled or not
1568
+
1569
+ #### `ol_list` (object)
1570
+
1571
+ Properties of the `ol_list` object:
1572
+
1573
+ ##### `disabled` (boolean)
1574
+
1575
+ Indicates if the plugin is disabled or not
1576
+
1577
+ #### `redo` (object)
1578
+
1579
+ Properties of the `redo` object:
1580
+
1581
+ ##### `disabled` (boolean)
1582
+
1583
+ Indicates if the plugin is disabled or not
1584
+
1585
+ #### `strikethrough` (object)
1586
+
1587
+ Properties of the `strikethrough` object:
1588
+
1589
+ ##### `disabled` (boolean)
1590
+
1591
+ Indicates if the plugin is disabled or not
1592
+
1593
+ #### `sub` (object)
1594
+
1595
+ Properties of the `sub` object:
1596
+
1597
+ ##### `disabled` (boolean)
1598
+
1599
+ Indicates if the plugin is disabled or not
1600
+
1601
+ #### `sup` (object)
1602
+
1603
+ Properties of the `sup` object:
1604
+
1605
+ ##### `disabled` (boolean)
1606
+
1607
+ Indicates if the plugin is disabled or not
1608
+
1609
+ #### `table` (object)
1610
+
1611
+ Properties of the `table` object:
1612
+
1613
+ ##### `disabled` (boolean)
1614
+
1615
+ Indicates if the plugin is disabled or not
1616
+
1617
+ #### `ul_list` (object)
1618
+
1619
+ Properties of the `ul_list` object:
1620
+
1621
+ ##### `disabled` (boolean)
1622
+
1623
+ Indicates if the plugin is disabled or not
1624
+
1625
+ #### `underline` (object)
1626
+
1627
+ Properties of the `underline` object:
1628
+
1629
+ ##### `disabled` (boolean)
1630
+
1631
+ Indicates if the plugin is disabled or not
1632
+
1633
+ #### `undo` (object)
1634
+
1635
+ Properties of the `undo` object:
1636
+
1637
+ ##### `disabled` (boolean)
1638
+
1639
+ Indicates if the plugin is disabled or not
1640
+
1641
+ ### `required` (boolean)
1642
+
1643
+ Indicates if the item is required and the value cannot be empty
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
+ ## `EditableHtmlPluginConfigure` (object)
1654
+
1655
+ Properties of the `EditableHtmlPluginConfigure` 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
+ ### `settings` (boolean)
1843
+
1844
+ Indicates if the item has to be displayed in the Settings Panel
1845
+
1846
+ ### `label` (string)
1847
+
1848
+ Indicates the label for the item that has to be displayed in the Settings Panel
1849
+
1850
+ ## `ConfigureMathMLProp` (object)
1851
+
1852
+ Properties of the `ConfigureMathMLProp` object:
1853
+
1854
+ ### `mmlOutput` (number)
1855
+
1856
+ Indicates if model should have mathML output instead of latex
1857
+
1858
+ ### `mmlEditing` (number)
1859
+
1860
+ Indicates if mathML that's already in model should be editable
1861
+
1862
+ ## `ConfigureMaxImageDimensionsProp` (object)
1863
+
1864
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
1865
+
1866
+ ### `teacherInstructions` (number)
1867
+
1868
+ Indicates the max dimension for images in teacher instructions
1869
+
1870
+ ### `prompt` (number)
1871
+
1872
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1873
+
1874
+ ### `rationale` (number)
1875
+
1876
+ Indicates the max dimension for images in rationale
1877
+
1878
+ ## `ConfigurePropWithEnabled` (object)
1879
+
1880
+ Properties of the `ConfigurePropWithEnabled` object:
1881
+
1882
+ ### `enabled` (boolean)
1883
+
1884
+ Indicates the value of the item if it affects config-ui
1885
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1886
+
1887
+ ### `settings` (boolean)
1888
+
1889
+ Indicates if the item has to be displayed in the Settings Panel
1890
+
1891
+ ### `label` (string)
1892
+
1893
+ Indicates the label for the item that has to be displayed in the Settings Panel
1894
+
1895
+ ## `ConfigureLanguageOptionsProp` (object)
1896
+
1897
+ Properties of the `ConfigureLanguageOptionsProp` object:
1898
+
1899
+ ### `value` (string, required)
1900
+
1901
+ Value of the language option
1902
+
1903
+ ### `label` (string, required)
1904
+
1905
+ Label of the language option