title: Editor controls load
body: <p>I'm currently developing a website in apostrophe when I came across this bug:</p>
  
  <p><a href="https://stackoverflow.com/questions/45884189/apostrophe-cms-inline-editing-of-rich-text-in-custom-widgets">Apostrophe cms - inline editing of rich text in custom widgets?</a></p>
  
  <p>The workaround that occurred to me was to create the piece as a simple widget, then and then add them in a apostrophe-page. To access to the widget like a piece using a slug, I intercept the request in the apostrophe-express, then load the widget querying the database and I render a view which includes widget.html.</p>
  
  <p>This works pretty well, the only problem is that the editing controls are not loaded, so I can only edit them in the apostrophe-page. </p>
  
  <p>I searched the source code of some modules, pages, widgets, pieces, pieces-pages trying to find where the editor controls where loaded but I had no luck.</p>
  
  <p>I was wondering if anybody had a similar problem or knows how to load the controls can help me a little bit with this.</p>
  
  <p>Thanks!</p>