@pie-element/placement-ordering 14.1.2-next.5 → 14.1.3

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 +1312 -0
  2. package/CHANGELOG.md +2444 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +57 -0
  5. package/configure/CHANGELOG.json +952 -0
  6. package/configure/CHANGELOG.md +2139 -0
  7. package/configure/lib/choice-editor.js +252 -0
  8. package/configure/lib/choice-editor.js.map +1 -0
  9. package/configure/lib/choice-tile.js +205 -0
  10. package/configure/lib/choice-tile.js.map +1 -0
  11. package/configure/lib/defaults.js +211 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/design.js +427 -0
  14. package/configure/lib/design.js.map +1 -0
  15. package/configure/lib/help.js +14 -0
  16. package/configure/lib/help.js.map +1 -0
  17. package/configure/lib/index.js +155 -0
  18. package/configure/lib/index.js.map +1 -0
  19. package/configure/lib/utils.js +108 -0
  20. package/configure/lib/utils.js.map +1 -0
  21. package/configure/package.json +26 -0
  22. package/controller/CHANGELOG.json +517 -0
  23. package/controller/CHANGELOG.md +1518 -0
  24. package/controller/lib/defaults.js +29 -0
  25. package/controller/lib/defaults.js.map +1 -0
  26. package/controller/lib/index.js +285 -0
  27. package/controller/lib/index.js.map +1 -0
  28. package/controller/lib/scoring.js +109 -0
  29. package/controller/lib/scoring.js.map +1 -0
  30. package/controller/package.json +15 -0
  31. package/docs/config-schema.json +2964 -0
  32. package/docs/config-schema.json.md +2190 -0
  33. package/docs/demo/config.js +8 -0
  34. package/docs/demo/generate.js +50 -0
  35. package/docs/demo/index.html +1 -0
  36. package/docs/demo/session.js +7 -0
  37. package/docs/pie-schema.json +1613 -0
  38. package/docs/pie-schema.json.md +973 -0
  39. package/icon.png +0 -0
  40. package/lib/index.js +122 -0
  41. package/lib/index.js.map +1 -0
  42. package/lib/main.js +32 -0
  43. package/lib/main.js.map +1 -0
  44. package/lib/ordering.js +165 -0
  45. package/lib/ordering.js.map +1 -0
  46. package/lib/placement-ordering.js +419 -0
  47. package/lib/placement-ordering.js.map +1 -0
  48. package/lib/tile.js +259 -0
  49. package/lib/tile.js.map +1 -0
  50. package/lib/tiler.js +165 -0
  51. package/lib/tiler.js.map +1 -0
  52. package/lib/utils.js +18 -0
  53. package/lib/utils.js.map +1 -0
  54. package/package.json +21 -88
  55. package/configure.js +0 -2
  56. package/controller.js +0 -1
  57. package/dist/author/choice-editor.d.ts +0 -39
  58. package/dist/author/choice-editor.js +0 -156
  59. package/dist/author/choice-tile.d.ts +0 -40
  60. package/dist/author/choice-tile.js +0 -132
  61. package/dist/author/defaults.d.ts +0 -213
  62. package/dist/author/defaults.js +0 -159
  63. package/dist/author/design.d.ts +0 -21
  64. package/dist/author/design.js +0 -273
  65. package/dist/author/help.d.ts +0 -11
  66. package/dist/author/index.d.ts +0 -45
  67. package/dist/author/index.js +0 -85
  68. package/dist/author/utils.d.ts +0 -15
  69. package/dist/author/utils.js +0 -62
  70. package/dist/browser/author/index.js +0 -46600
  71. package/dist/browser/author/index.js.map +0 -1
  72. package/dist/browser/browser-DHPggtaA.js +0 -376
  73. package/dist/browser/browser-DHPggtaA.js.map +0 -1
  74. package/dist/browser/controller/index.js +0 -242
  75. package/dist/browser/controller/index.js.map +0 -1
  76. package/dist/browser/delivery/index.js +0 -1035
  77. package/dist/browser/delivery/index.js.map +0 -1
  78. package/dist/browser/dist-D9ARZhQk.js +0 -1426
  79. package/dist/browser/dist-D9ARZhQk.js.map +0 -1
  80. package/dist/browser/drag-provider-C1slTlsc.js +0 -10555
  81. package/dist/browser/drag-provider-C1slTlsc.js.map +0 -1
  82. package/dist/browser/placement-ordering.css +0 -2
  83. package/dist/controller/defaults.d.ts +0 -31
  84. package/dist/controller/defaults.js +0 -25
  85. package/dist/controller/index.d.ts +0 -29
  86. package/dist/controller/index.js +0 -123
  87. package/dist/controller/scoring.d.ts +0 -27
  88. package/dist/controller/scoring.js +0 -30
  89. package/dist/delivery/index.d.ts +0 -26
  90. package/dist/delivery/index.js +0 -70
  91. package/dist/delivery/main.d.ts +0 -19
  92. package/dist/delivery/main.js +0 -22
  93. package/dist/delivery/ordering.d.ts +0 -18
  94. package/dist/delivery/ordering.js +0 -93
  95. package/dist/delivery/placement-ordering.d.ts +0 -28
  96. package/dist/delivery/placement-ordering.js +0 -213
  97. package/dist/delivery/tile.d.ts +0 -28
  98. package/dist/delivery/tile.js +0 -165
  99. package/dist/delivery/tiler.d.ts +0 -42
  100. package/dist/delivery/tiler.js +0 -89
  101. package/dist/delivery/utils.d.ts +0 -9
  102. package/dist/delivery/utils.js +0 -8
  103. package/dist/index.d.ts +0 -1
  104. package/dist/index.iife.d.ts +0 -8
  105. package/dist/index.iife.js +0 -152
  106. package/dist/index.js +0 -2
  107. package/dist/runtime-support.d.ts +0 -12
  108. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,2964 @@
