wp.editor.initialize() breaks when support for ‘editor’ is added to custom post type

wp.editor.initialize() breaks when support for ‘editor’ is added to custom post type