Skip to content

Commit

Permalink
Fix: properties.schema errors (fixes #251). (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielghost authored Jan 11, 2023
1 parent 7c6b2de commit 7b46fdb
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,22 @@
"type": "string",
"title": "Item",
"default": "Item {{{itemNumber}}} of {{{totalItems}}}",
"_adapt": {
"translatable": true
}
"inputType": "Text",
"translatable": true
},
"previous": {
"type": "string",
"title": "Previous",
"default": "{{#if title}}Back to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}}",
"_adapt": {
"translatable": true
}
"inputType": "Text",
"translatable": true
},
"next": {
"type": "string",
"title": "Next",
"default": "{{#if title}}Forward to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}}",
"_adapt": {
"translatable": true
}
"inputType": "Text",
"translatable": true
},
"popupPagination": {
"type": "string",
Expand All @@ -51,6 +48,10 @@
"type": "string",
"required": true,
"enum": ["full-width", "half-width", "both"],
"inputType": {
"type": "Select",
"options": ["full-width", "half-width", "both"]
},
"default": "full-width",
"editorOnly": true
},
Expand Down

0 comments on commit 7b46fdb

Please sign in to comment.