You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Luka Bebic edited this page Nov 5, 2020
·
4 revisions
Introduction
Configurable inputs may be added to a content element by specifying the content element type inside the tesMeta array (inside the scheme) and then adding the configurable inputs in the element's meta array.
Code example
elementMeta: [{type: 'VIDEO',inputs: [{key: 'transcript',type: 'TEXTAREA',label: 'Transcript',placeholder: 'Click to add...',},{key: 'caption',type: 'FILE',label: 'Caption',placeholder: 'Click to upload text file',validate: {rules: {ext: ['txt']}}}]}