<commit_before>/**
 * Starter for text edit view.
 *
 * @author <NAME> from Ubrainians for imCode
 * 16.02.18
 */
Imcms.require(
    ["imcms-text-editor-initializer", "imcms-image-editor-initializer"],

    function (textEditorInitializer, imageEditorInitializer) {
        textEditorInitializer.initEditor();
        imageEditorInitializer.initEditor();
    }
);<commit_msg>IMCMS-233 - Apply new UI to the admin panel and editors: - Editor focused when on edit text view loaded.<commit_after>/**
 * Starter for text edit view.
 *
 * @author <NAME> from Ubrainians for imCode
 * 16.02.18
 */
Imcms.require(
    ["imcms-text-editor-initializer", "imcms-image-editor-initializer", "tinyMCE"],

    function (textEditorInitializer, imageEditorInitializer, tinyMCE) {
        textEditorInitializer.initEditor();
        imageEditorInitializer.initEditor();
        tinyMCE.activeEditor.fire("focus");
    }
);
{'fraction_non_alphanumeric': 0.12596685082872927, 'fraction_numerical': 0.016574585635359115, 'mean_word_length': 3.7936507936507935, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1918864', 'n_tokens_mistral': 294, 'n_tokens_neox': 271, 'n_words': 62}