Demo: Programmatic Editor

The following Editor instance allows only a select few tools, and is created programmatically: