<commit_before>var ProseEditorPackage = require('substance/packages/prose-editor/ProseEditorPackage');
var ImagePackage = require('substance/packages/image/ImagePackage');

module.exports = function(config) {

  // Base package with default rich text nodes
  config.import(ProseEditorPackage);
  // Custom packages
  config.import(ImagePackage, {icon: 'fa-image'});
 
};<commit_msg>Activate save tool.<commit_after>var ProseEditorPackage = require('substance/packages/prose-editor/ProseEditorPackage');
var ImagePackage = require('substance/packages/image/ImagePackage');

var SaveCommand = require('substance/ui/SaveCommand');
var SaveTool = require('substance/ui/SaveTool');

module.exports = function(config) {
  // Base package with default rich text nodes
  config.import(ProseEditorPackage);
  // Custom packages
  config.import(ImagePackage, {icon: 'fa-image'});

  // Activate save tool
  config.addCommand(SaveCommand);
  config.addTool(SaveTool, {icon: 'fa-save'});
};
{'fraction_non_alphanumeric': 0.1329243353783231, 'fraction_numerical': 0.0, 'mean_word_length': 5.894366197183099, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5421948', 'n_tokens_mistral': 285, 'n_tokens_neox': 281, 'n_words': 57}