{"size": 587, "ext": "js", "max_stars_repo_path": "Resources/Web/src/admin/js/editor.js", "max_stars_repo_name": "AxelCB/novel", "max_stars_repo_stars_event_min_datetime": "2016-12-20T21:58:42.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-15T00:21:25.000Z", "max_issues_repo_path": "Resources/Web/src/admin/js/editor.js", "max_issues_repo_name": "AxelCB/novel", "max_issues_repo_issues_event_min_datetime": "2017-04-11T17:38:17.000Z", "max_issues_repo_issues_event_max_datetime": "2019-01-18T17:53:37.000Z", "max_forks_repo_path": "Resources/Web/src/admin/js/editor.js", "max_forks_repo_name": "AxelCB/novel", "max_forks_repo_forks_event_min_datetime": "2017-01-24T13:14:35.000Z", "max_forks_repo_forks_event_max_datetime": "2020-04-04T16:18:48.000Z"}
{"max_stars_count": 74, "max_issues_count": 2, "max_forks_count": 16, "avg_line_length": 24.4583333333, "max_line_length": 57, "alphanum_fraction": 0.4599659284}
$(function() {
  $(".editor-container").each(function() {
    var quill = new Quill(this, {
      modules: {
        toolbar: [
          ['bold', 'italic'],
          ['link', 'blockquote', 'code-block'],
          [{ list: 'ordered' }, { list: 'bullet' }]
        ]
      },
      placeholder: '',
      theme: 'snow'
    });
	});

  $("#form").submit(function(event) {
    $(this).find('.editor-container').each(function() {
      var id = 'field_' + this.id.replace('editor_', '');
      var value = $(this).find(".ql-editor").html();
      $('#' + id).val(value);
    });
  });
});
