<commit_before><form name="widget-form-{{type}}">
  <div class="form-group">
    <label for="widget-form-{{type}}-title">Title</label>
    <input name="title" value="{{title}}" type="text" class="form-control" id="widget-form-{{type}}-title" placeholder="Widget title">
  </div>
  <div class="form-group">
    <label for="widget-form-{{type}}-html">HTML</label>
    <textarea rows="10" name="html" class="form-control" id="widget-form-{{type}}-html">{{configuration.html}}</textarea>
  </div>

  {{{controllFields}}}

  {{#if id}}
    <input type="hidden" name="id" value="{{id}}"><commit_msg>add editor in widget html body and close wejs/we#100<commit_after><form name="widget-form-{{type}}">
  <div class="form-group">
    <label for="widget-form-{{type}}-title">Title</label>
    <input name="title" value="{{title}}" type="text" class="form-control" id="widget-form-{{type}}-title" placeholder="Widget title">
  </div>
  <div class="form-group">
    <label for="widget-form-{{type}}-html">HTML</label>
    <textarea rows="10" name="html" class="form-control" id="widget-form-{{type}}-html" we-editor-height="300">{{configuration.html}}</textarea>

    <script>$(document).ready(function() {
    we.components.editor.init('#widget-form-{{type}}-html');
    });</script>

  </div>

  {{{controllFields}}}

  {{#if id}}
    <input type="hidden" name="id" value="{{id}}">
{'fraction_non_alphanumeric': 0.24726477024070023, 'fraction_numerical': 0.007293946024799417, 'mean_word_length': 5.32258064516129, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '1049819', 'n_tokens_mistral': 474, 'n_tokens_neox': 444, 'n_words': 75}