@pie-element/math-templated 2.18.0 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,356 @@
1
- Config Object for @pie-elements/boilerplate-item-type
1
+ Config Object for @pie-elements/math-templated-configure
2
2
 
3
3
  The schema defines the following properties:
4
4
 
5
+ # `ignoreOrder` (object)
6
+
7
+ Properties of the `ignoreOrder` object:
8
+
9
+ ## `enabled` (boolean)
10
+
11
+ Indicates the value of the item if it affects config-ui
12
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
13
+
14
+ ## `settings` (boolean)
15
+
16
+ Indicates if the item has to be displayed in the Settings Panel
17
+
18
+ ## `label` (string)
19
+
20
+ Indicates the label for the item that has to be displayed in the Settings Panel
21
+
22
+ # `allowTrailingZeros` (object)
23
+
24
+ Properties of the `allowTrailingZeros` object:
25
+
26
+ ## `enabled` (boolean)
27
+
28
+ Indicates the value of the item if it affects config-ui
29
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
30
+
31
+ ## `settings` (boolean)
32
+
33
+ Indicates if the item has to be displayed in the Settings Panel
34
+
35
+ ## `label` (string)
36
+
37
+ Indicates the label for the item that has to be displayed in the Settings Panel
38
+
39
+ # `partialScoring` (object)
40
+
41
+ Properties of the `partialScoring` object:
42
+
43
+ ## `settings` (boolean)
44
+
45
+ Indicates if the item has to be displayed in the Settings Panel
46
+
47
+ ## `label` (string)
48
+
49
+ Indicates the label for the item that has to be displayed in the Settings Panel
50
+
51
+ # `baseInputConfiguration` (object)
52
+
53
+ Properties of the `baseInputConfiguration` object:
54
+
55
+ ## `math` (object)
56
+
57
+ Properties of the `math` object:
58
+
59
+ ### `disabled` (boolean)
60
+
61
+ Indicates if the plugin is disabled or not
62
+
63
+ ## `audio` (object)
64
+
65
+ Properties of the `audio` object:
66
+
67
+ ### `disabled` (boolean)
68
+
69
+ Indicates if the plugin is disabled or not
70
+
71
+ ## `video` (object)
72
+
73
+ Properties of the `video` object:
74
+
75
+ ### `disabled` (boolean)
76
+
77
+ Indicates if the plugin is disabled or not
78
+
79
+ ## `image` (object)
80
+
81
+ Properties of the `image` object:
82
+
83
+ ### `disabled` (boolean)
84
+
85
+ Indicates if the plugin is disabled or not
86
+
87
+ ## `customPlugins` (array)
88
+
89
+ An array of objects that determine custom plugins.
90
+ 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).
91
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
92
+
93
+ The object is an array with all elements of the type `object`.
94
+
95
+ The array object has the following properties:
96
+
97
+ ### `event` (string, required)
98
+
99
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
100
+ PIE will emit the event prefixed with "PIE-".
101
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
102
+
103
+ ### `iconAlt` (string, required)
104
+
105
+ The alt for the custom button icon
106
+
107
+ ### `iconType` (string, required)
108
+
109
+ The icon type.
110
+ Currently, only "SVG" is supported.
111
+
112
+ ### `icon` (string, required)
113
+
114
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
115
+
116
+ ## `blockquote` (object)
117
+
118
+ Properties of the `blockquote` object:
119
+
120
+ ### `disabled` (boolean)
121
+
122
+ Indicates if the plugin is disabled or not
123
+
124
+ ## `h3` (object)
125
+
126
+ Properties of the `h3` object:
127
+
128
+ ### `disabled` (boolean)
129
+
130
+ Indicates if the plugin is disabled or not
131
+
5
132
  # `prompt` (object)
6
133
 
7
134
  Properties of the `prompt` object:
8
135
 
