Keep in mind the following information as you develop your custom editors:
Editors must be placed in the following directory:
<app dir>/config/import/editors/<optional namespace>/<editor name>
For example:
Discover/config/import/editors/custom/StringEditor
Editors must refer to a Property object which holds primitive or complex property values.
The Editor SDK uses
requireJS
to resolve and load dependent JavaScript modules.The Editor SDK provides
TemplateEngine.js
, an extension to the Knockout native template engine to refer templates dynamically from the view model.