<commit_before>= content_for :session do
  #session
    = render :partial => 'shared/session'
= content_for :title do
  = "Edit #{@activity.name}"
= content_for :container_css_classes, 'itsi-edit'

= render :partial => "edit_header", locals: {show_publication_details: false}

:javascript
  window.ITSIEditorTinyMCEConfig = {
      menubar: false,
      statusbar: false,
      toolbar_items_size: 'small',
      toolbar: "undo redo | bold italic strikethrough underline | " +
        "aligncenter alignjustify alignleft alignright indent outdent | " +
        "subscript superscript | numlist bullist | link unlink | hr image table",
      plugins: 'paste link hr image table autoresize',
      paste_as_text: true,
      content_css: "#{asset_path('tinymce.css')}"
    }

#itsi-editor

:javascript
  ITSIEditor = React.createElement(modulejs.require('components/itsi_authoring/editor'), gon.ITSIEditor);
  React.render(ITSIEditor, $('#itsi-editor')[0]);<commit_msg>remove table from ITSI rich text editor<commit_after>= content_for :session do
  #session
    = render :partial => 'shared/session'
= content_for :title do
  = "Edit #{@activity.name}"
= content_for :container_css_classes, 'itsi-edit'

= render :partial => "edit_header", locals: {show_publication_details: false}

:javascript
  window.ITSIEditorTinyMCEConfig = {
      menubar: false,
      statusbar: false,
      toolbar_items_size: 'small',
      toolbar: "undo redo | bold italic strikethrough underline | " +
        "aligncenter alignjustify alignleft alignright indent outdent | " +
        "subscript superscript | numlist bullist | link unlink | hr image",
      plugins: 'paste link hr image autoresize',
      paste_as_text: true,
      content_css: "#{asset_path('tinymce.css')}"
    }

#itsi-editor

:javascript
  ITSIEditor = React.createElement(modulejs.require('components/itsi_authoring/editor'), gon.ITSIEditor);
  React.render(ITSIEditor, $('#itsi-editor')[0]);
{'fraction_non_alphanumeric': 0.12012320328542095, 'fraction_numerical': 0.001026694045174538, 'mean_word_length': 4.2533692722371965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3744235', 'n_tokens_mistral': 622, 'n_tokens_neox': 613, 'n_words': 143}