HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

To create the actual dojo editor, see [Creating an editor widget](🔗).

## Examples

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 you can specify different settings for both modes:

A complete example of how to create a custom dojo editor can be found in our sample site Alloy that is available both via our [custom Visual Studio extension](🔗) or on our [GitHub](🔗).