136
+ ## `inputConfiguration` (object)
137
+
138
+ Properties of the `inputConfiguration` object:
139
+
140
+ ### `math` (object)
141
+
142
+ Properties of the `math` object:
143
+
144
+ #### `disabled` (boolean)
145
+
146
+ Indicates if the plugin is disabled or not
147
+
148
+ ### `audio` (object)
149
+
150
+ Properties of the `audio` object:
151
+
152
+ #### `disabled` (boolean)
153
+
154
+ Indicates if the plugin is disabled or not
155
+
156
+ ### `video` (object)
157
+
158
+ Properties of the `video` object:
159
+
160
+ #### `disabled` (boolean)
161
+
162
+ Indicates if the plugin is disabled or not
163
+
164
+ ### `image` (object)
165
+
166
+ Properties of the `image` object:
167
+
168
+ #### `disabled` (boolean)
169
+
170
+ Indicates if the plugin is disabled or not
171
+
172
+ ### `customPlugins` (array)
173
+
174
+ An array of objects that determine custom plugins.
175
+ 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).
176
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
177
+
178
+ The object is an array with all elements of the type `object`.
179
+
180
+ The array object has the following properties:
181
+
182
+ #### `event` (string, required)
183
+
184
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
185
+ PIE will emit the event prefixed with "PIE-".
186
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
187
+
188
+ #### `iconAlt` (string, required)
189
+
190
+ The alt for the custom button icon
191
+
192
+ #### `iconType` (string, required)
193
+
194
+ The icon type.
195
+ Currently, only "SVG" is supported.
196
+
197
+ #### `icon` (string, required)
198
+
199
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
200
+
201
+ ### `blockquote` (object)
202
+
203
+ Properties of the `blockquote` object:
204
+
205
+ #### `disabled` (boolean)
206
+
207
+ Indicates if the plugin is disabled or not
208
+
209
+ ### `h3` (object)
210
+
211
+ Properties of the `h3` object:
212
+
213
+ #### `disabled` (boolean)
214
+
215
+ Indicates if the plugin is disabled or not
216
+
217
+ ## `required` (boolean)
218
+
219
+ Indicates if the item is required and the value cannot be empty
220
+
221
+ ## `settings` (boolean)
222
+
223
+ Indicates if the item has to be displayed in the Settings Panel
224
+
225
+ ## `label` (string)
226
+
227
+ Indicates the label for the item that has to be displayed in the Settings Panel
228
+
229
+ # `spellCheck` (object)
230
+
231
+ Properties of the `spellCheck` object:
232
+
233
+ ## `settings` (boolean)
234
+
235
+ Indicates if the item has to be displayed in the Settings Panel
236
+
237
+ ## `label` (string)
238
+
239
+ Indicates the label for the item that has to be displayed in the Settings Panel
240
+
241
+ # `editSource` (object)
242
+
243
+ Properties of the `editSource` object:
244
+
245
+ ## `settings` (boolean)
246
+
247
+ Indicates if the item has to be displayed in the Settings Panel
248
+
249
+ ## `label` (string)
250
+
251
+ Indicates the label for the item that has to be displayed in the Settings Panel
252
+
253
+ # `playerSpellCheck` (object)
254
+
255
+ Properties of the `playerSpellCheck` object:
256
+
257
+ ## `settings` (boolean)
258
+
259
+ Indicates if the item has to be displayed in the Settings Panel
260
+
261
+ ## `label` (string)
262
+
263
+ Indicates the label for the item that has to be displayed in the Settings Panel
264
+
265
+ # `teacherInstructions` (object)
266
+
267
+ Properties of the `teacherInstructions` object:
268
+
269
+ ## `inputConfiguration` (object)
270
+
271
+ Properties of the `inputConfiguration` object:
272
+
273
+ ### `math` (object)
274
+
275
+ Properties of the `math` object:
276
+
277
+ #### `disabled` (boolean)
278
+
279
+ Indicates if the plugin is disabled or not
280
+
281
+ ### `audio` (object)
282
+
283
+ Properties of the `audio` object:
284
+
285
+ #### `disabled` (boolean)
286
+
287
+ Indicates if the plugin is disabled or not
288
+
289
+ ### `video` (object)
290
+
291
+ Properties of the `video` object:
292
+
293
+ #### `disabled` (boolean)
294
+
295
+ Indicates if the plugin is disabled or not
296
+
297
+ ### `image` (object)
298
+
299
+ Properties of the `image` object:
300
+
301
+ #### `disabled` (boolean)
302
+
303
+ Indicates if the plugin is disabled or not
304
+
305
+ ### `customPlugins` (array)
306
+
307
+ An array of objects that determine custom plugins.
308
+ 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).
309
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
310
+
311
+ The object is an array with all elements of the type `object`.
312
+
313
+ The array object has the following properties:
314
+
315
+ #### `event` (string, required)
316
+
317
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
318
+ PIE will emit the event prefixed with "PIE-".
319
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
320
+
321
+ #### `iconAlt` (string, required)
322
+
323
+ The alt for the custom button icon
324
+
325
+ #### `iconType` (string, required)
326
+
327
+ The icon type.
328
+ Currently, only "SVG" is supported.
329
+
330
+ #### `icon` (string, required)
331
+
332
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
333
+
334
+ ### `blockquote` (object)
335
+
336
+ Properties of the `blockquote` object:
337
+
338
+ #### `disabled` (boolean)
339
+
340
+ Indicates if the plugin is disabled or not
341
+
342
+ ### `h3` (object)
343
+
344
+ Properties of the `h3` object:
345
+
346
+ #### `disabled` (boolean)
347
+
348
+ Indicates if the plugin is disabled or not
349
+
350
+ ## `required` (boolean)
351
+
352
+ Indicates if the item is required and the value cannot be empty
353
+
9
354
  ## `settings` (boolean)
10
355
 
11
356
  Indicates if the item has to be displayed in the Settings Panel
@@ -14,57 +359,198 @@ Indicates if the item has to be displayed in the Settings Panel
14
359
 
15
360
  Indicates the label for the item that has to be displayed in the Settings Panel
16
361
 
17
- # `showPrompt` (boolean)
362
+ # `rationale` (object)
363
+
364
+ Properties of the `rationale` object:
18
365
 
19
- Determines whether prompt field will be displayed or not
366
+ ## `settings` (boolean)
367
+
368
+ Indicates if the item has to be displayed in the Settings Panel
369
+
370
+ ## `label` (string)
371
+
372
+ Indicates the label for the item that has to be displayed in the Settings Panel
20
373
 
21
- Default: `true`
374
+ # `template` (object)
22
375
 
23
- # `promptLabel` (string)
376
+ Properties of the `template` object:
24
377
 
25
- The label for the item stem/prompt field
378
+ ## `inputConfiguration` (object)
26
379
 
27
- Default: `"Item Stemm"`
380
+ Properties of the `inputConfiguration` object:
28
381
 
29
- # `contentDimensions` (object)
382
+ ### `math` (object)
30
383
 
31
- Indicates the dimensions configuration for the authoring container
32
- Note: Some items have a default minimum width because of their content, but if
33
- the minWidth is lower than this, the overflow behavior will take care of that
384
+ Properties of the `math` object:
34
385
 
35
- Properties of the `contentDimensions` object:
386
+ #### `disabled` (boolean)
36
387
 
37
- ## `maxHeight` (string,number)
388
+ Indicates if the plugin is disabled or not
38
389
 
39
- Indicates the max height of the authoring container
390
+ ### `audio` (object)
40
391
 
41
- Default: `"undefined"`
392
+ Properties of the `audio` object:
42
393
 
43
- ## `maxWidth` (string,number)
394
+ #### `disabled` (boolean)
44
395
 
45
- Indicates the max width of the authoring container
396
+ Indicates if the plugin is disabled or not
46
397
 
47
- Default: `"undefined"`
398
+ ### `video` (object)
48
399
 
49
- ## `minHeight` (string,number)
400
+ Properties of the `video` object:
50
401
 
51
- Indicates the min height of the authoring container
402
+ #### `disabled` (boolean)
52
403
 
53
- Default: `"undefined"`
404
+ Indicates if the plugin is disabled or not
54
405
 
55
- ## `minWidth` (string,number)
406
+ ### `image` (object)
56
407
 
57
- Indicates the min width of the authoring container
408
+ Properties of the `image` object:
58
409
 
59
- Default: `"undefined"`
410
+ #### `disabled` (boolean)
60
411
 
61
- Default: `": {}"`
412
+ Indicates if the plugin is disabled or not
413
+
414
+ ### `customPlugins` (array)
415
+
416
+ An array of objects that determine custom plugins.
417
+ 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).
418
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
419
+
420
+ The object is an array with all elements of the type `object`.
421
+
422
+ The array object has the following properties:
423
+
424
+ #### `event` (string, required)
425
+
426
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
427
+ PIE will emit the event prefixed with "PIE-".
428
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
429
+
430
+ #### `iconAlt` (string, required)
431
+
432
+ The alt for the custom button icon
433
+
434
+ #### `iconType` (string, required)
435
+
436
+ The icon type.
437
+ Currently, only "SVG" is supported.
438
+
439
+ #### `icon` (string, required)
440
+
441
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
442
+
443
+ ### `blockquote` (object)
444
+
445
+ Properties of the `blockquote` object:
446
+
447
+ #### `disabled` (boolean)
448
+
449
+ Indicates if the plugin is disabled or not
450
+
451
+ ### `h3` (object)
452
+
453
+ Properties of the `h3` object:
454
+
455
+ #### `disabled` (boolean)
456
+
457
+ Indicates if the plugin is disabled or not
458
+
459
+ ## `settings` (boolean)
460
+
461
+ Indicates if the item has to be displayed in the Settings Panel
462
+
463
+ ## `label` (string)
464
+
465
+ Indicates the label for the item that has to be displayed in the Settings Panel
62
466
 
