<commit_before>import Quill from "quill";

const editRichText = {
  init() {
    const editorEl = document.querySelector(".js-rich-text-editor-container");

    if (!editorEl) return; // don't init the quill editor if no editor el exists

    const quill = new Quill(editorEl, {
      modules: {
        toolbar: [
          [{ header: [1, 2, 3, false] }],
          ["bold", "italic", "underline", "strike", "blockquote"],
          [
            { list: "ordered" },
            { list: "bullet" },
            { indent: "-1" },
            { indent: "+1" },
          ],
          ["link", "image"],
          ["clean"],
        ],<commit_msg>remove image from rich text editor<commit_after>import Quill from "quill";

const editRichText = {
  init() {
    const editorEl = document.querySelector(".js-rich-text-editor-container");

    if (!editorEl) return; // don't init the quill editor if no editor el exists

    const quill = new Quill(editorEl, {
      modules: {
        toolbar: [
          [{ header: [1, 2, 3, false] }],
          ["bold", "italic", "underline", "strike", "blockquote"],
          [
            { list: "ordered" },
            { list: "bullet" },
            { indent: "-1" },
            { indent: "+1" },
          ],
          ["link"],
          ["clean"],
        ],
{'fraction_non_alphanumeric': 0.1664110429447853, 'fraction_numerical': 0.007668711656441718, 'mean_word_length': 1.8431372549019607, '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': '895935', 'n_tokens_mistral': 393, 'n_tokens_neox': 382, 'n_words': 104}