@pie-element/categorize 13.4.0-beta.7 → 14.0.0-next.20261002094057

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