@pie-element/likert 0.38.3-next.2 → 0.38.3-next.26
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.
- package/configure/package.json +1 -1
- package/docs/config-schema.json +1243 -242
- package/docs/config-schema.json.md +744 -16
- package/docs/pie-schema.json +429 -0
- package/docs/pie-schema.json.md +312 -0
- package/package.json +3 -3
package/docs/config-schema.json
CHANGED
|
@@ -134,35 +134,8 @@
|
|
|
134
134
|
"title": "disabled"
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
"required": {
|
|
141
|
-
"description": "Indicates if the item is required and the value cannot be empty",
|
|
142
|
-
"type": "boolean",
|
|
143
|
-
"title": "required"
|
|
144
|
-
},
|
|
145
|
-
"settings": {
|
|
146
|
-
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
147
|
-
"type": "boolean",
|
|
148
|
-
"title": "settings"
|
|
149
|
-
},
|
|
150
|
-
"label": {
|
|
151
|
-
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
152
|
-
"type": "string",
|
|
153
|
-
"title": "label"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"prompt": {
|
|
158
|
-
"title": "EditableHtmlPluginConfigureRequired",
|
|
159
|
-
"type": "object",
|
|
160
|
-
"properties": {
|
|
161
|
-
"inputConfiguration": {
|
|
162
|
-
"title": "EditableHtmlConfigureProp",
|
|
163
|
-
"type": "object",
|
|
164
|
-
"properties": {
|
|
165
|
-
"math": {
|
|
137
|
+
},
|
|
138
|
+
"languageCharacters": {
|
|
166
139
|
"title": "EditableHtmlButtonConfigure",
|
|
167
140
|
"type": "object",
|
|
168
141
|
"properties": {
|
|
@@ -173,7 +146,7 @@
|
|
|
173
146
|
}
|
|
174
147
|
}
|
|
175
148
|
},
|
|
176
|
-
"
|
|
149
|
+
"bold": {
|
|
177
150
|
"title": "EditableHtmlButtonConfigure",
|
|
178
151
|
"type": "object",
|
|
179
152
|
"properties": {
|
|
@@ -184,7 +157,7 @@
|
|
|
184
157
|
}
|
|
185
158
|
}
|
|
186
159
|
},
|
|
187
|
-
"
|
|
160
|
+
"html": {
|
|
188
161
|
"title": "EditableHtmlButtonConfigure",
|
|
189
162
|
"type": "object",
|
|
190
163
|
"properties": {
|
|
@@ -195,7 +168,7 @@
|
|
|
195
168
|
}
|
|
196
169
|
}
|
|
197
170
|
},
|
|
198
|
-
"
|
|
171
|
+
"italic": {
|
|
199
172
|
"title": "EditableHtmlButtonConfigure",
|
|
200
173
|
"type": "object",
|
|
201
174
|
"properties": {
|
|
@@ -206,44 +179,18 @@
|
|
|
206
179
|
}
|
|
207
180
|
}
|
|
208
181
|
},
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"type": "
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"title": "event"
|
|
220
|
-
},
|
|
221
|
-
"iconAlt": {
|
|
222
|
-
"description": "The alt for the custom button icon",
|
|
223
|
-
"type": "string",
|
|
224
|
-
"title": "iconAlt"
|
|
225
|
-
},
|
|
226
|
-
"iconType": {
|
|
227
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
228
|
-
"type": "string",
|
|
229
|
-
"title": "iconType"
|
|
230
|
-
},
|
|
231
|
-
"icon": {
|
|
232
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
233
|
-
"type": "string",
|
|
234
|
-
"title": "icon"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
"required": [
|
|
238
|
-
"event",
|
|
239
|
-
"icon",
|
|
240
|
-
"iconAlt",
|
|
241
|
-
"iconType"
|
|
242
|
-
]
|
|
243
|
-
},
|
|
244
|
-
"title": "customPlugins"
|
|
182
|
+
"ol_list": {
|
|
183
|
+
"title": "EditableHtmlButtonConfigure",
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"disabled": {
|
|
187
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"title": "disabled"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
245
192
|
},
|
|
246
|
-
"
|
|
193
|
+
"redo": {
|
|
247
194
|
"title": "EditableHtmlButtonConfigure",
|
|
248
195
|
"type": "object",
|
|
249
196
|
"properties": {
|
|
@@ -254,7 +201,73 @@
|
|
|
254
201
|
}
|
|
255
202
|
}
|
|
256
203
|
},
|
|
257
|
-
"
|
|
204
|
+
"strikethrough": {
|
|
205
|
+
"title": "EditableHtmlButtonConfigure",
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"disabled": {
|
|
209
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"title": "disabled"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"sub": {
|
|
216
|
+
"title": "EditableHtmlButtonConfigure",
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"disabled": {
|
|
220
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
221
|
+
"type": "boolean",
|
|
222
|
+
"title": "disabled"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"sup": {
|
|
227
|
+
"title": "EditableHtmlButtonConfigure",
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"disabled": {
|
|
231
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"title": "disabled"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"table": {
|
|
238
|
+
"title": "EditableHtmlButtonConfigure",
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"disabled": {
|
|
242
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
243
|
+
"type": "boolean",
|
|
244
|
+
"title": "disabled"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"ul_list": {
|
|
249
|
+
"title": "EditableHtmlButtonConfigure",
|
|
250
|
+
"type": "object",
|
|
251
|
+
"properties": {
|
|
252
|
+
"disabled": {
|
|
253
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
254
|
+
"type": "boolean",
|
|
255
|
+
"title": "disabled"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"underline": {
|
|
260
|
+
"title": "EditableHtmlButtonConfigure",
|
|
261
|
+
"type": "object",
|
|
262
|
+
"properties": {
|
|
263
|
+
"disabled": {
|
|
264
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"title": "disabled"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"undo": {
|
|
258
271
|
"title": "EditableHtmlButtonConfigure",
|
|
259
272
|
"type": "object",
|
|
260
273
|
"properties": {
|
|
@@ -284,117 +297,8 @@
|
|
|
284
297
|
}
|
|
285
298
|
}
|
|
286
299
|
},
|
|
287
|
-
"
|
|
288
|
-
"title": "
|
|
289
|
-
"type": "object",
|
|
290
|
-
"properties": {
|
|
291
|
-
"math": {
|
|
292
|
-
"title": "EditableHtmlButtonConfigure",
|
|
293
|
-
"type": "object",
|
|
294
|
-
"properties": {
|
|
295
|
-
"disabled": {
|
|
296
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
297
|
-
"type": "boolean",
|
|
298
|
-
"title": "disabled"
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"audio": {
|
|
303
|
-
"title": "EditableHtmlButtonConfigure",
|
|
304
|
-
"type": "object",
|
|
305
|
-
"properties": {
|
|
306
|
-
"disabled": {
|
|
307
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
308
|
-
"type": "boolean",
|
|
309
|
-
"title": "disabled"
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"video": {
|
|
314
|
-
"title": "EditableHtmlButtonConfigure",
|
|
315
|
-
"type": "object",
|
|
316
|
-
"properties": {
|
|
317
|
-
"disabled": {
|
|
318
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
319
|
-
"type": "boolean",
|
|
320
|
-
"title": "disabled"
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
"image": {
|
|
325
|
-
"title": "EditableHtmlButtonConfigure",
|
|
326
|
-
"type": "object",
|
|
327
|
-
"properties": {
|
|
328
|
-
"disabled": {
|
|
329
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
330
|
-
"type": "boolean",
|
|
331
|
-
"title": "disabled"
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"customPlugins": {
|
|
336
|
-
"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.",
|
|
337
|
-
"type": "array",
|
|
338
|
-
"items": {
|
|
339
|
-
"title": "CustomPlugin",
|
|
340
|
-
"type": "object",
|
|
341
|
-
"properties": {
|
|
342
|
-
"event": {
|
|
343
|
-
"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\"",
|
|
344
|
-
"type": "string",
|
|
345
|
-
"title": "event"
|
|
346
|
-
},
|
|
347
|
-
"iconAlt": {
|
|
348
|
-
"description": "The alt for the custom button icon",
|
|
349
|
-
"type": "string",
|
|
350
|
-
"title": "iconAlt"
|
|
351
|
-
},
|
|
352
|
-
"iconType": {
|
|
353
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
354
|
-
"type": "string",
|
|
355
|
-
"title": "iconType"
|
|
356
|
-
},
|
|
357
|
-
"icon": {
|
|
358
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
359
|
-
"type": "string",
|
|
360
|
-
"title": "icon"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"required": [
|
|
364
|
-
"event",
|
|
365
|
-
"icon",
|
|
366
|
-
"iconAlt",
|
|
367
|
-
"iconType"
|
|
368
|
-
]
|
|
369
|
-
},
|
|
370
|
-
"title": "customPlugins"
|
|
371
|
-
},
|
|
372
|
-
"blockquote": {
|
|
373
|
-
"title": "EditableHtmlButtonConfigure",
|
|
374
|
-
"type": "object",
|
|
375
|
-
"properties": {
|
|
376
|
-
"disabled": {
|
|
377
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
378
|
-
"type": "boolean",
|
|
379
|
-
"title": "disabled"
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
"h3": {
|
|
384
|
-
"title": "EditableHtmlButtonConfigure",
|
|
385
|
-
"type": "object",
|
|
386
|
-
"properties": {
|
|
387
|
-
"disabled": {
|
|
388
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
389
|
-
"type": "boolean",
|
|
390
|
-
"title": "disabled"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
"likertChoice": {
|
|
397
|
-
"title": "EditableHtmlPluginConfigure",
|
|
300
|
+
"prompt": {
|
|
301
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
398
302
|
"type": "object",
|
|
399
303
|
"properties": {
|
|
400
304
|
"inputConfiguration": {
|
|
@@ -503,6 +407,674 @@
|
|
|
503
407
|
"title": "disabled"
|
|
504
408
|
}
|
|
505
409
|
}
|
|
410
|
+
},
|
|
411
|
+
"languageCharacters": {
|
|
412
|
+
"title": "EditableHtmlButtonConfigure",
|
|
413
|
+
"type": "object",
|
|
414
|
+
"properties": {
|
|
415
|
+
"disabled": {
|
|
416
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
417
|
+
"type": "boolean",
|
|
418
|
+
"title": "disabled"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"bold": {
|
|
423
|
+
"title": "EditableHtmlButtonConfigure",
|
|
424
|
+
"type": "object",
|
|
425
|
+
"properties": {
|
|
426
|
+
"disabled": {
|
|
427
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
428
|
+
"type": "boolean",
|
|
429
|
+
"title": "disabled"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"html": {
|
|
434
|
+
"title": "EditableHtmlButtonConfigure",
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"disabled": {
|
|
438
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
439
|
+
"type": "boolean",
|
|
440
|
+
"title": "disabled"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"italic": {
|
|
445
|
+
"title": "EditableHtmlButtonConfigure",
|
|
446
|
+
"type": "object",
|
|
447
|
+
"properties": {
|
|
448
|
+
"disabled": {
|
|
449
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
450
|
+
"type": "boolean",
|
|
451
|
+
"title": "disabled"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"ol_list": {
|
|
456
|
+
"title": "EditableHtmlButtonConfigure",
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"disabled": {
|
|
460
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
461
|
+
"type": "boolean",
|
|
462
|
+
"title": "disabled"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"redo": {
|
|
467
|
+
"title": "EditableHtmlButtonConfigure",
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"disabled": {
|
|
471
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
472
|
+
"type": "boolean",
|
|
473
|
+
"title": "disabled"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"strikethrough": {
|
|
478
|
+
"title": "EditableHtmlButtonConfigure",
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"disabled": {
|
|
482
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
483
|
+
"type": "boolean",
|
|
484
|
+
"title": "disabled"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"sub": {
|
|
489
|
+
"title": "EditableHtmlButtonConfigure",
|
|
490
|
+
"type": "object",
|
|
491
|
+
"properties": {
|
|
492
|
+
"disabled": {
|
|
493
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
494
|
+
"type": "boolean",
|
|
495
|
+
"title": "disabled"
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"sup": {
|
|
500
|
+
"title": "EditableHtmlButtonConfigure",
|
|
501
|
+
"type": "object",
|
|
502
|
+
"properties": {
|
|
503
|
+
"disabled": {
|
|
504
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
505
|
+
"type": "boolean",
|
|
506
|
+
"title": "disabled"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"table": {
|
|
511
|
+
"title": "EditableHtmlButtonConfigure",
|
|
512
|
+
"type": "object",
|
|
513
|
+
"properties": {
|
|
514
|
+
"disabled": {
|
|
515
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
516
|
+
"type": "boolean",
|
|
517
|
+
"title": "disabled"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"ul_list": {
|
|
522
|
+
"title": "EditableHtmlButtonConfigure",
|
|
523
|
+
"type": "object",
|
|
524
|
+
"properties": {
|
|
525
|
+
"disabled": {
|
|
526
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"title": "disabled"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"underline": {
|
|
533
|
+
"title": "EditableHtmlButtonConfigure",
|
|
534
|
+
"type": "object",
|
|
535
|
+
"properties": {
|
|
536
|
+
"disabled": {
|
|
537
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
538
|
+
"type": "boolean",
|
|
539
|
+
"title": "disabled"
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"undo": {
|
|
544
|
+
"title": "EditableHtmlButtonConfigure",
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"disabled": {
|
|
548
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
549
|
+
"type": "boolean",
|
|
550
|
+
"title": "disabled"
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"required": {
|
|
557
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
558
|
+
"type": "boolean",
|
|
559
|
+
"title": "required"
|
|
560
|
+
},
|
|
561
|
+
"settings": {
|
|
562
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
563
|
+
"type": "boolean",
|
|
564
|
+
"title": "settings"
|
|
565
|
+
},
|
|
566
|
+
"label": {
|
|
567
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
568
|
+
"type": "string",
|
|
569
|
+
"title": "label"
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"baseInputConfiguration": {
|
|
574
|
+
"title": "EditableHtmlConfigureProp",
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"math": {
|
|
578
|
+
"title": "EditableHtmlButtonConfigure",
|
|
579
|
+
"type": "object",
|
|
580
|
+
"properties": {
|
|
581
|
+
"disabled": {
|
|
582
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
583
|
+
"type": "boolean",
|
|
584
|
+
"title": "disabled"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"audio": {
|
|
589
|
+
"title": "EditableHtmlButtonConfigure",
|
|
590
|
+
"type": "object",
|
|
591
|
+
"properties": {
|
|
592
|
+
"disabled": {
|
|
593
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
594
|
+
"type": "boolean",
|
|
595
|
+
"title": "disabled"
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"video": {
|
|
600
|
+
"title": "EditableHtmlButtonConfigure",
|
|
601
|
+
"type": "object",
|
|
602
|
+
"properties": {
|
|
603
|
+
"disabled": {
|
|
604
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
605
|
+
"type": "boolean",
|
|
606
|
+
"title": "disabled"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"image": {
|
|
611
|
+
"title": "EditableHtmlButtonConfigure",
|
|
612
|
+
"type": "object",
|
|
613
|
+
"properties": {
|
|
614
|
+
"disabled": {
|
|
615
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
616
|
+
"type": "boolean",
|
|
617
|
+
"title": "disabled"
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"customPlugins": {
|
|
622
|
+
"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.",
|
|
623
|
+
"type": "array",
|
|
624
|
+
"items": {
|
|
625
|
+
"title": "CustomPlugin",
|
|
626
|
+
"type": "object",
|
|
627
|
+
"properties": {
|
|
628
|
+
"event": {
|
|
629
|
+
"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\"",
|
|
630
|
+
"type": "string",
|
|
631
|
+
"title": "event"
|
|
632
|
+
},
|
|
633
|
+
"iconAlt": {
|
|
634
|
+
"description": "The alt for the custom button icon",
|
|
635
|
+
"type": "string",
|
|
636
|
+
"title": "iconAlt"
|
|
637
|
+
},
|
|
638
|
+
"iconType": {
|
|
639
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
640
|
+
"type": "string",
|
|
641
|
+
"title": "iconType"
|
|
642
|
+
},
|
|
643
|
+
"icon": {
|
|
644
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
645
|
+
"type": "string",
|
|
646
|
+
"title": "icon"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"event",
|
|
651
|
+
"icon",
|
|
652
|
+
"iconAlt",
|
|
653
|
+
"iconType"
|
|
654
|
+
]
|
|
655
|
+
},
|
|
656
|
+
"title": "customPlugins"
|
|
657
|
+
},
|
|
658
|
+
"blockquote": {
|
|
659
|
+
"title": "EditableHtmlButtonConfigure",
|
|
660
|
+
"type": "object",
|
|
661
|
+
"properties": {
|
|
662
|
+
"disabled": {
|
|
663
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
664
|
+
"type": "boolean",
|
|
665
|
+
"title": "disabled"
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"h3": {
|
|
670
|
+
"title": "EditableHtmlButtonConfigure",
|
|
671
|
+
"type": "object",
|
|
672
|
+
"properties": {
|
|
673
|
+
"disabled": {
|
|
674
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
675
|
+
"type": "boolean",
|
|
676
|
+
"title": "disabled"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"languageCharacters": {
|
|
681
|
+
"title": "EditableHtmlButtonConfigure",
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"disabled": {
|
|
685
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
686
|
+
"type": "boolean",
|
|
687
|
+
"title": "disabled"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"bold": {
|
|
692
|
+
"title": "EditableHtmlButtonConfigure",
|
|
693
|
+
"type": "object",
|
|
694
|
+
"properties": {
|
|
695
|
+
"disabled": {
|
|
696
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
697
|
+
"type": "boolean",
|
|
698
|
+
"title": "disabled"
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"html": {
|
|
703
|
+
"title": "EditableHtmlButtonConfigure",
|
|
704
|
+
"type": "object",
|
|
705
|
+
"properties": {
|
|
706
|
+
"disabled": {
|
|
707
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
708
|
+
"type": "boolean",
|
|
709
|
+
"title": "disabled"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"italic": {
|
|
714
|
+
"title": "EditableHtmlButtonConfigure",
|
|
715
|
+
"type": "object",
|
|
716
|
+
"properties": {
|
|
717
|
+
"disabled": {
|
|
718
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
719
|
+
"type": "boolean",
|
|
720
|
+
"title": "disabled"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"ol_list": {
|
|
725
|
+
"title": "EditableHtmlButtonConfigure",
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"disabled": {
|
|
729
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
730
|
+
"type": "boolean",
|
|
731
|
+
"title": "disabled"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"redo": {
|
|
736
|
+
"title": "EditableHtmlButtonConfigure",
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {
|
|
739
|
+
"disabled": {
|
|
740
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
741
|
+
"type": "boolean",
|
|
742
|
+
"title": "disabled"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"strikethrough": {
|
|
747
|
+
"title": "EditableHtmlButtonConfigure",
|
|
748
|
+
"type": "object",
|
|
749
|
+
"properties": {
|
|
750
|
+
"disabled": {
|
|
751
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
752
|
+
"type": "boolean",
|
|
753
|
+
"title": "disabled"
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"sub": {
|
|
758
|
+
"title": "EditableHtmlButtonConfigure",
|
|
759
|
+
"type": "object",
|
|
760
|
+
"properties": {
|
|
761
|
+
"disabled": {
|
|
762
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
763
|
+
"type": "boolean",
|
|
764
|
+
"title": "disabled"
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"sup": {
|
|
769
|
+
"title": "EditableHtmlButtonConfigure",
|
|
770
|
+
"type": "object",
|
|
771
|
+
"properties": {
|
|
772
|
+
"disabled": {
|
|
773
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
774
|
+
"type": "boolean",
|
|
775
|
+
"title": "disabled"
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"table": {
|
|
780
|
+
"title": "EditableHtmlButtonConfigure",
|
|
781
|
+
"type": "object",
|
|
782
|
+
"properties": {
|
|
783
|
+
"disabled": {
|
|
784
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
785
|
+
"type": "boolean",
|
|
786
|
+
"title": "disabled"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"ul_list": {
|
|
791
|
+
"title": "EditableHtmlButtonConfigure",
|
|
792
|
+
"type": "object",
|
|
793
|
+
"properties": {
|
|
794
|
+
"disabled": {
|
|
795
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"title": "disabled"
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"underline": {
|
|
802
|
+
"title": "EditableHtmlButtonConfigure",
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"disabled": {
|
|
806
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
807
|
+
"type": "boolean",
|
|
808
|
+
"title": "disabled"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"undo": {
|
|
813
|
+
"title": "EditableHtmlButtonConfigure",
|
|
814
|
+
"type": "object",
|
|
815
|
+
"properties": {
|
|
816
|
+
"disabled": {
|
|
817
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
818
|
+
"type": "boolean",
|
|
819
|
+
"title": "disabled"
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"likertChoice": {
|
|
826
|
+
"title": "EditableHtmlPluginConfigure",
|
|
827
|
+
"type": "object",
|
|
828
|
+
"properties": {
|
|
829
|
+
"inputConfiguration": {
|
|
830
|
+
"title": "EditableHtmlConfigureProp",
|
|
831
|
+
"type": "object",
|
|
832
|
+
"properties": {
|
|
833
|
+
"math": {
|
|
834
|
+
"title": "EditableHtmlButtonConfigure",
|
|
835
|
+
"type": "object",
|
|
836
|
+
"properties": {
|
|
837
|
+
"disabled": {
|
|
838
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
839
|
+
"type": "boolean",
|
|
840
|
+
"title": "disabled"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"audio": {
|
|
845
|
+
"title": "EditableHtmlButtonConfigure",
|
|
846
|
+
"type": "object",
|
|
847
|
+
"properties": {
|
|
848
|
+
"disabled": {
|
|
849
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
850
|
+
"type": "boolean",
|
|
851
|
+
"title": "disabled"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"video": {
|
|
856
|
+
"title": "EditableHtmlButtonConfigure",
|
|
857
|
+
"type": "object",
|
|
858
|
+
"properties": {
|
|
859
|
+
"disabled": {
|
|
860
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
861
|
+
"type": "boolean",
|
|
862
|
+
"title": "disabled"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"image": {
|
|
867
|
+
"title": "EditableHtmlButtonConfigure",
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"disabled": {
|
|
871
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
872
|
+
"type": "boolean",
|
|
873
|
+
"title": "disabled"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"customPlugins": {
|
|
878
|
+
"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.",
|
|
879
|
+
"type": "array",
|
|
880
|
+
"items": {
|
|
881
|
+
"title": "CustomPlugin",
|
|
882
|
+
"type": "object",
|
|
883
|
+
"properties": {
|
|
884
|
+
"event": {
|
|
885
|
+
"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\"",
|
|
886
|
+
"type": "string",
|
|
887
|
+
"title": "event"
|
|
888
|
+
},
|
|
889
|
+
"iconAlt": {
|
|
890
|
+
"description": "The alt for the custom button icon",
|
|
891
|
+
"type": "string",
|
|
892
|
+
"title": "iconAlt"
|
|
893
|
+
},
|
|
894
|
+
"iconType": {
|
|
895
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
896
|
+
"type": "string",
|
|
897
|
+
"title": "iconType"
|
|
898
|
+
},
|
|
899
|
+
"icon": {
|
|
900
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
901
|
+
"type": "string",
|
|
902
|
+
"title": "icon"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"required": [
|
|
906
|
+
"event",
|
|
907
|
+
"icon",
|
|
908
|
+
"iconAlt",
|
|
909
|
+
"iconType"
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
"title": "customPlugins"
|
|
913
|
+
},
|
|
914
|
+
"blockquote": {
|
|
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
|
+
"h3": {
|
|
926
|
+
"title": "EditableHtmlButtonConfigure",
|
|
927
|
+
"type": "object",
|
|
928
|
+
"properties": {
|
|
929
|
+
"disabled": {
|
|
930
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
931
|
+
"type": "boolean",
|
|
932
|
+
"title": "disabled"
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"languageCharacters": {
|
|
937
|
+
"title": "EditableHtmlButtonConfigure",
|
|
938
|
+
"type": "object",
|
|
939
|
+
"properties": {
|
|
940
|
+
"disabled": {
|
|
941
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
942
|
+
"type": "boolean",
|
|
943
|
+
"title": "disabled"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"bold": {
|
|
948
|
+
"title": "EditableHtmlButtonConfigure",
|
|
949
|
+
"type": "object",
|
|
950
|
+
"properties": {
|
|
951
|
+
"disabled": {
|
|
952
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
953
|
+
"type": "boolean",
|
|
954
|
+
"title": "disabled"
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"html": {
|
|
959
|
+
"title": "EditableHtmlButtonConfigure",
|
|
960
|
+
"type": "object",
|
|
961
|
+
"properties": {
|
|
962
|
+
"disabled": {
|
|
963
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
964
|
+
"type": "boolean",
|
|
965
|
+
"title": "disabled"
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"italic": {
|
|
970
|
+
"title": "EditableHtmlButtonConfigure",
|
|
971
|
+
"type": "object",
|
|
972
|
+
"properties": {
|
|
973
|
+
"disabled": {
|
|
974
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
975
|
+
"type": "boolean",
|
|
976
|
+
"title": "disabled"
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
"ol_list": {
|
|
981
|
+
"title": "EditableHtmlButtonConfigure",
|
|
982
|
+
"type": "object",
|
|
983
|
+
"properties": {
|
|
984
|
+
"disabled": {
|
|
985
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
986
|
+
"type": "boolean",
|
|
987
|
+
"title": "disabled"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"redo": {
|
|
992
|
+
"title": "EditableHtmlButtonConfigure",
|
|
993
|
+
"type": "object",
|
|
994
|
+
"properties": {
|
|
995
|
+
"disabled": {
|
|
996
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
997
|
+
"type": "boolean",
|
|
998
|
+
"title": "disabled"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"strikethrough": {
|
|
1003
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1004
|
+
"type": "object",
|
|
1005
|
+
"properties": {
|
|
1006
|
+
"disabled": {
|
|
1007
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1008
|
+
"type": "boolean",
|
|
1009
|
+
"title": "disabled"
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"sub": {
|
|
1014
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1015
|
+
"type": "object",
|
|
1016
|
+
"properties": {
|
|
1017
|
+
"disabled": {
|
|
1018
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1019
|
+
"type": "boolean",
|
|
1020
|
+
"title": "disabled"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"sup": {
|
|
1025
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1026
|
+
"type": "object",
|
|
1027
|
+
"properties": {
|
|
1028
|
+
"disabled": {
|
|
1029
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1030
|
+
"type": "boolean",
|
|
1031
|
+
"title": "disabled"
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"table": {
|
|
1036
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1037
|
+
"type": "object",
|
|
1038
|
+
"properties": {
|
|
1039
|
+
"disabled": {
|
|
1040
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1041
|
+
"type": "boolean",
|
|
1042
|
+
"title": "disabled"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
"ul_list": {
|
|
1047
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1048
|
+
"type": "object",
|
|
1049
|
+
"properties": {
|
|
1050
|
+
"disabled": {
|
|
1051
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1052
|
+
"type": "boolean",
|
|
1053
|
+
"title": "disabled"
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"underline": {
|
|
1058
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1059
|
+
"type": "object",
|
|
1060
|
+
"properties": {
|
|
1061
|
+
"disabled": {
|
|
1062
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1063
|
+
"type": "boolean",
|
|
1064
|
+
"title": "disabled"
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"undo": {
|
|
1069
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1070
|
+
"type": "object",
|
|
1071
|
+
"properties": {
|
|
1072
|
+
"disabled": {
|
|
1073
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1074
|
+
"type": "boolean",
|
|
1075
|
+
"title": "disabled"
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
506
1078
|
}
|
|
507
1079
|
}
|
|
508
1080
|
},
|
|
@@ -708,31 +1280,310 @@
|
|
|
708
1280
|
"title": "disabled"
|
|
709
1281
|
}
|
|
710
1282
|
}
|
|
1283
|
+
},
|
|
1284
|
+
"languageCharacters": {
|
|
1285
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1286
|
+
"type": "object",
|
|
1287
|
+
"properties": {
|
|
1288
|
+
"disabled": {
|
|
1289
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1290
|
+
"type": "boolean",
|
|
1291
|
+
"title": "disabled"
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"bold": {
|
|
1296
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1297
|
+
"type": "object",
|
|
1298
|
+
"properties": {
|
|
1299
|
+
"disabled": {
|
|
1300
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1301
|
+
"type": "boolean",
|
|
1302
|
+
"title": "disabled"
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
"html": {
|
|
1307
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1308
|
+
"type": "object",
|
|
1309
|
+
"properties": {
|
|
1310
|
+
"disabled": {
|
|
1311
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1312
|
+
"type": "boolean",
|
|
1313
|
+
"title": "disabled"
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
"italic": {
|
|
1318
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1319
|
+
"type": "object",
|
|
1320
|
+
"properties": {
|
|
1321
|
+
"disabled": {
|
|
1322
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1323
|
+
"type": "boolean",
|
|
1324
|
+
"title": "disabled"
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"ol_list": {
|
|
1329
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1330
|
+
"type": "object",
|
|
1331
|
+
"properties": {
|
|
1332
|
+
"disabled": {
|
|
1333
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1334
|
+
"type": "boolean",
|
|
1335
|
+
"title": "disabled"
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"redo": {
|
|
1340
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1341
|
+
"type": "object",
|
|
1342
|
+
"properties": {
|
|
1343
|
+
"disabled": {
|
|
1344
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1345
|
+
"type": "boolean",
|
|
1346
|
+
"title": "disabled"
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
"strikethrough": {
|
|
1351
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1352
|
+
"type": "object",
|
|
1353
|
+
"properties": {
|
|
1354
|
+
"disabled": {
|
|
1355
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1356
|
+
"type": "boolean",
|
|
1357
|
+
"title": "disabled"
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
"sub": {
|
|
1362
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1363
|
+
"type": "object",
|
|
1364
|
+
"properties": {
|
|
1365
|
+
"disabled": {
|
|
1366
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1367
|
+
"type": "boolean",
|
|
1368
|
+
"title": "disabled"
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"sup": {
|
|
1373
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1374
|
+
"type": "object",
|
|
1375
|
+
"properties": {
|
|
1376
|
+
"disabled": {
|
|
1377
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1378
|
+
"type": "boolean",
|
|
1379
|
+
"title": "disabled"
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
"table": {
|
|
1384
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1385
|
+
"type": "object",
|
|
1386
|
+
"properties": {
|
|
1387
|
+
"disabled": {
|
|
1388
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1389
|
+
"type": "boolean",
|
|
1390
|
+
"title": "disabled"
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
"ul_list": {
|
|
1395
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1396
|
+
"type": "object",
|
|
1397
|
+
"properties": {
|
|
1398
|
+
"disabled": {
|
|
1399
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1400
|
+
"type": "boolean",
|
|
1401
|
+
"title": "disabled"
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
"underline": {
|
|
1406
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"properties": {
|
|
1409
|
+
"disabled": {
|
|
1410
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1411
|
+
"type": "boolean",
|
|
1412
|
+
"title": "disabled"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"undo": {
|
|
1417
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1418
|
+
"type": "object",
|
|
1419
|
+
"properties": {
|
|
1420
|
+
"disabled": {
|
|
1421
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1422
|
+
"type": "boolean",
|
|
1423
|
+
"title": "disabled"
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
},
|
|
1429
|
+
"required": {
|
|
1430
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
1431
|
+
"type": "boolean",
|
|
1432
|
+
"title": "required"
|
|
1433
|
+
},
|
|
1434
|
+
"settings": {
|
|
1435
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1436
|
+
"type": "boolean",
|
|
1437
|
+
"title": "settings"
|
|
1438
|
+
},
|
|
1439
|
+
"label": {
|
|
1440
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"title": "label"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"EditableHtmlConfigureProp": {
|
|
1447
|
+
"title": "EditableHtmlConfigureProp",
|
|
1448
|
+
"type": "object",
|
|
1449
|
+
"properties": {
|
|
1450
|
+
"math": {
|
|
1451
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1452
|
+
"type": "object",
|
|
1453
|
+
"properties": {
|
|
1454
|
+
"disabled": {
|
|
1455
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1456
|
+
"type": "boolean",
|
|
1457
|
+
"title": "disabled"
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"audio": {
|
|
1462
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"properties": {
|
|
1465
|
+
"disabled": {
|
|
1466
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1467
|
+
"type": "boolean",
|
|
1468
|
+
"title": "disabled"
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
"video": {
|
|
1473
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1474
|
+
"type": "object",
|
|
1475
|
+
"properties": {
|
|
1476
|
+
"disabled": {
|
|
1477
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1478
|
+
"type": "boolean",
|
|
1479
|
+
"title": "disabled"
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"image": {
|
|
1484
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1485
|
+
"type": "object",
|
|
1486
|
+
"properties": {
|
|
1487
|
+
"disabled": {
|
|
1488
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1489
|
+
"type": "boolean",
|
|
1490
|
+
"title": "disabled"
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"customPlugins": {
|
|
1495
|
+
"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.",
|
|
1496
|
+
"type": "array",
|
|
1497
|
+
"items": {
|
|
1498
|
+
"title": "CustomPlugin",
|
|
1499
|
+
"type": "object",
|
|
1500
|
+
"properties": {
|
|
1501
|
+
"event": {
|
|
1502
|
+
"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\"",
|
|
1503
|
+
"type": "string",
|
|
1504
|
+
"title": "event"
|
|
1505
|
+
},
|
|
1506
|
+
"iconAlt": {
|
|
1507
|
+
"description": "The alt for the custom button icon",
|
|
1508
|
+
"type": "string",
|
|
1509
|
+
"title": "iconAlt"
|
|
1510
|
+
},
|
|
1511
|
+
"iconType": {
|
|
1512
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1513
|
+
"type": "string",
|
|
1514
|
+
"title": "iconType"
|
|
1515
|
+
},
|
|
1516
|
+
"icon": {
|
|
1517
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"title": "icon"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
"required": [
|
|
1523
|
+
"event",
|
|
1524
|
+
"icon",
|
|
1525
|
+
"iconAlt",
|
|
1526
|
+
"iconType"
|
|
1527
|
+
]
|
|
1528
|
+
},
|
|
1529
|
+
"title": "customPlugins"
|
|
1530
|
+
},
|
|
1531
|
+
"blockquote": {
|
|
1532
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1533
|
+
"type": "object",
|
|
1534
|
+
"properties": {
|
|
1535
|
+
"disabled": {
|
|
1536
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1537
|
+
"type": "boolean",
|
|
1538
|
+
"title": "disabled"
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"h3": {
|
|
1543
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1544
|
+
"type": "object",
|
|
1545
|
+
"properties": {
|
|
1546
|
+
"disabled": {
|
|
1547
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1548
|
+
"type": "boolean",
|
|
1549
|
+
"title": "disabled"
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
"languageCharacters": {
|
|
1554
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1555
|
+
"type": "object",
|
|
1556
|
+
"properties": {
|
|
1557
|
+
"disabled": {
|
|
1558
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1559
|
+
"type": "boolean",
|
|
1560
|
+
"title": "disabled"
|
|
711
1561
|
}
|
|
712
1562
|
}
|
|
713
1563
|
},
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"type": "
|
|
717
|
-
"
|
|
1564
|
+
"bold": {
|
|
1565
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1566
|
+
"type": "object",
|
|
1567
|
+
"properties": {
|
|
1568
|
+
"disabled": {
|
|
1569
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1570
|
+
"type": "boolean",
|
|
1571
|
+
"title": "disabled"
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
718
1574
|
},
|
|
719
|
-
"
|
|
720
|
-
"
|
|
721
|
-
"type": "
|
|
722
|
-
"
|
|
1575
|
+
"html": {
|
|
1576
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1577
|
+
"type": "object",
|
|
1578
|
+
"properties": {
|
|
1579
|
+
"disabled": {
|
|
1580
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1581
|
+
"type": "boolean",
|
|
1582
|
+
"title": "disabled"
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
723
1585
|
},
|
|
724
|
-
"
|
|
725
|
-
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
726
|
-
"type": "string",
|
|
727
|
-
"title": "label"
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
},
|
|
731
|
-
"EditableHtmlConfigureProp": {
|
|
732
|
-
"title": "EditableHtmlConfigureProp",
|
|
733
|
-
"type": "object",
|
|
734
|
-
"properties": {
|
|
735
|
-
"math": {
|
|
1586
|
+
"italic": {
|
|
736
1587
|
"title": "EditableHtmlButtonConfigure",
|
|
737
1588
|
"type": "object",
|
|
738
1589
|
"properties": {
|
|
@@ -743,7 +1594,7 @@
|
|
|
743
1594
|
}
|
|
744
1595
|
}
|
|
745
1596
|
},
|
|
746
|
-
"
|
|
1597
|
+
"ol_list": {
|
|
747
1598
|
"title": "EditableHtmlButtonConfigure",
|
|
748
1599
|
"type": "object",
|
|
749
1600
|
"properties": {
|
|
@@ -754,7 +1605,7 @@
|
|
|
754
1605
|
}
|
|
755
1606
|
}
|
|
756
1607
|
},
|
|
757
|
-
"
|
|
1608
|
+
"redo": {
|
|
758
1609
|
"title": "EditableHtmlButtonConfigure",
|
|
759
1610
|
"type": "object",
|
|
760
1611
|
"properties": {
|
|
@@ -765,7 +1616,7 @@
|
|
|
765
1616
|
}
|
|
766
1617
|
}
|
|
767
1618
|
},
|
|
768
|
-
"
|
|
1619
|
+
"strikethrough": {
|
|
769
1620
|
"title": "EditableHtmlButtonConfigure",
|
|
770
1621
|
"type": "object",
|
|
771
1622
|
"properties": {
|
|
@@ -776,44 +1627,18 @@
|
|
|
776
1627
|
}
|
|
777
1628
|
}
|
|
778
1629
|
},
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"type": "
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
"
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
"title": "event"
|
|
790
|
-
},
|
|
791
|
-
"iconAlt": {
|
|
792
|
-
"description": "The alt for the custom button icon",
|
|
793
|
-
"type": "string",
|
|
794
|
-
"title": "iconAlt"
|
|
795
|
-
},
|
|
796
|
-
"iconType": {
|
|
797
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
798
|
-
"type": "string",
|
|
799
|
-
"title": "iconType"
|
|
800
|
-
},
|
|
801
|
-
"icon": {
|
|
802
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
803
|
-
"type": "string",
|
|
804
|
-
"title": "icon"
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
"required": [
|
|
808
|
-
"event",
|
|
809
|
-
"icon",
|
|
810
|
-
"iconAlt",
|
|
811
|
-
"iconType"
|
|
812
|
-
]
|
|
813
|
-
},
|
|
814
|
-
"title": "customPlugins"
|
|
1630
|
+
"sub": {
|
|
1631
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1632
|
+
"type": "object",
|
|
1633
|
+
"properties": {
|
|
1634
|
+
"disabled": {
|
|
1635
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1636
|
+
"type": "boolean",
|
|
1637
|
+
"title": "disabled"
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
815
1640
|
},
|
|
816
|
-
"
|
|
1641
|
+
"sup": {
|
|
817
1642
|
"title": "EditableHtmlButtonConfigure",
|
|
818
1643
|
"type": "object",
|
|
819
1644
|
"properties": {
|
|
@@ -824,7 +1649,40 @@
|
|
|
824
1649
|
}
|
|
825
1650
|
}
|
|
826
1651
|
},
|
|
827
|
-
"
|
|
1652
|
+
"table": {
|
|
1653
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1654
|
+
"type": "object",
|
|
1655
|
+
"properties": {
|
|
1656
|
+
"disabled": {
|
|
1657
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1658
|
+
"type": "boolean",
|
|
1659
|
+
"title": "disabled"
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
"ul_list": {
|
|
1664
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1665
|
+
"type": "object",
|
|
1666
|
+
"properties": {
|
|
1667
|
+
"disabled": {
|
|
1668
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1669
|
+
"type": "boolean",
|
|
1670
|
+
"title": "disabled"
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"underline": {
|
|
1675
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1676
|
+
"type": "object",
|
|
1677
|
+
"properties": {
|
|
1678
|
+
"disabled": {
|
|
1679
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1680
|
+
"type": "boolean",
|
|
1681
|
+
"title": "disabled"
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
"undo": {
|
|
828
1686
|
"title": "EditableHtmlButtonConfigure",
|
|
829
1687
|
"type": "object",
|
|
830
1688
|
"properties": {
|
|
@@ -990,6 +1848,149 @@
|
|
|
990
1848
|
"title": "disabled"
|
|
991
1849
|
}
|
|
992
1850
|
}
|
|
1851
|
+
},
|
|
1852
|
+
"languageCharacters": {
|
|
1853
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1854
|
+
"type": "object",
|
|
1855
|
+
"properties": {
|
|
1856
|
+
"disabled": {
|
|
1857
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1858
|
+
"type": "boolean",
|
|
1859
|
+
"title": "disabled"
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"bold": {
|
|
1864
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1865
|
+
"type": "object",
|
|
1866
|
+
"properties": {
|
|
1867
|
+
"disabled": {
|
|
1868
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1869
|
+
"type": "boolean",
|
|
1870
|
+
"title": "disabled"
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
"html": {
|
|
1875
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1876
|
+
"type": "object",
|
|
1877
|
+
"properties": {
|
|
1878
|
+
"disabled": {
|
|
1879
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1880
|
+
"type": "boolean",
|
|
1881
|
+
"title": "disabled"
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
"italic": {
|
|
1886
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1887
|
+
"type": "object",
|
|
1888
|
+
"properties": {
|
|
1889
|
+
"disabled": {
|
|
1890
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1891
|
+
"type": "boolean",
|
|
1892
|
+
"title": "disabled"
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"ol_list": {
|
|
1897
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1898
|
+
"type": "object",
|
|
1899
|
+
"properties": {
|
|
1900
|
+
"disabled": {
|
|
1901
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1902
|
+
"type": "boolean",
|
|
1903
|
+
"title": "disabled"
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
"redo": {
|
|
1908
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1909
|
+
"type": "object",
|
|
1910
|
+
"properties": {
|
|
1911
|
+
"disabled": {
|
|
1912
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1913
|
+
"type": "boolean",
|
|
1914
|
+
"title": "disabled"
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
"strikethrough": {
|
|
1919
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1920
|
+
"type": "object",
|
|
1921
|
+
"properties": {
|
|
1922
|
+
"disabled": {
|
|
1923
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1924
|
+
"type": "boolean",
|
|
1925
|
+
"title": "disabled"
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
"sub": {
|
|
1930
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1931
|
+
"type": "object",
|
|
1932
|
+
"properties": {
|
|
1933
|
+
"disabled": {
|
|
1934
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1935
|
+
"type": "boolean",
|
|
1936
|
+
"title": "disabled"
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
"sup": {
|
|
1941
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1942
|
+
"type": "object",
|
|
1943
|
+
"properties": {
|
|
1944
|
+
"disabled": {
|
|
1945
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1946
|
+
"type": "boolean",
|
|
1947
|
+
"title": "disabled"
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
"table": {
|
|
1952
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1953
|
+
"type": "object",
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"disabled": {
|
|
1956
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1957
|
+
"type": "boolean",
|
|
1958
|
+
"title": "disabled"
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
},
|
|
1962
|
+
"ul_list": {
|
|
1963
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1964
|
+
"type": "object",
|
|
1965
|
+
"properties": {
|
|
1966
|
+
"disabled": {
|
|
1967
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1968
|
+
"type": "boolean",
|
|
1969
|
+
"title": "disabled"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
"underline": {
|
|
1974
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"properties": {
|
|
1977
|
+
"disabled": {
|
|
1978
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1979
|
+
"type": "boolean",
|
|
1980
|
+
"title": "disabled"
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
"undo": {
|
|
1985
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1986
|
+
"type": "object",
|
|
1987
|
+
"properties": {
|
|
1988
|
+
"disabled": {
|
|
1989
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1990
|
+
"type": "boolean",
|
|
1991
|
+
"title": "disabled"
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
993
1994
|
}
|
|
994
1995
|
}
|
|
995
1996
|
},
|