Title: onmccarthy's Replies | WordPress.org

---

# onmccarthy

  [  ](https://wordpress.org/support/users/onmccarthy/)

 *   [Profile](https://wordpress.org/support/users/onmccarthy/)
 *   [Topics Started](https://wordpress.org/support/users/onmccarthy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/onmccarthy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/onmccarthy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/onmccarthy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/onmccarthy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/onmccarthy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] wp.editor.Richtext Cannot read property ‘BlockControls’ of undefined](https://wordpress.org/support/topic/wp-editor-richtext-cannot-read-property-blockcontrols-of-undefined/)
 *  Thread Starter [onmccarthy](https://wordpress.org/support/users/onmccarthy/)
 * (@onmccarthy)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wp-editor-richtext-cannot-read-property-blockcontrols-of-undefined/#post-10645083)
 * I created my environment using [create-guten-block](https://github.com/ahmadawais/create-guten-block)
   by Ahmad Awais and compiled it to provide a non minified version of the block.
 * The following is a fragment of the code with the line of code it was having problems
   with highlighted.
 *     ```
       var _wp$blocks = wp.blocks,
           registerBlockType = _wp$blocks.registerBlockType,
           InspectorControls = _wp$blocks.InspectorControls; // Import registerBlockType() from wp.blocks
   
       <strong>var BlockControls = wp.editor.BlockControls;</strong>
       var Fragment = wp.element.Fragment;
       /**
       ```
   

Viewing 1 replies (of 1 total)