To create the actual dojo editor, see [Create an editor widget](🔗).
The following example demonstrates how to register a custom editor.
You can use the following technique in case you need to pass any data from the server to the client side editor.
The following example will show how to pass an array of strings created on the server into our custom StringList editor from the previous example:
The previous examples affect both forms and on-page editing modes. However it is possible to specify different settings for both modes:
A complete example of how to create a custom dojo editor can be found in Optimizely Alloy sample site that is available both via our [custom Visual Studio extension](🔗) or on our [GitHub](🔗).