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