<commit_before>﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Html;
using System.Runtime.CompilerServices;

namespace Serenity
{
    /// <summary>
    /// Options for the CKEditor
    /// </summary>
    [Imported, Serializable]
    public class CKEditorConfig
    {
        public string CustomConfig { get; set; }
        public string ContentsCss { get; set; }
        public bool AutoUpdateElement { get; set; }
        public string DefaultLanguage { get; set; }
        public String Height { get; set; }
        public String Width { get; set; }
        public Int32 TabIndex { get; set; }
        public Int32 BaseFloatZIndex { get; set; }
        public string Language { get; set; }
        public string BodyClass { get; set; }
        public string Plugins { get; set; }
        public string ExtraPlugins { get; set; }
        public string RemovePlugins { get; set; }
        public CKToolbarGroup[] ToolbarGroups { get; set; }
        public string RemoveButtons { get; set; }
        [ScriptName("format_tags")]
        public string FormatTags { get; set; }
        public string RemoveDialogTabs { get; set; }
        public CKEditorEvents On { get; set; }

        public bool Entities { get; set; }
        [ScriptName("entities_latin")]
        public bool EntitiesLatin { get; set; }
        [ScriptName("entities_greek")]
        public bool EntitiesGreek { get; set; }
        [ScriptName("entities_additional")]
        public string EntitiesAdditional { get; set; }
    }

    [Imported, Serializable]
    public class CKEditorEvents
    {
        public Action<CKEditorEventArgs> InstanceReady;
        public Action<CKEditorEventArgs> Change;
    }

    [Imported, Serializable]
    public class CKEditorEventArgs
    {<commit_msg>add filebrowserbrowseurl<commit_after>﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Html;
using System.Runtime.CompilerServices;

namespace Serenity
{
    /// <summary>
    /// Options for the CKEditor
    /// </summary>
    [Imported, Serializable]
    public class CKEditorConfig
    {
        public string CustomConfig { get; set; }
        public string ContentsCss { get; set; }
        public bool AutoUpdateElement { get; set; }
        public string DefaultLanguage { get; set; }
        public String Height { get; set; }
        public String Width { get; set; }
        public Int32 TabIndex { get; set; }
        public Int32 BaseFloatZIndex { get; set; }
        public string Language { get; set; }
        public string BodyClass { get; set; }
        public string Plugins { get; set; }
        public string ExtraPlugins { get; set; }
        public string RemovePlugins { get; set; }
        public CKToolbarGroup[] ToolbarGroups { get; set; }
        public string RemoveButtons { get; set; }
        [ScriptName("format_tags")]
        public string FormatTags { get; set; }
        public string RemoveDialogTabs { get; set; }
        public CKEditorEvents On { get; set; }

        public bool Entities { get; set; }
        [ScriptName("entities_latin")]
        public bool EntitiesLatin { get; set; }
        [ScriptName("entities_greek")]
        public bool EntitiesGreek { get; set; }
        [ScriptName("entities_additional")]
        public string EntitiesAdditional { get; set; }

        public string FilebrowserBrowseUrl { get; set; }
    }

    [Imported, Serializable]
    public class CKEditorEvents
    {
        public Action<CKEditorEventArgs> InstanceReady;
        public Action<CKEditorEventArgs> Change;
    }

    [Imported, Serializable]
    public class CKEditorEventArgs
    {
{'fraction_non_alphanumeric': 0.09053722388873739, 'fraction_numerical': 0.00218161985274066, 'mean_word_length': 2.568093385214008, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3738277', 'n_tokens_mistral': 1012, 'n_tokens_neox': 983, 'n_words': 312}