-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproperties.schema
68 lines (68 loc) · 1.88 KB
/
properties.schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"$ref": "http://localhost/plugins/content/component/model.schema",
"properties": {
"_supportedLayout": {
"type": "string",
"required": true,
"enum": ["full-width", "half-width", "both"],
"default": "both",
"editorOnly": true
},
"_setCompletionOn": {
"type": "string",
"default": "inview",
"title": "Set completion on",
"inputType": {
"type": "Select",
"options": [
"inview",
"message"
]
},
"help": "Set completion based on either having scrolled into view or from the embedded content sending a message via the window.postMessage API"
},
"instruction": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "This is the instruction text"
},
"_src": {
"type": "string",
"required": true,
"title": "URL",
"default": "",
"inputType": "Text",
"validators": ["required"],
"help": "Path to the page you want to display in the iframe"
},
"_initialWidth": {
"type": "number",
"required": true,
"title": "Initial width",
"default": "",
"inputType": "Number",
"validators": ["number", "required"]
},
"_initialHeight": {
"type": "number",
"required": true,
"title": "Initial height",
"default": "",
"inputType": "Number",
"validators": ["number", "required"]
},
"_dimensionDelegateSelector": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"help": "If the dimensions of the iframe should be delegated to a child element of the iframe, use this attribute to select which child element this is."
}
}
}