This is the code we use to run the editor sidebar on the site.