63
- # `settingsPartialScoring` (boolean)
467
+ # `maxImageWidth` (object)
64
468
 
65
- Indicates whether the settings panel wil allow the author to modify settings for partial scoring
469
+ Properties of the `maxImageWidth` object:
66
470
 
67
- Default: `true`
471
+ ## `teacherInstructions` (number)
472
+
473
+ Indicates the max dimension for images in teacher instructions
474
+
475
+ ## `prompt` (number)
476
+
477
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
478
+
479
+ ## `rationale` (number)
480
+
481
+ Indicates the max dimension for images in rationale
482
+
483
+ # `maxImageHeight` (object)
484
+
485
+ Properties of the `maxImageHeight` object:
486
+
487
+ ## `teacherInstructions` (number)
488
+
489
+ Indicates the max dimension for images in teacher instructions
490
+
491
+ ## `prompt` (number)
492
+
493
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
494
+
495
+ ## `rationale` (number)
496
+
497
+ Indicates the max dimension for images in rationale
498
+
499
+ # `mathMlOptions` (object)
500
+
501
+ Properties of the `mathMlOptions` object:
502
+
503
+ ## `mmlOutput` (number)
504
+
505
+ Indicates if model should have mathML output instead of latex
506
+
507
+ ## `mmlEditing` (number)
508
+
509
+ Indicates if mathML that's already in model should be editable
510
+
511
+ # `language` (object)
512
+
513
+ Properties of the `language` object:
514
+
515
+ ## `enabled` (boolean)
516
+
517
+ Indicates the value of the item if it affects config-ui
518
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
519
+
520
+ ## `settings` (boolean)
521
+
522
+ Indicates if the item has to be displayed in the Settings Panel
523
+
524
+ ## `label` (string)
525
+
526
+ Indicates the label for the item that has to be displayed in the Settings Panel
527
+
528
+ # `languageChoices` (object)
529
+
530
+ Language choices configuration
531
+ Only available if language is enabled
532
+
533
+ Properties of the `languageChoices` object:
534
+
535
+ ## `label` (string, required)
536
+
537
+ ## `options` (array, required)
538
+
539
+ The object is an array with all elements of the type `object`.
540
+
541
+ The array object has the following properties:
542
+
543
+ ### `value` (string, required)
544
+
545
+ Value of the language option
546
+
547
+ ### `label` (string, required)
548
+
549
+ Label of the language option
550
+
551
+ # `maxResponseAreas` (number)
552
+
553
+ Maximum number of response areas
68
554
 
69
555
  ---
70
556
 
@@ -72,6 +558,23 @@ Default: `true`
72
558
 
73
559
  The schema defines the following additional types:
74
560
 
561
+ ## `ConfigurePropWithEnabled` (object)
562
+
563
+ Properties of the `ConfigurePropWithEnabled` object:
564
+
565
+ ### `enabled` (boolean)
566
+
567
+ Indicates the value of the item if it affects config-ui
568
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
569
+
570
+ ### `settings` (boolean)
571
+
572
+ Indicates if the item has to be displayed in the Settings Panel
573
+
574
+ ### `label` (string)
575
+
576
+ Indicates the label for the item that has to be displayed in the Settings Panel
577
+
75
578
  ## `ConfigureProp` (object)
76
579
 
77
580
  Properties of the `ConfigureProp` object:
@@ -82,4 +585,346 @@ Indicates if the item has to be displayed in the Settings Panel
82
585
 
83
586
  ### `label` (string)
84
587
 
