{"size": 551, "ext": "js", "max_stars_repo_path": "modules/plugins/image/index.js", "max_stars_repo_name": "devrieda/react-editor", "max_stars_repo_stars_event_min_datetime": "2015-01-20T17:19:08.000Z", "max_stars_repo_stars_event_max_datetime": "2015-04-08T12:19:56.000Z", "max_issues_repo_path": "modules/plugins/image/index.js", "max_issues_repo_name": "devrieda/react-editor", "max_issues_repo_issues_event_min_datetime": "2015-04-08T12:20:45.000Z", "max_issues_repo_issues_event_max_datetime": "2015-04-08T21:13:22.000Z", "max_forks_repo_path": "modules/plugins/image/index.js", "max_forks_repo_name": "devrieda/react-editor", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 22.9583333333, "max_line_length": 50, "alphanum_fraction": 0.6751361162}
import Block from "./Image";
import ReturnKey from "./ImageReturnKey";
import './Image.scss';

// figure
import BspaceKey from '../shared/FigureBspaceKey';
import DeleteKey from '../shared/FigureDeleteKey';
import '../shared/Figure.scss';
import '../shared/FigCaption.scss';

const Plugin = {
  installBlocks(config) {
    config.use(Block);
  },

  installKeys(config) {
    config.use(ReturnKey, { before: 'return' });
    config.use(BspaceKey, { before: 'bspace' });
    config.use(DeleteKey, { before: 'delete' });
  },
};

export default Plugin;
