<commit_before>if (typeof tinyMCE != 'undefined') {
    tinymce.init({
        selector: ".mceEditor",
        remove_script_host : false,
        convert_urls : false,
        relative_urls: false,
        height : 400,
        file_browser_callback: function (field_name, url, type, win) {
            var frame = tinyMCE.activeEditor.windowManager.open({
                file: window.__filebrowser_url + '?pop=2&type=' + type,
                width: 820,
                height: 500,
                resizable: "yes",
                scrollbars: "yes",
                inline: "yes",
                close_previous: "no"
            }, {
                window: win,
                input: field_name,
                editor_id: tinyMCE.editors[0].id
            });

            window.tinymce_activeEditor = tinyMCE.activeEditor;
            window.tinymce_activeFrame = frame;
            window.tinymce_activeInput = field_name;
            return false;
        },

        theme: "modern",
        plugins: [
            "advlist autolink lists link image charmap print preview hr anchor pagebreak",
            "searchreplace wordcount visualblocks visualchars code fullscreen",
            "insertdatetime media nonbreaking save table contextmenu directionality",
            "template paste caption"
        ],
        content_css: "/static/css/tinymce.css",

        toolbar1: "insertfile undo redo | styleselect | bold italic lineheight dropcaps blockquote | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image caption",
        toolbar2: "fullscreen print preview media | fontselect fontsizeselect forecolor backcolor",
        image_advtab: true,
        templates: [
            {title: 'Test template 1', content: 'Test 1'},
            {title: 'Test template 2', content: 'Test 2'}
        ],
        formats : {
            dropcaps: {inline: 'span', classes: "dropcaps"},
            lineheight: {block: 'p', styles: {'lineHeight': '%value'}},
            blockquote: {block: 'blockquote', classes: "blockquote"}
        },<commit_msg>tinyMCE fontselect removed fron library<commit_after>if (typeof tinyMCE != 'undefined') {
    tinymce.init({
        selector: ".mceEditor",
        remove_script_host : false,
        convert_urls : false,
        relative_urls: false,
        height : 400,
        file_browser_callback: function (field_name, url, type, win) {
            var frame = tinyMCE.activeEditor.windowManager.open({
                file: window.__filebrowser_url + '?pop=2&type=' + type,
                width: 820,
                height: 500,
                resizable: "yes",
                scrollbars: "yes",
                inline: "yes",
                close_previous: "no"
            }, {
                window: win,
                input: field_name,
                editor_id: tinyMCE.editors[0].id
            });

            window.tinymce_activeEditor = tinyMCE.activeEditor;
            window.tinymce_activeFrame = frame;
            window.tinymce_activeInput = field_name;
            return false;
        },

        theme: "modern",
        plugins: [
            "advlist autolink lists link image charmap print preview hr anchor pagebreak",
            "searchreplace wordcount visualblocks visualchars code fullscreen",
            "insertdatetime media nonbreaking save table contextmenu directionality",
            "template paste caption"
        ],
        content_css: "/static/css/tinymce.css",

        toolbar1: "insertfile undo redo | styleselect | bold italic lineheight dropcaps blockquote | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image caption",
        toolbar2: "fullscreen print preview media | fontsizeselect forecolor backcolor",
        image_advtab: true,
        templates: [
            {title: 'Test template 1', content: 'Test 1'},
            {title: 'Test template 2', content: 'Test 2'}
        ],
        formats : {
            dropcaps: {inline: 'span', classes: "dropcaps"},
            lineheight: {block: 'p', styles: {'lineHeight': '%value'}},
            blockquote: {block: 'blockquote', classes: "blockquote"}
        },
{'fraction_non_alphanumeric': 0.09745661991918232, 'fraction_numerical': 0.008081768481102924, 'mean_word_length': 2.0100143061516453, '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': '644836', 'n_tokens_mistral': 1153, 'n_tokens_neox': 1082, 'n_words': 303}