85
- Indicates the label for the item that has to be displayed in the Settings Panel
588
+ Indicates the label for the item that has to be displayed in the Settings Panel
589
+
590
+ ## `EditableHtmlConfigureProp` (object)
591
+
592
+ Properties of the `EditableHtmlConfigureProp` object:
593
+
594
+ ### `math` (object)
595
+
596
+ Properties of the `math` object:
597
+
598
+ #### `disabled` (boolean)
599
+
600
+ Indicates if the plugin is disabled or not
601
+
602
+ ### `audio` (object)
603
+
604
+ Properties of the `audio` object:
605
+
606
+ #### `disabled` (boolean)
607
+
608
+ Indicates if the plugin is disabled or not
609
+
610
+ ### `video` (object)
611
+
612
+ Properties of the `video` object:
613
+
614
+ #### `disabled` (boolean)
615
+
616
+ Indicates if the plugin is disabled or not
617
+
618
+ ### `image` (object)
619
+
620
+ Properties of the `image` object:
621
+
622
+ #### `disabled` (boolean)
623
+
624
+ Indicates if the plugin is disabled or not
625
+
626
+ ### `customPlugins` (array)
627
+
628
+ An array of objects that determine custom plugins.
629
+ 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).
630
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
631
+
632
+ The object is an array with all elements of the type `object`.
633
+
634
+ The array object has the following properties:
635
+
636
+ #### `event` (string, required)
637
+
638
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
639
+ PIE will emit the event prefixed with "PIE-".
640
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
641
+
642
+ #### `iconAlt` (string, required)
643
+
644
+ The alt for the custom button icon
645
+
646
+ #### `iconType` (string, required)
647
+
648
+ The icon type.
649
+ Currently, only "SVG" is supported.
650
+
651
+ #### `icon` (string, required)
652
+
653
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
654
+
655
+ ### `blockquote` (object)
656
+
657
+ Properties of the `blockquote` object:
658
+
659
+ #### `disabled` (boolean)
660
+
661
+ Indicates if the plugin is disabled or not
662
+
663
+ ### `h3` (object)
664
+
665
+ Properties of the `h3` object:
666
+
667
+ #### `disabled` (boolean)
668
+
669
+ Indicates if the plugin is disabled or not
670
+
671
+ ## `EditableHtmlButtonConfigure` (object)
672
+
673
+ Properties of the `EditableHtmlButtonConfigure` object:
674
+
675
+ ### `disabled` (boolean)
676
+
677
+ Indicates if the plugin is disabled or not
678
+
679
+ ## `CustomPlugin` (object)
680
+
681
+ Properties of the `CustomPlugin` object:
682
+
683
+ ### `event` (string, required)
684
+
685
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
686
+ PIE will emit the event prefixed with "PIE-".
687
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
688
+
689
+ ### `iconAlt` (string, required)
690
+
691
+ The alt for the custom button icon
692
+
693
+ ### `iconType` (string, required)
694
+
695
+ The icon type.
696
+ Currently, only "SVG" is supported.
697
+
698
+ ### `icon` (string, required)
699
+
700
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
701
+
702
+ ## `EditableHtmlPluginConfigureRequired` (object)
703
+
704
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
705
+
706
+ ### `inputConfiguration` (object)
707
+
708
+ Properties of the `inputConfiguration` object:
709
+
710
+ #### `math` (object)
711
+
712
+ Properties of the `math` object:
713
+
714
+ ##### `disabled` (boolean)
715
+
716
+ Indicates if the plugin is disabled or not
717
+
718
+ #### `audio` (object)
719
+
720
+ Properties of the `audio` object:
721
+
722
+ ##### `disabled` (boolean)
723
+
724
+ Indicates if the plugin is disabled or not
725
+
726
+ #### `video` (object)
727
+
728
+ Properties of the `video` object:
729
+
730
+ ##### `disabled` (boolean)
731
+
732
+ Indicates if the plugin is disabled or not
733
+
734
+ #### `image` (object)
735
+
736
+ Properties of the `image` object:
737
+
738
+ ##### `disabled` (boolean)
739
+
740
+ Indicates if the plugin is disabled or not
741
+
742
+ #### `customPlugins` (array)
743
+
744
+ An array of objects that determine custom plugins.
745
+ 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).
746
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
747
+
748
+ The object is an array with all elements of the type `object`.
749
+
750
+ The array object has the following properties:
751
+
752
+ ##### `event` (string, required)
753
+
754
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
755
+ PIE will emit the event prefixed with "PIE-".
756
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
757
+
758
+ ##### `iconAlt` (string, required)
759
+
760
+ The alt for the custom button icon
761
+
762
+ ##### `iconType` (string, required)
763
+
764
+ The icon type.
765
+ Currently, only "SVG" is supported.
766
+
767
+ ##### `icon` (string, required)
768
+
769
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
770
+
771
+ #### `blockquote` (object)
772
+
773
+ Properties of the `blockquote` object:
774
+
775
+ ##### `disabled` (boolean)
776
+
777
+ Indicates if the plugin is disabled or not
778
+
779
+ #### `h3` (object)
780
+
781
+ Properties of the `h3` object:
782
+
783
+ ##### `disabled` (boolean)
784
+
785
+ Indicates if the plugin is disabled or not
786
+
787
+ ### `required` (boolean)
788
+
789
+ Indicates if the item is required and the value cannot be empty
790
+
791
+ ### `settings` (boolean)
792
+
793
+ Indicates if the item has to be displayed in the Settings Panel
794
+
795
+ ### `label` (string)
796
+
797
+ Indicates the label for the item that has to be displayed in the Settings Panel
798
+
799
+ ## `EditableHtmlPluginConfigure` (object)
800
+
801
+ Properties of the `EditableHtmlPluginConfigure` object:
802
+
803
+ ### `inputConfiguration` (object)
804
+
805
+ Properties of the `inputConfiguration` object:
806
+
807
+ #### `math` (object)
808
+
809
+ Properties of the `math` object:
810
+
811
+ ##### `disabled` (boolean)
812
+
813
+ Indicates if the plugin is disabled or not
814
+
815
+ #### `audio` (object)
816
+
817
+ Properties of the `audio` object:
818
+
819
+ ##### `disabled` (boolean)
820
+
821
+ Indicates if the plugin is disabled or not
822
+
823
+ #### `video` (object)
824
+
825
+ Properties of the `video` object:
826
+
827
+ ##### `disabled` (boolean)
828
+
829
+ Indicates if the plugin is disabled or not
830
+
831
+ #### `image` (object)
832
+
833
+ Properties of the `image` object:
834
+
835
+ ##### `disabled` (boolean)
836
+
837
+ Indicates if the plugin is disabled or not
838
+
839
+ #### `customPlugins` (array)
840
+
841
+ An array of objects that determine custom plugins.
842
+ 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).
843
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
844
+
845
+ The object is an array with all elements of the type `object`.
846
+
847
+ The array object has the following properties:
848
+
849
+ ##### `event` (string, required)
850
+
851
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
852
+ PIE will emit the event prefixed with "PIE-".
853
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
854
+
855
+ ##### `iconAlt` (string, required)
856
+
857
+ The alt for the custom button icon
858
+
859
+ ##### `iconType` (string, required)
860
+
861
+ The icon type.
862
+ Currently, only "SVG" is supported.
863
+
864
+ ##### `icon` (string, required)
865
+
866
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
867
+
868
+ #### `blockquote` (object)
869
+
870
+ Properties of the `blockquote` object:
871
+
872
+ ##### `disabled` (boolean)
873
+
874
+ Indicates if the plugin is disabled or not
875
+
876
+ #### `h3` (object)
877
+
878
+ Properties of the `h3` object:
879
+
880
+ ##### `disabled` (boolean)
881
+
882
+ Indicates if the plugin is disabled or not
883
+
884
+ ### `settings` (boolean)
885
+
886
+ Indicates if the item has to be displayed in the Settings Panel
887
+
888
+ ### `label` (string)
889
+
890
+ Indicates the label for the item that has to be displayed in the Settings Panel
891
+
892
+ ## `ConfigureMaxImageDimensionsProp` (object)
893
+
894
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
895
+
896
+ ### `teacherInstructions` (number)
897
+
898
+ Indicates the max dimension for images in teacher instructions
899
+
900
+ ### `prompt` (number)
901
+
902
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
903
+
904
+ ### `rationale` (number)
905
+
906
+ Indicates the max dimension for images in rationale
907
+
908
+ ## `ConfigureMathMLProp` (object)
909
+
910
+ Properties of the `ConfigureMathMLProp` object:
911
+
912
+ ### `mmlOutput` (number)
913
+
914
+ Indicates if model should have mathML output instead of latex
915
+
916
+ ### `mmlEditing` (number)
917
+
918
+ Indicates if mathML that's already in model should be editable
919
+
920
+ ## `ConfigureLanguageOptionsProp` (object)
921
+
922
+ Properties of the `ConfigureLanguageOptionsProp` object:
923
+
924
+ ### `value` (string, required)
925
+
926
+ Value of the language option
927
+
928
+ ### `label` (string, required)
929
+
930
+ Label of the language option