1
+ {
2
+ "description": "Config Object for @pie-elements/placement-ordering",
3
+ "additionalProperties": false,
4
+ "type": "object",
5
+ "properties": {
6
+ "baseInputConfiguration": {
7
+ "title": "EditableHtmlConfigureProp",
8
+ "type": "object",
9
+ "properties": {
10
+ "math": {
11
+ "title": "EditableHtmlButtonConfigure",
12
+ "type": "object",
13
+ "properties": {
14
+ "disabled": {
15
+ "description": "Indicates if the plugin is disabled or not",
16
+ "type": "boolean",
17
+ "title": "disabled"
18
+ }
19
+ }
20
+ },
21
+ "audio": {
22
+ "title": "EditableHtmlButtonConfigure",
23
+ "type": "object",
24
+ "properties": {
25
+ "disabled": {
26
+ "description": "Indicates if the plugin is disabled or not",
27
+ "type": "boolean",
28
+ "title": "disabled"
29
+ }
30
+ }
31
+ },
32
+ "video": {
33
+ "title": "EditableHtmlButtonConfigure",
34
+ "type": "object",
35
+ "properties": {
36
+ "disabled": {
37
+ "description": "Indicates if the plugin is disabled or not",
38
+ "type": "boolean",
39
+ "title": "disabled"
40
+ }
41
+ }
42
+ },
43
+ "image": {
44
+ "title": "EditableHtmlButtonConfigure",
45
+ "type": "object",
46
+ "properties": {
47
+ "disabled": {
48
+ "description": "Indicates if the plugin is disabled or not",
49
+ "type": "boolean",
50
+ "title": "disabled"
51
+ }
52
+ }
53
+ },
54
+ "customPlugins": {
55
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
56
+ "type": "array",
57
+ "items": {
58
+ "title": "CustomPlugin",
59
+ "type": "object",
60
+ "properties": {
61
+ "event": {
62
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
63
+ "type": "string",
64
+ "title": "event"
65
+ },
66
+ "iconAlt": {
67
+ "description": "The alt for the custom button icon",
68
+ "type": "string",
69
+ "title": "iconAlt"
70
+ },
71
+ "iconType": {
72
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
73
+ "type": "string",
74
+ "title": "iconType"
75
+ },
76
+ "icon": {
77
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
78
+ "type": "string",
79
+ "title": "icon"
80
+ }
81
+ },
82
+ "required": [
83
+ "event",
84
+ "icon",
85
+ "iconAlt",
86
+ "iconType"
87
+ ]
88
+ },
89
+ "title": "customPlugins"
90
+ },
91
+ "blockquote": {
92
+ "title": "EditableHtmlButtonConfigure",
93
+ "type": "object",
94
+ "properties": {
95
+ "disabled": {
96
+ "description": "Indicates if the plugin is disabled or not",
97
+ "type": "boolean",
98
+ "title": "disabled"
99
+ }
100
+ }
101
+ },
102
+ "h3": {
103
+ "title": "EditableHtmlButtonConfigure",
104
+ "type": "object",
105
+ "properties": {
106
+ "disabled": {
107
+ "description": "Indicates if the plugin is disabled or not",
108
+ "type": "boolean",
109
+ "title": "disabled"
110
+ }
111
+ }
112
+ },
113
+ "characters": {
114
+ "title": "EditableHtmlButtonConfigure",
115
+ "type": "object",
116
+ "properties": {
117
+ "disabled": {
118
+ "description": "Indicates if the plugin is disabled or not",
119
+ "type": "boolean",
120
+ "title": "disabled"
121
+ }
122
+ }
123
+ },
124
+ "bold": {
125
+ "title": "EditableHtmlButtonConfigure",
126
+ "type": "object",
127
+ "properties": {
128
+ "disabled": {
129
+ "description": "Indicates if the plugin is disabled or not",
130
+ "type": "boolean",
131
+ "title": "disabled"
132
+ }
133
+ }
134
+ },
135
+ "html": {
136
+ "title": "EditableHtmlButtonConfigure",
137
+ "type": "object",
138
+ "properties": {
139
+ "disabled": {
140
+ "description": "Indicates if the plugin is disabled or not",
141
+ "type": "boolean",
142
+ "title": "disabled"
143
+ }
144
+ }
145
+ },
146
+ "italic": {
147
+ "title": "EditableHtmlButtonConfigure",
148
+ "type": "object",
149
+ "properties": {
150
+ "disabled": {
151
+ "description": "Indicates if the plugin is disabled or not",
152
+ "type": "boolean",
153
+ "title": "disabled"
154
+ }
155
+ }
156
+ },
157
+ "ol_list": {
158
+ "title": "EditableHtmlButtonConfigure",
159
+ "type": "object",
160
+ "properties": {
161
+ "disabled": {
162
+ "description": "Indicates if the plugin is disabled or not",
163
+ "type": "boolean",
164
+ "title": "disabled"
165
+ }
166
+ }
167
+ },
168
+ "redo": {
169
+ "title": "EditableHtmlButtonConfigure",
170
+ "type": "object",
171
+ "properties": {
172
+ "disabled": {
173
+ "description": "Indicates if the plugin is disabled or not",
174
+ "type": "boolean",
175
+ "title": "disabled"
176
+ }
177
+ }
178
+ },
179
+ "strikethrough": {
180
+ "title": "EditableHtmlButtonConfigure",
181
+ "type": "object",
182
+ "properties": {
183
+ "disabled": {
184
+ "description": "Indicates if the plugin is disabled or not",
185
+ "type": "boolean",
186
+ "title": "disabled"
187
+ }
188
+ }
189
+ },
190
+ "sub": {
191
+ "title": "EditableHtmlButtonConfigure",
192
+ "type": "object",
193
+ "properties": {
194
+ "disabled": {
195
+ "description": "Indicates if the plugin is disabled or not",
196
+ "type": "boolean",
197
+ "title": "disabled"
198
+ }
199
+ }
200
+ },
201
+ "sup": {
202
+ "title": "EditableHtmlButtonConfigure",
203
+ "type": "object",
204
+ "properties": {
205
+ "disabled": {
206
+ "description": "Indicates if the plugin is disabled or not",
207
+ "type": "boolean",
208
+ "title": "disabled"
209
+ }
210
+ }
211
+ },
212
+ "table": {
213
+ "title": "EditableHtmlButtonConfigure",
214
+ "type": "object",
215
+ "properties": {
216
+ "disabled": {
217
+ "description": "Indicates if the plugin is disabled or not",
218
+ "type": "boolean",
219
+ "title": "disabled"
220
+ }
221
+ }
222
+ },
223
+ "ul_list": {
224
+ "title": "EditableHtmlButtonConfigure",
225
+ "type": "object",
226
+ "properties": {
227
+ "disabled": {
228
+ "description": "Indicates if the plugin is disabled or not",
229
+ "type": "boolean",
230
+ "title": "disabled"
231
+ }
232
+ }
233
+ },
234
+ "underline": {
235
+ "title": "EditableHtmlButtonConfigure",
236
+ "type": "object",
237
+ "properties": {
238
+ "disabled": {
239
+ "description": "Indicates if the plugin is disabled or not",
240
+ "type": "boolean",
241
+ "title": "disabled"
242
+ }
243
+ }
244
+ },
245
+ "undo": {
246
+ "title": "EditableHtmlButtonConfigure",
247
+ "type": "object",
248
+ "properties": {
249
+ "disabled": {
250
+ "description": "Indicates if the plugin is disabled or not",
251
+ "type": "boolean",
252
+ "title": "disabled"
253
+ }
254
+ }
255
+ }
256
+ }
257
+ },
258
+ "choiceLabel": {
259
+ "title": "EditableHtmlPluginConfigure",
260
+ "type": "object",
261
+ "properties": {
262
+ "inputConfiguration": {
263
+ "title": "EditableHtmlConfigureProp",
264
+ "type": "object",
265
+ "properties": {
266
+ "math": {
267
+ "title": "EditableHtmlButtonConfigure",
268
+ "type": "object",
269
+ "properties": {
270
+ "disabled": {
271
+ "description": "Indicates if the plugin is disabled or not",
272
+ "type": "boolean",
273
+ "title": "disabled"
274
+ }
275
+ }
276
+ },
277
+ "audio": {
278
+ "title": "EditableHtmlButtonConfigure",
279
+ "type": "object",
280
+ "properties": {
281
+ "disabled": {
282
+ "description": "Indicates if the plugin is disabled or not",
283
+ "type": "boolean",
284
+ "title": "disabled"
285
+ }
286
+ }
287
+ },
288
+ "video": {
289
+ "title": "EditableHtmlButtonConfigure",
290
+ "type": "object",
291
+ "properties": {
292
+ "disabled": {
293
+ "description": "Indicates if the plugin is disabled or not",
294
+ "type": "boolean",
295
+ "title": "disabled"
296
+ }
297
+ }
298
+ },
299
+ "image": {
300
+ "title": "EditableHtmlButtonConfigure",
301
+ "type": "object",
302
+ "properties": {
303
+ "disabled": {
304
+ "description": "Indicates if the plugin is disabled or not",
305
+ "type": "boolean",
306
+ "title": "disabled"
307
+ }
308
+ }
309
+ },
310
+ "customPlugins": {
311
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
312
+ "type": "array",
313
+ "items": {
314
+ "title": "CustomPlugin",
315
+ "type": "object",
316
+ "properties": {
317
+ "event": {
318
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
319
+ "type": "string",
320
+ "title": "event"
321
+ },
322
+ "iconAlt": {
323
+ "description": "The alt for the custom button icon",
324
+ "type": "string",
325
+ "title": "iconAlt"
326
+ },
327
+ "iconType": {
328
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
329
+ "type": "string",
330
+ "title": "iconType"
331
+ },
332
+ "icon": {
333
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
334
+ "type": "string",
335
+ "title": "icon"
336
+ }
337
+ },
338
+ "required": [
339
+ "event",
340
+ "icon",
341
+ "iconAlt",
342
+ "iconType"
343
+ ]
344
+ },
345
+ "title": "customPlugins"
346
+ },
347
+ "blockquote": {
348
+ "title": "EditableHtmlButtonConfigure",
349
+ "type": "object",
350
+ "properties": {
351
+ "disabled": {
352
+ "description": "Indicates if the plugin is disabled or not",
353
+ "type": "boolean",
354
+ "title": "disabled"
355
+ }
356
+ }
357
+ },
358
+ "h3": {
359
+ "title": "EditableHtmlButtonConfigure",
360
+ "type": "object",
361
+ "properties": {
362
+ "disabled": {
363
+ "description": "Indicates if the plugin is disabled or not",
364
+ "type": "boolean",
365
+ "title": "disabled"
366
+ }
367
+ }
368
+ },
369
+ "characters": {
370
+ "title": "EditableHtmlButtonConfigure",
371
+ "type": "object",
372
+ "properties": {
373
+ "disabled": {
374
+ "description": "Indicates if the plugin is disabled or not",
375
+ "type": "boolean",
376
+ "title": "disabled"
377
+ }
378
+ }
379
+ },
380
+ "bold": {
381
+ "title": "EditableHtmlButtonConfigure",
382
+ "type": "object",
383
+ "properties": {
384
+ "disabled": {
385
+ "description": "Indicates if the plugin is disabled or not",
386
+ "type": "boolean",
387
+ "title": "disabled"
388
+ }
389
+ }
390
+ },
391
+ "html": {
392
+ "title": "EditableHtmlButtonConfigure",
393
+ "type": "object",
394
+ "properties": {
395
+ "disabled": {
396
+ "description": "Indicates if the plugin is disabled or not",
397
+ "type": "boolean",
398
+ "title": "disabled"
399
+ }
400
+ }
401
+ },
402
+ "italic": {
403
+ "title": "EditableHtmlButtonConfigure",
404
+ "type": "object",
405
+ "properties": {
406
+ "disabled": {
407
+ "description": "Indicates if the plugin is disabled or not",
408
+ "type": "boolean",
409
+ "title": "disabled"
410
+ }
411
+ }
412
+ },
413
+ "ol_list": {
414
+ "title": "EditableHtmlButtonConfigure",
415
+ "type": "object",
416
+ "properties": {
417
+ "disabled": {
418
+ "description": "Indicates if the plugin is disabled or not",
419
+ "type": "boolean",
420
+ "title": "disabled"
421
+ }
422
+ }
423
+ },
424
+ "redo": {
425
+ "title": "EditableHtmlButtonConfigure",
426
+ "type": "object",
427
+ "properties": {
428
+ "disabled": {
429
+ "description": "Indicates if the plugin is disabled or not",
430
+ "type": "boolean",
431
+ "title": "disabled"
432
+ }
433
+ }
434
+ },
435
+ "strikethrough": {
436
+ "title": "EditableHtmlButtonConfigure",
437
+ "type": "object",
438
+ "properties": {
439
+ "disabled": {
440
+ "description": "Indicates if the plugin is disabled or not",
441
+ "type": "boolean",
442
+ "title": "disabled"
443
+ }
444
+ }
445
+ },
446
+ "sub": {
447
+ "title": "EditableHtmlButtonConfigure",
448
+ "type": "object",
449
+ "properties": {
450
+ "disabled": {
451
+ "description": "Indicates if the plugin is disabled or not",
452
+ "type": "boolean",
453
+ "title": "disabled"
454
+ }
455
+ }
456
+ },
457
+ "sup": {
458
+ "title": "EditableHtmlButtonConfigure",
459
+ "type": "object",
460
+ "properties": {
461
+ "disabled": {
462
+ "description": "Indicates if the plugin is disabled or not",
463
+ "type": "boolean",
464
+ "title": "disabled"
465
+ }
466
+ }
467
+ },
468
+ "table": {
469
+ "title": "EditableHtmlButtonConfigure",
470
+ "type": "object",
471
+ "properties": {
472
+ "disabled": {
473
+ "description": "Indicates if the plugin is disabled or not",
474
+ "type": "boolean",
475
+ "title": "disabled"
476
+ }
477
+ }
478
+ },
479
+ "ul_list": {
480
+ "title": "EditableHtmlButtonConfigure",
481
+ "type": "object",
482
+ "properties": {
483
+ "disabled": {
484
+ "description": "Indicates if the plugin is disabled or not",
485
+ "type": "boolean",
486
+ "title": "disabled"
487
+ }
488
+ }
489
+ },
490
+ "underline": {
491
+ "title": "EditableHtmlButtonConfigure",
492
+ "type": "object",
493
+ "properties": {
494
+ "disabled": {
495
+ "description": "Indicates if the plugin is disabled or not",
496
+ "type": "boolean",
497
+ "title": "disabled"
498
+ }
499
+ }
500
+ },
501
+ "undo": {
502
+ "title": "EditableHtmlButtonConfigure",
503
+ "type": "object",
504
+ "properties": {
505
+ "disabled": {
506
+ "description": "Indicates if the plugin is disabled or not",
507
+ "type": "boolean",
508
+ "title": "disabled"
509
+ }
510
+ }
511
+ }
512
+ }
513
+ },
514
+ "settings": {
515
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
516
+ "type": "boolean",
517
+ "title": "settings"
518
+ },
519
+ "label": {
520
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
521
+ "type": "string",
522
+ "title": "label"
523
+ }
524
+ }
525
+ },
526
+ "choices": {
527
+ "title": "EditableHtmlPluginConfigure",
528
+ "type": "object",
529
+ "properties": {
530
+ "inputConfiguration": {
531
+ "title": "EditableHtmlConfigureProp",
532
+ "type": "object",
533
+ "properties": {
534
+ "math": {
535
+ "title": "EditableHtmlButtonConfigure",
536
+ "type": "object",
537
+ "properties": {
538
+ "disabled": {
539
+ "description": "Indicates if the plugin is disabled or not",
540
+ "type": "boolean",
541
+ "title": "disabled"
542
+ }
543
+ }
544
+ },
545
+ "audio": {
546
+ "title": "EditableHtmlButtonConfigure",
547
+ "type": "object",
548
+ "properties": {
549
+ "disabled": {
550
+ "description": "Indicates if the plugin is disabled or not",
551
+ "type": "boolean",
552
+ "title": "disabled"
553
+ }
554
+ }
555
+ },
556
+ "video": {
557
+ "title": "EditableHtmlButtonConfigure",
558
+ "type": "object",
559
+ "properties": {
560
+ "disabled": {
561
+ "description": "Indicates if the plugin is disabled or not",
562
+ "type": "boolean",
563
+ "title": "disabled"
564
+ }
565
+ }
566
+ },
567
+ "image": {
568
+ "title": "EditableHtmlButtonConfigure",
569
+ "type": "object",
570
+ "properties": {
571
+ "disabled": {
572
+ "description": "Indicates if the plugin is disabled or not",
573
+ "type": "boolean",
574
+ "title": "disabled"
575
+ }
576
+ }
577
+ },
578
+ "customPlugins": {
579
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
580
+ "type": "array",
581
+ "items": {
582
+ "title": "CustomPlugin",
583
+ "type": "object",
584
+ "properties": {
585
+ "event": {
586
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
587
+ "type": "string",
588
+ "title": "event"
589
+ },
590
+ "iconAlt": {
591
+ "description": "The alt for the custom button icon",
592
+ "type": "string",
593
+ "title": "iconAlt"
594
+ },
595
+ "iconType": {
596
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
597
+ "type": "string",
598
+ "title": "iconType"
599
+ },
600
+ "icon": {
601
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
602
+ "type": "string",
603
+ "title": "icon"
604
+ }
605
+ },
606
+ "required": [
607
+ "event",
608
+ "icon",
609
+ "iconAlt",
610
+ "iconType"
611
+ ]
612
+ },
613
+ "title": "customPlugins"
614
+ },
615
+ "blockquote": {
616
+ "title": "EditableHtmlButtonConfigure",
617
+ "type": "object",
618
+ "properties": {
619
+ "disabled": {
620
+ "description": "Indicates if the plugin is disabled or not",
621
+ "type": "boolean",
622
+ "title": "disabled"
623
+ }
624
+ }
625
+ },
626
+ "h3": {
627
+ "title": "EditableHtmlButtonConfigure",
628
+ "type": "object",
629
+ "properties": {
630
+ "disabled": {
631
+ "description": "Indicates if the plugin is disabled or not",
632
+ "type": "boolean",
633
+ "title": "disabled"
634
+ }
635
+ }
636
+ },
637
+ "characters": {
638
+ "title": "EditableHtmlButtonConfigure",
639
+ "type": "object",
640
+ "properties": {
641
+ "disabled": {
642
+ "description": "Indicates if the plugin is disabled or not",
643
+ "type": "boolean",
644
+ "title": "disabled"
645
+ }
646
+ }
647
+ },
648
+ "bold": {
649
+ "title": "EditableHtmlButtonConfigure",
650
+ "type": "object",
651
+ "properties": {
652
+ "disabled": {
653
+ "description": "Indicates if the plugin is disabled or not",
654
+ "type": "boolean",
655
+ "title": "disabled"
656
+ }
657
+ }
658
+ },
659
+ "html": {
660
+ "title": "EditableHtmlButtonConfigure",
661
+ "type": "object",
662
+ "properties": {
663
+ "disabled": {
664
+ "description": "Indicates if the plugin is disabled or not",
665
+ "type": "boolean",
666
+ "title": "disabled"
667
+ }
668
+ }
669
+ },
670
+ "italic": {
671
+ "title": "EditableHtmlButtonConfigure",
672
+ "type": "object",
673
+ "properties": {
674
+ "disabled": {
675
+ "description": "Indicates if the plugin is disabled or not",
676
+ "type": "boolean",
677
+ "title": "disabled"
678
+ }
679
+ }
680
+ },
681
+ "ol_list": {
682
+ "title": "EditableHtmlButtonConfigure",
683
+ "type": "object",
684
+ "properties": {
685
+ "disabled": {
686
+ "description": "Indicates if the plugin is disabled or not",
687
+ "type": "boolean",
688
+ "title": "disabled"
689
+ }
690
+ }
691
+ },
692
+ "redo": {
693
+ "title": "EditableHtmlButtonConfigure",
694
+ "type": "object",
695
+ "properties": {
696
+ "disabled": {
697
+ "description": "Indicates if the plugin is disabled or not",
698
+ "type": "boolean",
699
+ "title": "disabled"
700
+ }
701
+ }
702
+ },
703
+ "strikethrough": {
704
+ "title": "EditableHtmlButtonConfigure",
705
+ "type": "object",
706
+ "properties": {
707
+ "disabled": {
708
+ "description": "Indicates if the plugin is disabled or not",
709
+ "type": "boolean",
710
+ "title": "disabled"
711
+ }
712
+ }
713
+ },
714
+ "sub": {
715
+ "title": "EditableHtmlButtonConfigure",
716
+ "type": "object",
717
+ "properties": {
718
+ "disabled": {
719
+ "description": "Indicates if the plugin is disabled or not",
720
+ "type": "boolean",
721
+ "title": "disabled"
722
+ }
723
+ }
724
+ },
725
+ "sup": {
726
+ "title": "EditableHtmlButtonConfigure",
727
+ "type": "object",
728
+ "properties": {
729
+ "disabled": {
730
+ "description": "Indicates if the plugin is disabled or not",
731
+ "type": "boolean",
732
+ "title": "disabled"
733
+ }
734
+ }
735
+ },
736
+ "table": {
737
+ "title": "EditableHtmlButtonConfigure",
738
+ "type": "object",
739
+ "properties": {
740
+ "disabled": {
741
+ "description": "Indicates if the plugin is disabled or not",
742
+ "type": "boolean",
743
+ "title": "disabled"
744
+ }
745
+ }
746
+ },
747
+ "ul_list": {
748
+ "title": "EditableHtmlButtonConfigure",
749
+ "type": "object",
750
+ "properties": {
751
+ "disabled": {
752
+ "description": "Indicates if the plugin is disabled or not",
753
+ "type": "boolean",
754
+ "title": "disabled"
755
+ }
756
+ }
757
+ },
758
+ "underline": {
759
+ "title": "EditableHtmlButtonConfigure",
760
+ "type": "object",
761
+ "properties": {
762
+ "disabled": {
763
+ "description": "Indicates if the plugin is disabled or not",
764
+ "type": "boolean",
765
+ "title": "disabled"
766
+ }
767
+ }
768
+ },
769
+ "undo": {
770
+ "title": "EditableHtmlButtonConfigure",
771
+ "type": "object",
772
+ "properties": {
773
+ "disabled": {
774
+ "description": "Indicates if the plugin is disabled or not",
775
+ "type": "boolean",
776
+ "title": "disabled"
777
+ }
778
+ }
779
+ }
780
+ }
781
+ },
782
+ "settings": {
783
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
784
+ "type": "boolean",
785
+ "title": "settings"
786
+ },
787
+ "label": {
788
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
789
+ "type": "string",
790
+ "title": "label"
791
+ }
792
+ }
793
+ },
794
+ "feedback": {
795
+ "title": "ConfigureProp",
796
+ "type": "object",
797
+ "properties": {
798
+ "settings": {
799
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
800
+ "type": "boolean",
801
+ "title": "settings"
802
+ },
803
+ "label": {
804
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
805
+ "type": "string",
806
+ "title": "label"
807
+ }
808
+ }
809
+ },
810
+ "prompt": {
811
+ "title": "EditableHtmlPluginConfigure",
812
+ "type": "object",
813
+ "properties": {
814
+ "inputConfiguration": {
815
+ "title": "EditableHtmlConfigureProp",
816
+ "type": "object",
817
+ "properties": {
818
+ "math": {
819
+ "title": "EditableHtmlButtonConfigure",
820
+ "type": "object",
821
+ "properties": {
822
+ "disabled": {
823
+ "description": "Indicates if the plugin is disabled or not",
824
+ "type": "boolean",
825
+ "title": "disabled"
826
+ }
827
+ }
828
+ },
829
+ "audio": {
830
+ "title": "EditableHtmlButtonConfigure",
831
+ "type": "object",
832
+ "properties": {
833
+ "disabled": {
834
+ "description": "Indicates if the plugin is disabled or not",
835
+ "type": "boolean",
836
+ "title": "disabled"
837
+ }
838
+ }
839
+ },
840
+ "video": {
841
+ "title": "EditableHtmlButtonConfigure",
842
+ "type": "object",
843
+ "properties": {
844
+ "disabled": {
845
+ "description": "Indicates if the plugin is disabled or not",
846
+ "type": "boolean",
847
+ "title": "disabled"
848
+ }
849
+ }
850
+ },
851
+ "image": {
852
+ "title": "EditableHtmlButtonConfigure",
853
+ "type": "object",
854
+ "properties": {
855
+ "disabled": {
856
+ "description": "Indicates if the plugin is disabled or not",
857
+ "type": "boolean",
858
+ "title": "disabled"
859
+ }
860
+ }
861
+ },
862
+ "customPlugins": {
863
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
864
+ "type": "array",
865
+ "items": {
866
+ "title": "CustomPlugin",
867
+ "type": "object",
868
+ "properties": {
869
+ "event": {
870
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
871
+ "type": "string",
872
+ "title": "event"
873
+ },
874
+ "iconAlt": {
875
+ "description": "The alt for the custom button icon",
876
+ "type": "string",
877
+ "title": "iconAlt"
878
+ },
879
+ "iconType": {
880
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
881
+ "type": "string",
882
+ "title": "iconType"
883
+ },
884
+ "icon": {
885
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
886
+ "type": "string",
887
+ "title": "icon"
888
+ }
889
+ },
890
+ "required": [
891
+ "event",
892
+ "icon",
893
+ "iconAlt",
894
+ "iconType"
895
+ ]
896
+ },
897
+ "title": "customPlugins"
898
+ },
899
+ "blockquote": {
900
+ "title": "EditableHtmlButtonConfigure",
901
+ "type": "object",
902
+ "properties": {
903
+ "disabled": {
904
+ "description": "Indicates if the plugin is disabled or not",
905
+ "type": "boolean",
906
+ "title": "disabled"
907
+ }
908
+ }
909
+ },
910
+ "h3": {
911
+ "title": "EditableHtmlButtonConfigure",
912
+ "type": "object",
913
+ "properties": {
914
+ "disabled": {
915
+ "description": "Indicates if the plugin is disabled or not",
916
+ "type": "boolean",
917
+ "title": "disabled"
918
+ }
919
+ }
920
+ },
921
+ "characters": {
922
+ "title": "EditableHtmlButtonConfigure",
923
+ "type": "object",
924
+ "properties": {
925
+ "disabled": {
926
+ "description": "Indicates if the plugin is disabled or not",
927
+ "type": "boolean",
928
+ "title": "disabled"
929
+ }
930
+ }
931
+ },
932
+ "bold": {
933
+ "title": "EditableHtmlButtonConfigure",
934
+ "type": "object",
935
+ "properties": {
936
+ "disabled": {
937
+ "description": "Indicates if the plugin is disabled or not",
938
+ "type": "boolean",
939
+ "title": "disabled"
940
+ }
941
+ }
942
+ },
943
+ "html": {
944
+ "title": "EditableHtmlButtonConfigure",
945
+ "type": "object",
946
+ "properties": {
947
+ "disabled": {
948
+ "description": "Indicates if the plugin is disabled or not",
949
+ "type": "boolean",
950
+ "title": "disabled"
951
+ }
952
+ }
953
+ },
954
+ "italic": {
955
+ "title": "EditableHtmlButtonConfigure",
956
+ "type": "object",
957
+ "properties": {
958
+ "disabled": {
959
+ "description": "Indicates if the plugin is disabled or not",
960
+ "type": "boolean",
961
+ "title": "disabled"
962
+ }
963
+ }
964
+ },
965
+ "ol_list": {
966
+ "title": "EditableHtmlButtonConfigure",
967
+ "type": "object",
968
+ "properties": {
969
+ "disabled": {
970
+ "description": "Indicates if the plugin is disabled or not",
971
+ "type": "boolean",
972
+ "title": "disabled"
973
+ }
974
+ }
975
+ },
976
+ "redo": {
977
+ "title": "EditableHtmlButtonConfigure",
978
+ "type": "object",
979
+ "properties": {
980
+ "disabled": {
981
+ "description": "Indicates if the plugin is disabled or not",
982
+ "type": "boolean",
983
+ "title": "disabled"
984
+ }
985
+ }
986
+ },
987
+ "strikethrough": {
988
+ "title": "EditableHtmlButtonConfigure",
989
+ "type": "object",
990
+ "properties": {
991
+ "disabled": {
992
+ "description": "Indicates if the plugin is disabled or not",
993
+ "type": "boolean",
994
+ "title": "disabled"
995
+ }
996
+ }
997
+ },
998
+ "sub": {
999
+ "title": "EditableHtmlButtonConfigure",
1000
+ "type": "object",
1001
+ "properties": {
1002
+ "disabled": {
1003
+ "description": "Indicates if the plugin is disabled or not",
1004
+ "type": "boolean",
1005
+ "title": "disabled"
1006
+ }
1007
+ }
1008
+ },
1009
+ "sup": {
1010
+ "title": "EditableHtmlButtonConfigure",
1011
+ "type": "object",
1012
+ "properties": {
1013
+ "disabled": {
1014
+ "description": "Indicates if the plugin is disabled or not",
1015
+ "type": "boolean",
1016
+ "title": "disabled"
1017
+ }
1018
+ }
1019
+ },
1020
+ "table": {
1021
+ "title": "EditableHtmlButtonConfigure",
1022
+ "type": "object",
1023
+ "properties": {
1024
+ "disabled": {
1025
+ "description": "Indicates if the plugin is disabled or not",
1026
+ "type": "boolean",
1027
+ "title": "disabled"
1028
+ }
1029
+ }
1030
+ },
1031
+ "ul_list": {
1032
+ "title": "EditableHtmlButtonConfigure",
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "disabled": {
1036
+ "description": "Indicates if the plugin is disabled or not",
1037
+ "type": "boolean",
1038
+ "title": "disabled"
1039
+ }
1040
+ }
1041
+ },
1042
+ "underline": {
1043
+ "title": "EditableHtmlButtonConfigure",
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "disabled": {
1047
+ "description": "Indicates if the plugin is disabled or not",
1048
+ "type": "boolean",
1049
+ "title": "disabled"
1050
+ }
1051
+ }
1052
+ },
1053
+ "undo": {
1054
+ "title": "EditableHtmlButtonConfigure",
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "disabled": {
1058
+ "description": "Indicates if the plugin is disabled or not",
1059
+ "type": "boolean",
1060
+ "title": "disabled"
1061
+ }
1062
+ }
1063
+ }
1064
+ }
1065
+ },
1066
+ "settings": {
1067
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1068
+ "type": "boolean",
1069
+ "title": "settings"
1070
+ },
1071
+ "label": {
1072
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1073
+ "type": "string",
1074
+ "title": "label"
1075
+ }
1076
+ }
1077
+ },
1078
+ "lockChoiceOrder": {
1079
+ "title": "ConfigureProp",
1080
+ "type": "object",
1081
+ "properties": {
1082
+ "settings": {
1083
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1084
+ "type": "boolean",
1085
+ "title": "settings"
1086
+ },
1087
+ "label": {
1088
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1089
+ "type": "string",
1090
+ "title": "label"
1091
+ }
1092
+ }
1093
+ },
1094
+ "numberedGuides": {
1095
+ "title": "ConfigureProp",
1096
+ "type": "object",
1097
+ "properties": {
1098
+ "settings": {
1099
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1100
+ "type": "boolean",
1101
+ "title": "settings"
1102
+ },
1103
+ "label": {
1104
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1105
+ "type": "string",
1106
+ "title": "label"
1107
+ }
1108
+ }
1109
+ },
1110
+ "orientation": {
1111
+ "title": "ConfigureProp",
1112
+ "type": "object",
1113
+ "properties": {
1114
+ "settings": {
1115
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1116
+ "type": "boolean",
1117
+ "title": "settings"
1118
+ },
1119
+ "label": {
1120
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1121
+ "type": "string",
1122
+ "title": "label"
1123
+ }
1124
+ }
1125
+ },
1126
+ "partialScoring": {
1127
+ "title": "ConfigureProp",
1128
+ "type": "object",
1129
+ "properties": {
1130
+ "settings": {
1131
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1132
+ "type": "boolean",
1133
+ "title": "settings"
1134
+ },
1135
+ "label": {
1136
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1137
+ "type": "string",
1138
+ "title": "label"
1139
+ }
1140
+ }
1141
+ },
1142
+ "placementArea": {
1143
+ "title": "ConfigureProp",
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "settings": {
1147
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1148
+ "type": "boolean",
1149
+ "title": "settings"
1150
+ },
1151
+ "label": {
1152
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1153
+ "type": "string",
1154
+ "title": "label"
1155
+ }
1156
+ }
1157
+ },
1158
+ "rationale": {
1159
+ "title": "EditableHtmlPluginConfigureRequired",
1160
+ "type": "object",
1161
+ "properties": {
1162
+ "inputConfiguration": {
1163
+ "title": "EditableHtmlConfigureProp",
1164
+ "type": "object",
1165
+ "properties": {
1166
+ "math": {
1167
+ "title": "EditableHtmlButtonConfigure",
1168
+ "type": "object",
1169
+ "properties": {
1170
+ "disabled": {
1171
+ "description": "Indicates if the plugin is disabled or not",
1172
+ "type": "boolean",
1173
+ "title": "disabled"
1174
+ }
1175
+ }
1176
+ },
1177
+ "audio": {
1178
+ "title": "EditableHtmlButtonConfigure",
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "disabled": {
1182
+ "description": "Indicates if the plugin is disabled or not",
1183
+ "type": "boolean",
1184
+ "title": "disabled"
1185
+ }
1186
+ }
1187
+ },
1188
+ "video": {
1189
+ "title": "EditableHtmlButtonConfigure",
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "disabled": {
1193
+ "description": "Indicates if the plugin is disabled or not",
1194
+ "type": "boolean",
1195
+ "title": "disabled"
1196
+ }
1197
+ }
1198
+ },
1199
+ "image": {
1200
+ "title": "EditableHtmlButtonConfigure",
1201
+ "type": "object",
1202
+ "properties": {
1203
+ "disabled": {
1204
+ "description": "Indicates if the plugin is disabled or not",
1205
+ "type": "boolean",
1206
+ "title": "disabled"
1207
+ }
1208
+ }
1209
+ },
1210
+ "customPlugins": {
1211
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1212
+ "type": "array",
1213
+ "items": {
1214
+ "title": "CustomPlugin",
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "event": {
1218
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1219
+ "type": "string",
1220
+ "title": "event"
1221
+ },
1222
+ "iconAlt": {
1223
+ "description": "The alt for the custom button icon",
1224
+ "type": "string",
1225
+ "title": "iconAlt"
1226
+ },
1227
+ "iconType": {
1228
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1229
+ "type": "string",
1230
+ "title": "iconType"
1231
+ },
1232
+ "icon": {
1233
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1234
+ "type": "string",
1235
+ "title": "icon"
1236
+ }
1237
+ },
1238
+ "required": [
1239
+ "event",
1240
+ "icon",
1241
+ "iconAlt",
1242
+ "iconType"
1243
+ ]
1244
+ },
1245
+ "title": "customPlugins"
1246
+ },
1247
+ "blockquote": {
1248
+ "title": "EditableHtmlButtonConfigure",
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "disabled": {
1252
+ "description": "Indicates if the plugin is disabled or not",
1253
+ "type": "boolean",
1254
+ "title": "disabled"
1255
+ }
1256
+ }
1257
+ },
1258
+ "h3": {
1259
+ "title": "EditableHtmlButtonConfigure",
1260
+ "type": "object",
1261
+ "properties": {
1262
+ "disabled": {
1263
+ "description": "Indicates if the plugin is disabled or not",
1264
+ "type": "boolean",
1265
+ "title": "disabled"
1266
+ }
1267
+ }
1268
+ },
1269
+ "characters": {
1270
+ "title": "EditableHtmlButtonConfigure",
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "disabled": {
1274
+ "description": "Indicates if the plugin is disabled or not",
1275
+ "type": "boolean",
1276
+ "title": "disabled"
1277
+ }
1278
+ }
1279
+ },
1280
+ "bold": {
1281
+ "title": "EditableHtmlButtonConfigure",
1282
+ "type": "object",
1283
+ "properties": {
1284
+ "disabled": {
1285
+ "description": "Indicates if the plugin is disabled or not",
1286
+ "type": "boolean",
1287
+ "title": "disabled"
1288
+ }
1289
+ }
1290
+ },
1291
+ "html": {
1292
+ "title": "EditableHtmlButtonConfigure",
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "disabled": {
1296
+ "description": "Indicates if the plugin is disabled or not",
1297
+ "type": "boolean",
1298
+ "title": "disabled"
1299
+ }
1300
+ }
1301
+ },
1302
+ "italic": {
1303
+ "title": "EditableHtmlButtonConfigure",
1304
+ "type": "object",
1305
+ "properties": {
1306
+ "disabled": {
1307
+ "description": "Indicates if the plugin is disabled or not",
1308
+ "type": "boolean",
1309
+ "title": "disabled"
1310
+ }
1311
+ }
1312
+ },
1313
+ "ol_list": {
1314
+ "title": "EditableHtmlButtonConfigure",
1315
+ "type": "object",
1316
+ "properties": {
1317
+ "disabled": {
1318
+ "description": "Indicates if the plugin is disabled or not",
1319
+ "type": "boolean",
1320
+ "title": "disabled"
1321
+ }
1322
+ }
1323
+ },
1324
+ "redo": {
1325
+ "title": "EditableHtmlButtonConfigure",
1326
+ "type": "object",
1327
+ "properties": {
1328
+ "disabled": {
1329
+ "description": "Indicates if the plugin is disabled or not",
1330
+ "type": "boolean",
1331
+ "title": "disabled"
1332
+ }
1333
+ }
1334
+ },
1335
+ "strikethrough": {
1336
+ "title": "EditableHtmlButtonConfigure",
1337
+ "type": "object",
1338
+ "properties": {
1339
+ "disabled": {
1340
+ "description": "Indicates if the plugin is disabled or not",
1341
+ "type": "boolean",
1342
+ "title": "disabled"
1343
+ }
1344
+ }
1345
+ },
1346
+ "sub": {
1347
+ "title": "EditableHtmlButtonConfigure",
1348
+ "type": "object",
1349
+ "properties": {
1350
+ "disabled": {
1351
+ "description": "Indicates if the plugin is disabled or not",
1352
+ "type": "boolean",
1353
+ "title": "disabled"
1354
+ }
1355
+ }
1356
+ },
1357
+ "sup": {
1358
+ "title": "EditableHtmlButtonConfigure",
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "disabled": {
1362
+ "description": "Indicates if the plugin is disabled or not",
1363
+ "type": "boolean",
1364
+ "title": "disabled"
1365
+ }
1366
+ }
1367
+ },
1368
+ "table": {
1369
+ "title": "EditableHtmlButtonConfigure",
1370
+ "type": "object",
1371
+ "properties": {
1372
+ "disabled": {
1373
+ "description": "Indicates if the plugin is disabled or not",
1374
+ "type": "boolean",
1375
+ "title": "disabled"
1376
+ }
1377
+ }
1378
+ },
1379
+ "ul_list": {
1380
+ "title": "EditableHtmlButtonConfigure",
1381
+ "type": "object",
1382
+ "properties": {
1383
+ "disabled": {
1384
+ "description": "Indicates if the plugin is disabled or not",
1385
+ "type": "boolean",
1386
+ "title": "disabled"
1387
+ }
1388
+ }
1389
+ },
1390
+ "underline": {
1391
+ "title": "EditableHtmlButtonConfigure",
1392
+ "type": "object",
1393
+ "properties": {
1394
+ "disabled": {
1395
+ "description": "Indicates if the plugin is disabled or not",
1396
+ "type": "boolean",
1397
+ "title": "disabled"
1398
+ }
1399
+ }
1400
+ },
1401
+ "undo": {
1402
+ "title": "EditableHtmlButtonConfigure",
1403
+ "type": "object",
1404
+ "properties": {
1405
+ "disabled": {
1406
+ "description": "Indicates if the plugin is disabled or not",
1407
+ "type": "boolean",
1408
+ "title": "disabled"
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ },
1414
+ "required": {
1415
+ "description": "Indicates if the item is required and the value cannot be empty",
1416
+ "type": "boolean",
1417
+ "title": "required"
1418
+ },
1419
+ "settings": {
1420
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1421
+ "type": "boolean",
1422
+ "title": "settings"
1423
+ },
1424
+ "label": {
1425
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1426
+ "type": "string",
1427
+ "title": "label"
1428
+ }
1429
+ }
1430
+ },
1431
+ "spellCheck": {
1432
+ "title": "ConfigureProp",
1433
+ "type": "object",
1434
+ "properties": {
1435
+ "settings": {
1436
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1437
+ "type": "boolean",
1438
+ "title": "settings"
1439
+ },
1440
+ "label": {
1441
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1442
+ "type": "string",
1443
+ "title": "label"
1444
+ }
1445
+ }
1446
+ },
1447
+ "removeTilesAfterPlacing": {
1448
+ "title": "ConfigureProp",
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "settings": {
1452
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1453
+ "type": "boolean",
1454
+ "title": "settings"
1455
+ },
1456
+ "label": {
1457
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1458
+ "type": "string",
1459
+ "title": "label"
1460
+ }
1461
+ }
1462
+ },
1463
+ "settingsPanelDisabled": {
1464
+ "description": "Indicates if the settings panel is not available",
1465
+ "type": "boolean",
1466
+ "title": "settingsPanelDisabled"
1467
+ },
1468
+ "scoringType": {
1469
+ "title": "ConfigureProp",
1470
+ "type": "object",
1471
+ "properties": {
1472
+ "settings": {
1473
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1474
+ "type": "boolean",
1475
+ "title": "settings"
1476
+ },
1477
+ "label": {
1478
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1479
+ "type": "string",
1480
+ "title": "label"
1481
+ }
1482
+ }
1483
+ },
1484
+ "studentInstructions": {
1485
+ "title": "ConfigureProp",
1486
+ "type": "object",
1487
+ "properties": {
1488
+ "settings": {
1489
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1490
+ "type": "boolean",
1491
+ "title": "settings"
1492
+ },
1493
+ "label": {
1494
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1495
+ "type": "string",
1496
+ "title": "label"
1497
+ }
1498
+ }
1499
+ },
1500
+ "targetLabel": {
1501
+ "title": "ConfigureProp",
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "settings": {
1505
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1506
+ "type": "boolean",
1507
+ "title": "settings"
1508
+ },
1509
+ "label": {
1510
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1511
+ "type": "string",
1512
+ "title": "label"
1513
+ }
1514
+ }
1515
+ },
1516
+ "teacherInstructions": {
1517
+ "title": "EditableHtmlPluginConfigureRequired",
1518
+ "type": "object",
1519
+ "properties": {
1520
+ "inputConfiguration": {
1521
+ "title": "EditableHtmlConfigureProp",
1522
+ "type": "object",
1523
+ "properties": {
1524
+ "math": {
1525
+ "title": "EditableHtmlButtonConfigure",
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "disabled": {
1529
+ "description": "Indicates if the plugin is disabled or not",
1530
+ "type": "boolean",
1531
+ "title": "disabled"
1532
+ }
1533
+ }
1534
+ },
1535
+ "audio": {
1536
+ "title": "EditableHtmlButtonConfigure",
1537
+ "type": "object",
1538
+ "properties": {
1539
+ "disabled": {
1540
+ "description": "Indicates if the plugin is disabled or not",
1541
+ "type": "boolean",
1542
+ "title": "disabled"
1543
+ }
1544
+ }
1545
+ },
1546
+ "video": {
1547
+ "title": "EditableHtmlButtonConfigure",
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "disabled": {
1551
+ "description": "Indicates if the plugin is disabled or not",
1552
+ "type": "boolean",
1553
+ "title": "disabled"
1554
+ }
1555
+ }
1556
+ },
1557
+ "image": {
1558
+ "title": "EditableHtmlButtonConfigure",
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "disabled": {
1562
+ "description": "Indicates if the plugin is disabled or not",
1563
+ "type": "boolean",
1564
+ "title": "disabled"
1565
+ }
1566
+ }
1567
+ },
1568
+ "customPlugins": {
1569
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1570
+ "type": "array",
1571
+ "items": {
1572
+ "title": "CustomPlugin",
1573
+ "type": "object",
1574
+ "properties": {
1575
+ "event": {
1576
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1577
+ "type": "string",
1578
+ "title": "event"
1579
+ },
1580
+ "iconAlt": {
1581
+ "description": "The alt for the custom button icon",
1582
+ "type": "string",
1583
+ "title": "iconAlt"
1584
+ },
1585
+ "iconType": {
1586
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1587
+ "type": "string",
1588
+ "title": "iconType"
1589
+ },
1590
+ "icon": {
1591
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1592
+ "type": "string",
1593
+ "title": "icon"
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "event",
1598
+ "icon",
1599
+ "iconAlt",
1600
+ "iconType"
1601
+ ]
1602
+ },
1603
+ "title": "customPlugins"
1604
+ },
1605
+ "blockquote": {
1606
+ "title": "EditableHtmlButtonConfigure",
1607
+ "type": "object",
1608
+ "properties": {
1609
+ "disabled": {
1610
+ "description": "Indicates if the plugin is disabled or not",
1611
+ "type": "boolean",
1612
+ "title": "disabled"
1613
+ }
1614
+ }
1615
+ },
1616
+ "h3": {
1617
+ "title": "EditableHtmlButtonConfigure",
1618
+ "type": "object",
1619
+ "properties": {
1620
+ "disabled": {
1621
+ "description": "Indicates if the plugin is disabled or not",
1622
+ "type": "boolean",
1623
+ "title": "disabled"
1624
+ }
1625
+ }
1626
+ },
1627
+ "characters": {
1628
+ "title": "EditableHtmlButtonConfigure",
1629
+ "type": "object",
1630
+ "properties": {
1631
+ "disabled": {
1632
+ "description": "Indicates if the plugin is disabled or not",
1633
+ "type": "boolean",
1634
+ "title": "disabled"
1635
+ }
1636
+ }
1637
+ },
1638
+ "bold": {
1639
+ "title": "EditableHtmlButtonConfigure",
1640
+ "type": "object",
1641
+ "properties": {
1642
+ "disabled": {
1643
+ "description": "Indicates if the plugin is disabled or not",
1644
+ "type": "boolean",
1645
+ "title": "disabled"
1646
+ }
1647
+ }
1648
+ },
1649
+ "html": {
1650
+ "title": "EditableHtmlButtonConfigure",
1651
+ "type": "object",
1652
+ "properties": {
1653
+ "disabled": {
1654
+ "description": "Indicates if the plugin is disabled or not",
1655
+ "type": "boolean",
1656
+ "title": "disabled"
1657
+ }
1658
+ }
1659
+ },
1660
+ "italic": {
1661
+ "title": "EditableHtmlButtonConfigure",
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "disabled": {
1665
+ "description": "Indicates if the plugin is disabled or not",
1666
+ "type": "boolean",
1667
+ "title": "disabled"
1668
+ }
1669
+ }
1670
+ },
1671
+ "ol_list": {
1672
+ "title": "EditableHtmlButtonConfigure",
1673
+ "type": "object",
1674
+ "properties": {
1675
+ "disabled": {
1676
+ "description": "Indicates if the plugin is disabled or not",
1677
+ "type": "boolean",
1678
+ "title": "disabled"
1679
+ }
1680
+ }
1681
+ },
1682
+ "redo": {
1683
+ "title": "EditableHtmlButtonConfigure",
1684
+ "type": "object",
1685
+ "properties": {
1686
+ "disabled": {
1687
+ "description": "Indicates if the plugin is disabled or not",
1688
+ "type": "boolean",
1689
+ "title": "disabled"
1690
+ }
1691
+ }
1692
+ },
1693
+ "strikethrough": {
1694
+ "title": "EditableHtmlButtonConfigure",
1695
+ "type": "object",
1696
+ "properties": {
1697
+ "disabled": {
1698
+ "description": "Indicates if the plugin is disabled or not",
1699
+ "type": "boolean",
1700
+ "title": "disabled"
1701
+ }
1702
+ }
1703
+ },
1704
+ "sub": {
1705
+ "title": "EditableHtmlButtonConfigure",
1706
+ "type": "object",
1707
+ "properties": {
1708
+ "disabled": {
1709
+ "description": "Indicates if the plugin is disabled or not",
1710
+ "type": "boolean",
1711
+ "title": "disabled"
1712
+ }
1713
+ }
1714
+ },
1715
+ "sup": {
1716
+ "title": "EditableHtmlButtonConfigure",
1717
+ "type": "object",
1718
+ "properties": {
1719
+ "disabled": {
1720
+ "description": "Indicates if the plugin is disabled or not",
1721
+ "type": "boolean",
1722
+ "title": "disabled"
1723
+ }
1724
+ }
1725
+ },
1726
+ "table": {
1727
+ "title": "EditableHtmlButtonConfigure",
1728
+ "type": "object",
1729
+ "properties": {
1730
+ "disabled": {
1731
+ "description": "Indicates if the plugin is disabled or not",
1732
+ "type": "boolean",
1733
+ "title": "disabled"
1734
+ }
1735
+ }
1736
+ },
1737
+ "ul_list": {
1738
+ "title": "EditableHtmlButtonConfigure",
1739
+ "type": "object",
1740
+ "properties": {
1741
+ "disabled": {
1742
+ "description": "Indicates if the plugin is disabled or not",
1743
+ "type": "boolean",
1744
+ "title": "disabled"
1745
+ }
1746
+ }
1747
+ },
1748
+ "underline": {
1749
+ "title": "EditableHtmlButtonConfigure",
1750
+ "type": "object",
1751
+ "properties": {
1752
+ "disabled": {
1753
+ "description": "Indicates if the plugin is disabled or not",
1754
+ "type": "boolean",
1755
+ "title": "disabled"
1756
+ }
1757
+ }
1758
+ },
1759
+ "undo": {
1760
+ "title": "EditableHtmlButtonConfigure",
1761
+ "type": "object",
1762
+ "properties": {
1763
+ "disabled": {
1764
+ "description": "Indicates if the plugin is disabled or not",
1765
+ "type": "boolean",
1766
+ "title": "disabled"
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ },
1772
+ "required": {
1773
+ "description": "Indicates if the item is required and the value cannot be empty",
1774
+ "type": "boolean",
1775
+ "title": "required"
1776
+ },
1777
+ "settings": {
1778
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1779
+ "type": "boolean",
1780
+ "title": "settings"
1781
+ },
1782
+ "label": {
1783
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1784
+ "type": "string",
1785
+ "title": "label"
1786
+ }
1787
+ }
1788
+ },
1789
+ "maxImageWidth": {
1790
+ "title": "ConfigureMaxImageDimensionsProp",
1791
+ "type": "object",
1792
+ "properties": {
1793
+ "teacherInstructions": {
1794
+ "description": "Indicates the max dimension for images in teacher instructions",
1795
+ "type": "number",
1796
+ "title": "teacherInstructions"
1797
+ },
1798
+ "prompt": {
1799
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1800
+ "type": "number",
1801
+ "title": "prompt"
1802
+ },
1803
+ "rationale": {
1804
+ "description": "Indicates the max dimension for images in rationale",
1805
+ "type": "number",
1806
+ "title": "rationale"
1807
+ },
1808
+ "choicesWithPlacementArea": {
1809
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
1810
+ "type": "number",
1811
+ "title": "choicesWithPlacementArea"
1812
+ },
1813
+ "choicesWithoutPlacementArea": {
1814
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
1815
+ "type": "number",
1816
+ "title": "choicesWithoutPlacementArea"
1817
+ },
1818
+ "choices": {
1819
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
1820
+ "type": "number",
1821
+ "title": "choices"
1822
+ }
1823
+ }
1824
+ },
1825
+ "maxImageHeight": {
1826
+ "title": "ConfigureMaxImageDimensionsProp",
1827
+ "type": "object",
1828
+ "properties": {
1829
+ "teacherInstructions": {
1830
+ "description": "Indicates the max dimension for images in teacher instructions",
1831
+ "type": "number",
1832
+ "title": "teacherInstructions"
1833
+ },
1834
+ "prompt": {
1835
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1836
+ "type": "number",
1837
+ "title": "prompt"
1838
+ },
1839
+ "rationale": {
1840
+ "description": "Indicates the max dimension for images in rationale",
1841
+ "type": "number",
1842
+ "title": "rationale"
1843
+ },
1844
+ "choicesWithPlacementArea": {
1845
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
1846
+ "type": "number",
1847
+ "title": "choicesWithPlacementArea"
1848
+ },
1849
+ "choicesWithoutPlacementArea": {
1850
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
1851
+ "type": "number",
1852
+ "title": "choicesWithoutPlacementArea"
1853
+ },
1854
+ "choices": {
1855
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
1856
+ "type": "number",
1857
+ "title": "choices"
1858
+ }
1859
+ }
1860
+ },
1861
+ "withRubric": {
1862
+ "title": "ConfigureProp",
1863
+ "type": "object",
1864
+ "properties": {
1865
+ "settings": {
1866
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1867
+ "type": "boolean",
1868
+ "title": "settings"
1869
+ },
1870
+ "label": {
1871
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1872
+ "type": "string",
1873
+ "title": "label"
1874
+ }
1875
+ }
1876
+ },
1877
+ "mathMlOptions": {
1878
+ "title": "ConfigureMathMLProp",
1879
+ "type": "object",
1880
+ "properties": {
1881
+ "mmlOutput": {
1882
+ "description": "Indicates if model should have mathML output instead of latex",
1883
+ "type": "number",
1884
+ "title": "mmlOutput"
1885
+ },
1886
+ "mmlEditing": {
1887
+ "description": "Indicates if mathML that's already in model should be editable",
1888
+ "type": "number",
1889
+ "title": "mmlEditing"
1890
+ }
1891
+ }
1892
+ },
1893
+ "language": {
1894
+ "title": "ConfigurePropWithEnabled",
1895
+ "type": "object",
1896
+ "properties": {
1897
+ "enabled": {
1898
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
1899
+ "type": "boolean",
1900
+ "title": "enabled"
1901
+ },
1902
+ "settings": {
1903
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1904
+ "type": "boolean",
1905
+ "title": "settings"
1906
+ },
1907
+ "label": {
1908
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1909
+ "type": "string",
1910
+ "title": "label"
1911
+ }
1912
+ }
1913
+ },
1914
+ "languageChoices": {
1915
+ "description": "Language choices configuration\nOnly available if language is enabled",
1916
+ "type": "object",
1917
+ "properties": {
1918
+ "label": {
1919
+ "type": "string",
1920
+ "title": "label"
1921
+ },
1922
+ "options": {
1923
+ "type": "array",
1924
+ "items": {
1925
+ "title": "ConfigureLanguageOptionsProp",
1926
+ "type": "object",
1927
+ "properties": {
1928
+ "value": {
1929
+ "description": "Value of the language option",
1930
+ "type": "string",
1931
+ "title": "value"
1932
+ },
1933
+ "label": {
1934
+ "description": "Label of the language option",
1935
+ "type": "string",
1936
+ "title": "label"
1937
+ }
1938
+ },
1939
+ "required": [
1940
+ "label",
1941
+ "value"
1942
+ ]
1943
+ },
1944
+ "title": "options"
1945
+ }
1946
+ },
1947
+ "required": [
1948
+ "label",
1949
+ "options"
1950
+ ],
1951
+ "title": "languageChoices"
1952
+ },
1953
+ "showPrompt": {
1954
+ "description": "Determines whether prompt field will be displayed or not",
1955
+ "default": true,
1956
+ "type": "boolean",
1957
+ "title": "showPrompt"
1958
+ },
1959
+ "promptLabel": {
1960
+ "description": "The label for the item stem/prompt field",
1961
+ "default": "Item Stemm",
1962
+ "type": "string",
1963
+ "title": "promptLabel"
1964
+ },
1965
+ "contentDimensions": {
1966
+ "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
1967
+ "default": ": {}",
1968
+ "type": "object",
1969
+ "properties": {
1970
+ "maxHeight": {
1971
+ "description": "Indicates the max height of the authoring container",
1972
+ "default": "undefined",
1973
+ "type": [
1974
+ "string",
1975
+ "number"
1976
+ ],
1977
+ "title": "maxHeight"
1978
+ },
1979
+ "maxWidth": {
1980
+ "description": "Indicates the max width of the authoring container",
1981
+ "default": "undefined",
1982
+ "type": [
1983
+ "string",
1984
+ "number"
1985
+ ],
1986
+ "title": "maxWidth"
1987
+ },
1988
+ "minHeight": {
1989
+ "description": "Indicates the min height of the authoring container",
1990
+ "default": "undefined",
1991
+ "type": [
1992
+ "string",
1993
+ "number"
1994
+ ],
1995
+ "title": "minHeight"
1996
+ },
1997
+ "minWidth": {
1998
+ "description": "Indicates the min width of the authoring container",
1999
+ "default": "undefined",
2000
+ "type": [
2001
+ "string",
2002
+ "number"
2003
+ ],
2004
+ "title": "minWidth"
2005
+ }
2006
+ },
2007
+ "title": "contentDimensions"
2008
+ },
2009
+ "settingsPartialScoring": {
2010
+ "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
2011
+ "default": true,
2012
+ "type": "boolean",
2013
+ "title": "settingsPartialScoring"
2014
+ }
2015
+ },
2016
+ "definitions": {
2017
+ "EditableHtmlConfigureProp": {
2018
+ "title": "EditableHtmlConfigureProp",
2019
+ "type": "object",
2020
+ "properties": {
2021
+ "math": {
2022
+ "title": "EditableHtmlButtonConfigure",
2023
+ "type": "object",
2024
+ "properties": {
2025
+ "disabled": {
2026
+ "description": "Indicates if the plugin is disabled or not",
2027
+ "type": "boolean",
2028
+ "title": "disabled"
2029
+ }
2030
+ }
2031
+ },
2032
+ "audio": {
2033
+ "title": "EditableHtmlButtonConfigure",
2034
+ "type": "object",
2035
+ "properties": {
2036
+ "disabled": {
2037
+ "description": "Indicates if the plugin is disabled or not",
2038
+ "type": "boolean",
2039
+ "title": "disabled"
2040
+ }
2041
+ }
2042
+ },
2043
+ "video": {
2044
+ "title": "EditableHtmlButtonConfigure",
2045
+ "type": "object",
2046
+ "properties": {
2047
+ "disabled": {
2048
+ "description": "Indicates if the plugin is disabled or not",
2049
+ "type": "boolean",
2050
+ "title": "disabled"
2051
+ }
2052
+ }
2053
+ },
2054
+ "image": {
2055
+ "title": "EditableHtmlButtonConfigure",
2056
+ "type": "object",
2057
+ "properties": {
2058
+ "disabled": {
2059
+ "description": "Indicates if the plugin is disabled or not",
2060
+ "type": "boolean",
2061
+ "title": "disabled"
2062
+ }
2063
+ }
2064
+ },
2065
+ "customPlugins": {
2066
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2067
+ "type": "array",
2068
+ "items": {
2069
+ "title": "CustomPlugin",
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "event": {
2073
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2074
+ "type": "string",
2075
+ "title": "event"
2076
+ },
2077
+ "iconAlt": {
2078
+ "description": "The alt for the custom button icon",
2079
+ "type": "string",
2080
+ "title": "iconAlt"
2081
+ },
2082
+ "iconType": {
2083
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2084
+ "type": "string",
2085
+ "title": "iconType"
2086
+ },
2087
+ "icon": {
2088
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2089
+ "type": "string",
2090
+ "title": "icon"
2091
+ }
2092
+ },
2093
+ "required": [
2094
+ "event",
2095
+ "icon",
2096
+ "iconAlt",
2097
+ "iconType"
2098
+ ]
2099
+ },
2100
+ "title": "customPlugins"
2101
+ },
2102
+ "blockquote": {
2103
+ "title": "EditableHtmlButtonConfigure",
2104
+ "type": "object",
2105
+ "properties": {
2106
+ "disabled": {
2107
+ "description": "Indicates if the plugin is disabled or not",
2108
+ "type": "boolean",
2109
+ "title": "disabled"
2110
+ }
2111
+ }
2112
+ },
2113
+ "h3": {
2114
+ "title": "EditableHtmlButtonConfigure",
2115
+ "type": "object",
2116
+ "properties": {
2117
+ "disabled": {
2118
+ "description": "Indicates if the plugin is disabled or not",
2119
+ "type": "boolean",
2120
+ "title": "disabled"
2121
+ }
2122
+ }
2123
+ },
2124
+ "characters": {
2125
+ "title": "EditableHtmlButtonConfigure",
2126
+ "type": "object",
2127
+ "properties": {
2128
+ "disabled": {
2129
+ "description": "Indicates if the plugin is disabled or not",
2130
+ "type": "boolean",
2131
+ "title": "disabled"
2132
+ }
2133
+ }
2134
+ },
2135
+ "bold": {
2136
+ "title": "EditableHtmlButtonConfigure",
2137
+ "type": "object",
2138
+ "properties": {
2139
+ "disabled": {
2140
+ "description": "Indicates if the plugin is disabled or not",
2141
+ "type": "boolean",
2142
+ "title": "disabled"
2143
+ }
2144
+ }
2145
+ },
2146
+ "html": {
2147
+ "title": "EditableHtmlButtonConfigure",
2148
+ "type": "object",
2149
+ "properties": {
2150
+ "disabled": {
2151
+ "description": "Indicates if the plugin is disabled or not",
2152
+ "type": "boolean",
2153
+ "title": "disabled"
2154
+ }
2155
+ }
2156
+ },
2157
+ "italic": {
2158
+ "title": "EditableHtmlButtonConfigure",
2159
+ "type": "object",
2160
+ "properties": {
2161
+ "disabled": {
2162
+ "description": "Indicates if the plugin is disabled or not",
2163
+ "type": "boolean",
2164
+ "title": "disabled"
2165
+ }
2166
+ }
2167
+ },
2168
+ "ol_list": {
2169
+ "title": "EditableHtmlButtonConfigure",
2170
+ "type": "object",
2171
+ "properties": {
2172
+ "disabled": {
2173
+ "description": "Indicates if the plugin is disabled or not",
2174
+ "type": "boolean",
2175
+ "title": "disabled"
2176
+ }
2177
+ }
2178
+ },
2179
+ "redo": {
2180
+ "title": "EditableHtmlButtonConfigure",
2181
+ "type": "object",
2182
+ "properties": {
2183
+ "disabled": {
2184
+ "description": "Indicates if the plugin is disabled or not",
2185
+ "type": "boolean",
2186
+ "title": "disabled"
2187
+ }
2188
+ }
2189
+ },
2190
+ "strikethrough": {
2191
+ "title": "EditableHtmlButtonConfigure",
2192
+ "type": "object",
2193
+ "properties": {
2194
+ "disabled": {
2195
+ "description": "Indicates if the plugin is disabled or not",
2196
+ "type": "boolean",
2197
+ "title": "disabled"
2198
+ }
2199
+ }
2200
+ },
2201
+ "sub": {
2202
+ "title": "EditableHtmlButtonConfigure",
2203
+ "type": "object",
2204
+ "properties": {
2205
+ "disabled": {
2206
+ "description": "Indicates if the plugin is disabled or not",
2207
+ "type": "boolean",
2208
+ "title": "disabled"
2209
+ }
2210
+ }
2211
+ },
2212
+ "sup": {
2213
+ "title": "EditableHtmlButtonConfigure",
2214
+ "type": "object",
2215
+ "properties": {
2216
+ "disabled": {
2217
+ "description": "Indicates if the plugin is disabled or not",
2218
+ "type": "boolean",
2219
+ "title": "disabled"
2220
+ }
2221
+ }
2222
+ },
2223
+ "table": {
2224
+ "title": "EditableHtmlButtonConfigure",
2225
+ "type": "object",
2226
+ "properties": {
2227
+ "disabled": {
2228
+ "description": "Indicates if the plugin is disabled or not",
2229
+ "type": "boolean",
2230
+ "title": "disabled"
2231
+ }
2232
+ }
2233
+ },
2234
+ "ul_list": {
2235
+ "title": "EditableHtmlButtonConfigure",
2236
+ "type": "object",
2237
+ "properties": {
2238
+ "disabled": {
2239
+ "description": "Indicates if the plugin is disabled or not",
2240
+ "type": "boolean",
2241
+ "title": "disabled"
2242
+ }
2243
+ }
2244
+ },
2245
+ "underline": {
2246
+ "title": "EditableHtmlButtonConfigure",
2247
+ "type": "object",
2248
+ "properties": {
2249
+ "disabled": {
2250
+ "description": "Indicates if the plugin is disabled or not",
2251
+ "type": "boolean",
2252
+ "title": "disabled"
2253
+ }
2254
+ }
2255
+ },
2256
+ "undo": {
2257
+ "title": "EditableHtmlButtonConfigure",
2258
+ "type": "object",
2259
+ "properties": {
2260
+ "disabled": {
2261
+ "description": "Indicates if the plugin is disabled or not",
2262
+ "type": "boolean",
2263
+ "title": "disabled"
2264
+ }
2265
+ }
2266
+ }
2267
+ }
2268
+ },
2269
+ "EditableHtmlButtonConfigure": {
2270
+ "title": "EditableHtmlButtonConfigure",
2271
+ "type": "object",
2272
+ "properties": {
2273
+ "disabled": {
2274
+ "description": "Indicates if the plugin is disabled or not",
2275
+ "type": "boolean",
2276
+ "title": "disabled"
2277
+ }
2278
+ }
2279
+ },
2280
+ "CustomPlugin": {
2281
+ "title": "CustomPlugin",
2282
+ "type": "object",
2283
+ "properties": {
2284
+ "event": {
2285
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2286
+ "type": "string",
2287
+ "title": "event"
2288
+ },
2289
+ "iconAlt": {
2290
+ "description": "The alt for the custom button icon",
2291
+ "type": "string",
2292
+ "title": "iconAlt"
2293
+ },
2294
+ "iconType": {
2295
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2296
+ "type": "string",
2297
+ "title": "iconType"
2298
+ },
2299
+ "icon": {
2300
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2301
+ "type": "string",
2302
+ "title": "icon"
2303
+ }
2304
+ },
2305
+ "required": [
2306
+ "event",
2307
+ "icon",
2308
+ "iconAlt",
2309
+ "iconType"
2310
+ ]
2311
+ },
2312
+ "EditableHtmlPluginConfigure": {
2313
+ "title": "EditableHtmlPluginConfigure",
2314
+ "type": "object",
2315
+ "properties": {
2316
+ "inputConfiguration": {
2317
+ "title": "EditableHtmlConfigureProp",
2318
+ "type": "object",
2319
+ "properties": {
2320
+ "math": {
2321
+ "title": "EditableHtmlButtonConfigure",
2322
+ "type": "object",
2323
+ "properties": {
2324
+ "disabled": {
2325
+ "description": "Indicates if the plugin is disabled or not",
2326
+ "type": "boolean",
2327
+ "title": "disabled"
2328
+ }
2329
+ }
2330
+ },
2331
+ "audio": {
2332
+ "title": "EditableHtmlButtonConfigure",
2333
+ "type": "object",
2334
+ "properties": {
2335
+ "disabled": {
2336
+ "description": "Indicates if the plugin is disabled or not",
2337
+ "type": "boolean",
2338
+ "title": "disabled"
2339
+ }
2340
+ }
2341
+ },
2342
+ "video": {
2343
+ "title": "EditableHtmlButtonConfigure",
2344
+ "type": "object",
2345
+ "properties": {
2346
+ "disabled": {
2347
+ "description": "Indicates if the plugin is disabled or not",
2348
+ "type": "boolean",
2349
+ "title": "disabled"
2350
+ }
2351
+ }
2352
+ },
2353
+ "image": {
2354
+ "title": "EditableHtmlButtonConfigure",
2355
+ "type": "object",
2356
+ "properties": {
2357
+ "disabled": {
2358
+ "description": "Indicates if the plugin is disabled or not",
2359
+ "type": "boolean",
2360
+ "title": "disabled"
2361
+ }
2362
+ }
2363
+ },
2364
+ "customPlugins": {
2365
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2366
+ "type": "array",
2367
+ "items": {
2368
+ "title": "CustomPlugin",
2369
+ "type": "object",
2370
+ "properties": {
2371
+ "event": {
2372
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2373
+ "type": "string",
2374
+ "title": "event"
2375
+ },
2376
+ "iconAlt": {
2377
+ "description": "The alt for the custom button icon",
2378
+ "type": "string",
2379
+ "title": "iconAlt"
2380
+ },
2381
+ "iconType": {
2382
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2383
+ "type": "string",
2384
+ "title": "iconType"
2385
+ },
2386
+ "icon": {
2387
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2388
+ "type": "string",
2389
+ "title": "icon"
2390
+ }
2391
+ },
2392
+ "required": [
2393
+ "event",
2394
+ "icon",
2395
+ "iconAlt",
2396
+ "iconType"
2397
+ ]
2398
+ },
2399
+ "title": "customPlugins"
2400
+ },
2401
+ "blockquote": {
2402
+ "title": "EditableHtmlButtonConfigure",
2403
+ "type": "object",
2404
+ "properties": {
2405
+ "disabled": {
2406
+ "description": "Indicates if the plugin is disabled or not",
2407
+ "type": "boolean",
2408
+ "title": "disabled"
2409
+ }
2410
+ }
2411
+ },
2412
+ "h3": {
2413
+ "title": "EditableHtmlButtonConfigure",
2414
+ "type": "object",
2415
+ "properties": {
2416
+ "disabled": {
2417
+ "description": "Indicates if the plugin is disabled or not",
2418
+ "type": "boolean",
2419
+ "title": "disabled"
2420
+ }
2421
+ }
2422
+ },
2423
+ "characters": {
2424
+ "title": "EditableHtmlButtonConfigure",
2425
+ "type": "object",
2426
+ "properties": {
2427
+ "disabled": {
2428
+ "description": "Indicates if the plugin is disabled or not",
2429
+ "type": "boolean",
2430
+ "title": "disabled"
2431
+ }
2432
+ }
2433
+ },
2434
+ "bold": {
2435
+ "title": "EditableHtmlButtonConfigure",
2436
+ "type": "object",
2437
+ "properties": {
2438
+ "disabled": {
2439
+ "description": "Indicates if the plugin is disabled or not",
2440
+ "type": "boolean",
2441
+ "title": "disabled"
2442
+ }
2443
+ }
2444
+ },
2445
+ "html": {
2446
+ "title": "EditableHtmlButtonConfigure",
2447
+ "type": "object",
2448
+ "properties": {
2449
+ "disabled": {
2450
+ "description": "Indicates if the plugin is disabled or not",
2451
+ "type": "boolean",
2452
+ "title": "disabled"
2453
+ }
2454
+ }
2455
+ },
2456
+ "italic": {
2457
+ "title": "EditableHtmlButtonConfigure",
2458
+ "type": "object",
2459
+ "properties": {
2460
+ "disabled": {
2461
+ "description": "Indicates if the plugin is disabled or not",
2462
+ "type": "boolean",
2463
+ "title": "disabled"
2464
+ }
2465
+ }
2466
+ },
2467
+ "ol_list": {
2468
+ "title": "EditableHtmlButtonConfigure",
2469
+ "type": "object",
2470
+ "properties": {
2471
+ "disabled": {
2472
+ "description": "Indicates if the plugin is disabled or not",
2473
+ "type": "boolean",
2474
+ "title": "disabled"
2475
+ }
2476
+ }
2477
+ },
2478
+ "redo": {
2479
+ "title": "EditableHtmlButtonConfigure",
2480
+ "type": "object",
2481
+ "properties": {
2482
+ "disabled": {
2483
+ "description": "Indicates if the plugin is disabled or not",
2484
+ "type": "boolean",
2485
+ "title": "disabled"
2486
+ }
2487
+ }
2488
+ },
2489
+ "strikethrough": {
2490
+ "title": "EditableHtmlButtonConfigure",
2491
+ "type": "object",
2492
+ "properties": {
2493
+ "disabled": {
2494
+ "description": "Indicates if the plugin is disabled or not",
2495
+ "type": "boolean",
2496
+ "title": "disabled"
2497
+ }
2498
+ }
2499
+ },
2500
+ "sub": {
2501
+ "title": "EditableHtmlButtonConfigure",
2502
+ "type": "object",
2503
+ "properties": {
2504
+ "disabled": {
2505
+ "description": "Indicates if the plugin is disabled or not",
2506
+ "type": "boolean",
2507
+ "title": "disabled"
2508
+ }
2509
+ }
2510
+ },
2511
+ "sup": {
2512
+ "title": "EditableHtmlButtonConfigure",
2513
+ "type": "object",
2514
+ "properties": {
2515
+ "disabled": {
2516
+ "description": "Indicates if the plugin is disabled or not",
2517
+ "type": "boolean",
2518
+ "title": "disabled"
2519
+ }
2520
+ }
2521
+ },
2522
+ "table": {
2523
+ "title": "EditableHtmlButtonConfigure",
2524
+ "type": "object",
2525
+ "properties": {
2526
+ "disabled": {
2527
+ "description": "Indicates if the plugin is disabled or not",
2528
+ "type": "boolean",
2529
+ "title": "disabled"
2530
+ }
2531
+ }
2532
+ },
2533
+ "ul_list": {
2534
+ "title": "EditableHtmlButtonConfigure",
2535
+ "type": "object",
2536
+ "properties": {
2537
+ "disabled": {
2538
+ "description": "Indicates if the plugin is disabled or not",
2539
+ "type": "boolean",
2540
+ "title": "disabled"
2541
+ }
2542
+ }
2543
+ },
2544
+ "underline": {
2545
+ "title": "EditableHtmlButtonConfigure",
2546
+ "type": "object",
2547
+ "properties": {
2548
+ "disabled": {
2549
+ "description": "Indicates if the plugin is disabled or not",
2550
+ "type": "boolean",
2551
+ "title": "disabled"
2552
+ }
2553
+ }
2554
+ },
2555
+ "undo": {
2556
+ "title": "EditableHtmlButtonConfigure",
2557
+ "type": "object",
2558
+ "properties": {
2559
+ "disabled": {
2560
+ "description": "Indicates if the plugin is disabled or not",
2561
+ "type": "boolean",
2562
+ "title": "disabled"
2563
+ }
2564
+ }
2565
+ }
2566
+ }
2567
+ },
2568
+ "settings": {
2569
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
2570
+ "type": "boolean",
2571
+ "title": "settings"
2572
+ },
2573
+ "label": {
2574
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2575
+ "type": "string",
2576
+ "title": "label"
2577
+ }
2578
+ }
2579
+ },
2580
+ "ConfigureProp": {
2581
+ "title": "ConfigureProp",
2582
+ "type": "object",
2583
+ "properties": {
2584
+ "settings": {
2585
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
2586
+ "type": "boolean",
2587
+ "title": "settings"
2588
+ },
2589
+ "label": {
2590
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2591
+ "type": "string",
2592
+ "title": "label"
2593
+ }
2594
+ }
2595
+ },
2596
+ "EditableHtmlPluginConfigureRequired": {
2597
+ "title": "EditableHtmlPluginConfigureRequired",
2598
+ "type": "object",
2599
+ "properties": {
2600
+ "inputConfiguration": {
2601
+ "title": "EditableHtmlConfigureProp",
2602
+ "type": "object",
2603
+ "properties": {
2604
+ "math": {
2605
+ "title": "EditableHtmlButtonConfigure",
2606
+ "type": "object",
2607
+ "properties": {
2608
+ "disabled": {
2609
+ "description": "Indicates if the plugin is disabled or not",
2610
+ "type": "boolean",
2611
+ "title": "disabled"
2612
+ }
2613
+ }
2614
+ },
2615
+ "audio": {
2616
+ "title": "EditableHtmlButtonConfigure",
2617
+ "type": "object",
2618
+ "properties": {
2619
+ "disabled": {
2620
+ "description": "Indicates if the plugin is disabled or not",
2621
+ "type": "boolean",
2622
+ "title": "disabled"
2623
+ }
2624
+ }
2625
+ },
2626
+ "video": {
2627
+ "title": "EditableHtmlButtonConfigure",
2628
+ "type": "object",
2629
+ "properties": {
2630
+ "disabled": {
2631
+ "description": "Indicates if the plugin is disabled or not",
2632
+ "type": "boolean",
2633
+ "title": "disabled"
2634
+ }
2635
+ }
2636
+ },
2637
+ "image": {
2638
+ "title": "EditableHtmlButtonConfigure",
2639
+ "type": "object",
2640
+ "properties": {
2641
+ "disabled": {
2642
+ "description": "Indicates if the plugin is disabled or not",
2643
+ "type": "boolean",
2644
+ "title": "disabled"
2645
+ }
2646
+ }
2647
+ },
2648
+ "customPlugins": {
2649
+ "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2650
+ "type": "array",
2651
+ "items": {
2652
+ "title": "CustomPlugin",
2653
+ "type": "object",
2654
+ "properties": {
2655
+ "event": {
2656
+ "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2657
+ "type": "string",
2658
+ "title": "event"
2659
+ },
2660
+ "iconAlt": {
2661
+ "description": "The alt for the custom button icon",
2662
+ "type": "string",
2663
+ "title": "iconAlt"
2664
+ },
2665
+ "iconType": {
2666
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2667
+ "type": "string",
2668
+ "title": "iconType"
2669
+ },
2670
+ "icon": {
2671
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2672
+ "type": "string",
2673
+ "title": "icon"
2674
+ }
2675
+ },
2676
+ "required": [
2677
+ "event",
2678
+ "icon",
2679
+ "iconAlt",
2680
+ "iconType"
2681
+ ]
2682
+ },
2683
+ "title": "customPlugins"
2684
+ },
2685
+ "blockquote": {
2686
+ "title": "EditableHtmlButtonConfigure",
2687
+ "type": "object",
2688
+ "properties": {
2689
+ "disabled": {
2690
+ "description": "Indicates if the plugin is disabled or not",
2691
+ "type": "boolean",
2692
+ "title": "disabled"
2693
+ }
2694
+ }
2695
+ },
2696
+ "h3": {
2697
+ "title": "EditableHtmlButtonConfigure",
2698
+ "type": "object",
2699
+ "properties": {
2700
+ "disabled": {
2701
+ "description": "Indicates if the plugin is disabled or not",
2702
+ "type": "boolean",
2703
+ "title": "disabled"
2704
+ }
2705
+ }
2706
+ },
2707
+ "characters": {
2708
+ "title": "EditableHtmlButtonConfigure",
2709
+ "type": "object",
2710
+ "properties": {
2711
+ "disabled": {
2712
+ "description": "Indicates if the plugin is disabled or not",
2713
+ "type": "boolean",
2714
+ "title": "disabled"
2715
+ }
2716
+ }
2717
+ },
2718
+ "bold": {
2719
+ "title": "EditableHtmlButtonConfigure",
2720
+ "type": "object",
2721
+ "properties": {
2722
+ "disabled": {
2723
+ "description": "Indicates if the plugin is disabled or not",
2724
+ "type": "boolean",
2725
+ "title": "disabled"
2726
+ }
2727
+ }
2728
+ },
2729
+ "html": {
2730
+ "title": "EditableHtmlButtonConfigure",
2731
+ "type": "object",
2732
+ "properties": {
2733
+ "disabled": {
2734
+ "description": "Indicates if the plugin is disabled or not",
2735
+ "type": "boolean",
2736
+ "title": "disabled"
2737
+ }
2738
+ }
2739
+ },
2740
+ "italic": {
2741
+ "title": "EditableHtmlButtonConfigure",
2742
+ "type": "object",
2743
+ "properties": {
2744
+ "disabled": {
2745
+ "description": "Indicates if the plugin is disabled or not",
2746
+ "type": "boolean",
2747
+ "title": "disabled"
2748
+ }
2749
+ }
2750
+ },
2751
+ "ol_list": {
2752
+ "title": "EditableHtmlButtonConfigure",
2753
+ "type": "object",
2754
+ "properties": {
2755
+ "disabled": {
2756
+ "description": "Indicates if the plugin is disabled or not",
2757
+ "type": "boolean",
2758
+ "title": "disabled"
2759
+ }
2760
+ }
2761
+ },
2762
+ "redo": {
2763
+ "title": "EditableHtmlButtonConfigure",
2764
+ "type": "object",
2765
+ "properties": {
2766
+ "disabled": {
2767
+ "description": "Indicates if the plugin is disabled or not",
2768
+ "type": "boolean",
2769
+ "title": "disabled"
2770
+ }
2771
+ }
2772
+ },
2773
+ "strikethrough": {
2774
+ "title": "EditableHtmlButtonConfigure",
2775
+ "type": "object",
2776
+ "properties": {
2777
+ "disabled": {
2778
+ "description": "Indicates if the plugin is disabled or not",
2779
+ "type": "boolean",
2780
+ "title": "disabled"
2781
+ }
2782
+ }
2783
+ },
2784
+ "sub": {
2785
+ "title": "EditableHtmlButtonConfigure",
2786
+ "type": "object",
2787
+ "properties": {
2788
+ "disabled": {
2789
+ "description": "Indicates if the plugin is disabled or not",
2790
+ "type": "boolean",
2791
+ "title": "disabled"
2792
+ }
2793
+ }
2794
+ },
2795
+ "sup": {
2796
+ "title": "EditableHtmlButtonConfigure",
2797
+ "type": "object",
2798
+ "properties": {
2799
+ "disabled": {
2800
+ "description": "Indicates if the plugin is disabled or not",
2801
+ "type": "boolean",
2802
+ "title": "disabled"
2803
+ }
2804
+ }
2805
+ },
2806
+ "table": {
2807
+ "title": "EditableHtmlButtonConfigure",
2808
+ "type": "object",
2809
+ "properties": {
2810
+ "disabled": {
2811
+ "description": "Indicates if the plugin is disabled or not",
2812
+ "type": "boolean",
2813
+ "title": "disabled"
2814
+ }
2815
+ }
2816
+ },
2817
+ "ul_list": {
2818
+ "title": "EditableHtmlButtonConfigure",
2819
+ "type": "object",
2820
+ "properties": {
2821
+ "disabled": {
2822
+ "description": "Indicates if the plugin is disabled or not",
2823
+ "type": "boolean",
2824
+ "title": "disabled"
2825
+ }
2826
+ }
2827
+ },
2828
+ "underline": {
2829
+ "title": "EditableHtmlButtonConfigure",
2830
+ "type": "object",
2831
+ "properties": {
2832
+ "disabled": {
2833
+ "description": "Indicates if the plugin is disabled or not",
2834
+ "type": "boolean",
2835
+ "title": "disabled"
2836
+ }
2837
+ }
2838
+ },
2839
+ "undo": {
2840
+ "title": "EditableHtmlButtonConfigure",
2841
+ "type": "object",
2842
+ "properties": {
2843
+ "disabled": {
2844
+ "description": "Indicates if the plugin is disabled or not",
2845
+ "type": "boolean",
2846
+ "title": "disabled"
2847
+ }
2848
+ }
2849
+ }
2850
+ }
2851
+ },
2852
+ "required": {
2853
+ "description": "Indicates if the item is required and the value cannot be empty",
2854
+ "type": "boolean",
2855
+ "title": "required"
2856
+ },
2857
+ "settings": {
2858
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
2859
+ "type": "boolean",
2860
+ "title": "settings"
2861
+ },
2862
+ "label": {
2863
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2864
+ "type": "string",
2865
+ "title": "label"
2866
+ }
2867
+ }
2868
+ },
2869
+ "ConfigureMaxImageDimensionsProp": {
2870
+ "title": "ConfigureMaxImageDimensionsProp",
2871
+ "type": "object",
2872
+ "properties": {
2873
+ "teacherInstructions": {
2874
+ "description": "Indicates the max dimension for images in teacher instructions",
2875
+ "type": "number",
2876
+ "title": "teacherInstructions"
2877
+ },
2878
+ "prompt": {
2879
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
2880
+ "type": "number",
2881
+ "title": "prompt"
2882
+ },
2883
+ "rationale": {
2884
+ "description": "Indicates the max dimension for images in rationale",
2885
+ "type": "number",
2886
+ "title": "rationale"
2887
+ },
2888
+ "choicesWithPlacementArea": {
2889
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
2890
+ "type": "number",
2891
+ "title": "choicesWithPlacementArea"
2892
+ },
2893
+ "choicesWithoutPlacementArea": {
2894
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
2895
+ "type": "number",
2896
+ "title": "choicesWithoutPlacementArea"
2897
+ },
2898
+ "choices": {
2899
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
2900
+ "type": "number",
2901
+ "title": "choices"
2902
+ }
2903
+ }
2904
+ },
2905
+ "ConfigureMathMLProp": {
2906
+ "title": "ConfigureMathMLProp",
2907
+ "type": "object",
2908
+ "properties": {
2909
+ "mmlOutput": {
2910
+ "description": "Indicates if model should have mathML output instead of latex",
2911
+ "type": "number",
2912
+ "title": "mmlOutput"
2913
+ },
2914
+ "mmlEditing": {
2915
+ "description": "Indicates if mathML that's already in model should be editable",
2916
+ "type": "number",
2917
+ "title": "mmlEditing"
2918
+ }
2919
+ }
2920
+ },
2921
+ "ConfigurePropWithEnabled": {
2922
+ "title": "ConfigurePropWithEnabled",
2923
+ "type": "object",
2924
+ "properties": {
2925
+ "enabled": {
2926
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
2927
+ "type": "boolean",
2928
+ "title": "enabled"
2929
+ },
2930
+ "settings": {
2931
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
2932
+ "type": "boolean",
2933
+ "title": "settings"
2934
+ },
2935
+ "label": {
2936
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2937
+ "type": "string",
2938
+ "title": "label"
2939
+ }
2940
+ }
2941
+ },
2942
+ "ConfigureLanguageOptionsProp": {
2943
+ "title": "ConfigureLanguageOptionsProp",
2944
+ "type": "object",
2945
+ "properties": {
2946
+ "value": {
2947
+ "description": "Value of the language option",
2948
+ "type": "string",
2949
+ "title": "value"
2950
+ },
2951
+ "label": {
2952
+ "description": "Label of the language option",
2953
+ "type": "string",
2954
+ "title": "label"
2955
+ }
2956
+ },
2957
+ "required": [
2958
+ "label",
2959
+ "value"
2960
+ ]
2961
+ }
2962
+ },
2963
+ "$schema": "http://json-schema.org/draft-07/schema#"
2964
+ }