{
    "name": "EasyMDE",
    "id": "easymde",
    "description": "Éditeur Markdown moderne avec EasyMDE, supportant l'upload d'images, YouTube, TikTok et bien plus encore.",
    "author": "Flatboard Team",
    "email": "stradfred@gmail.com",
    "website": "https://github.com/Ionaru/easy-markdown-editor",
    "version": "2.3.15",
    "update_url": "api/plugins/easymde",
    "date": "2026-07-11",
    "license": "GPL3",
    "active": "1",
    "priority": 50,
    "cantDisable": "1",
    "class": "App\\Plugins\\EasyMDE\\EasyMDEPlugin",
    "requires": {
        "flatboard": ">=5.6.0"
    },
    "hooks": [
        "post.create",
        "post.edit",
        "discussion.create"
    ],
    "plugin": {
        "selector": "textarea",
        "highlighting": "1",
        "display_syntax": "1",
        "spell_checker": "1",
        "height": "",
        "max_height": "",
        "status_options": "0",
        "autofocus": "1",
        "placeholder": "",
        "indent_with_tabs": "1",
        "tab_size": 2,
        "line_numbers": "0",
        "line_wrapping": "1",
        "autosave": "0",
        "autosave_delay": 10000,
        "autosave_id": "",
        "force_sync": "0",
        "preview_class": "",
        "shortcuts": "1",
        "context_toolbars": {
            "discussion-create": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "heading-smaller",
                "heading-bigger",
                "heading-1",
                "heading-2",
                "heading-3",
                "|2",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "clean-block",
                "link",
                "image",
                "upload-image",
                "table",
                "horizontal-rule",
                "|3",
                "undo",
                "redo",
                "emoji",
                "preview",
                "side-by-side",
                "fullscreen",
                "guide",
                "youtube",
                "tiktok"
            ],
            "reply": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "heading-smaller",
                "heading-bigger",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "image",
                "upload-image",
                "table",
                "emoji",
                "|2",
                "preview",
                "side-by-side",
                "fullscreen",
                "guide"
            ],
            "post-edit": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "heading-smaller",
                "heading-bigger",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "image",
                "upload-image",
                "table",
                "undo",
                "redo",
                "emoji",
                "|2",
                "preview",
                "side-by-side",
                "fullscreen",
                "guide"
            ],
            "discussion-edit": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "heading-smaller",
                "heading-bigger",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "image",
                "upload-image",
                "table",
                "undo",
                "redo",
                "emoji",
                "|2",
                "preview",
                "side-by-side",
                "fullscreen",
                "guide"
            ],
            "settings": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "preview",
                "guide"
            ],
            "pm": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "image",
                "upload-image",
                "|2",
                "preview",
                "guide"
            ],
            "page-edit": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "heading-smaller",
                "heading-bigger",
                "heading-1",
                "heading-2",
                "heading-3",
                "|",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "clean-block",
                "|",
                "link",
                "image",
                "upload-image",
                "table",
                "horizontal-rule",
                "|",
                "undo",
                "redo",
                "emoji",
                "|",
                "preview",
                "side-by-side",
                "fullscreen",
                "guide"
            ],
            "default": [
                "bold",
                "italic",
                "strikethrough",
                "|",
                "heading",
                "code",
                "quote",
                "ordered-list",
                "unordered-list",
                "link",
                "image",
                "upload-image",
                "preview",
                "guide"
            ]
        }
    },
    "form_config": {
        "form_id": "easymde_config",
        "form_title": "form_config.form_title",
        "submit_text": "form_config.submit_text",
        "fields": {
            "highlighting": {
                "type": "checkbox",
                "label": "form_config.fields.highlighting.label",
                "description": "form_config.fields.highlighting.description",
                "default": true,
                "category": "edition"
            },
            "spell_checker": {
                "type": "checkbox",
                "label": "form_config.fields.spell_checker.label",
                "description": "form_config.fields.spell_checker.description",
                "default": true,
                "category": "edition"
            },
            "autofocus": {
                "type": "checkbox",
                "label": "form_config.fields.autofocus.label",
                "description": "form_config.fields.autofocus.description",
                "default": true,
                "category": "comportement"
            },
            "line_numbers": {
                "type": "checkbox",
                "label": "form_config.fields.line_numbers.label",
                "description": "form_config.fields.line_numbers.description",
                "default": false,
                "category": "affichage"
            },
            "line_wrapping": {
                "type": "checkbox",
                "label": "form_config.fields.line_wrapping.label",
                "description": "form_config.fields.line_wrapping.description",
                "default": true,
                "category": "affichage"
            },
            "tab_size": {
                "type": "number",
                "label": "form_config.fields.tab_size.label",
                "description": "form_config.fields.tab_size.description",
                "default": 2,
                "min": 1,
                "max": 8,
                "step": 1,
                "category": "edition"
            },
            "height": {
                "type": "text",
                "label": "form_config.fields.height.label",
                "description": "form_config.fields.height.description",
                "placeholder": "form_config.fields.height.placeholder",
                "category": "affichage"
            },
            "max_height": {
                "type": "text",
                "label": "form_config.fields.max_height.label",
                "description": "form_config.fields.max_height.description",
                "placeholder": "form_config.fields.max_height.placeholder",
                "category": "affichage"
            },
            "autosave": {
                "type": "checkbox",
                "label": "form_config.fields.autosave.label",
                "description": "form_config.fields.autosave.description",
                "default": false,
                "category": "comportement"
            },
            "autosave_delay": {
                "type": "number",
                "label": "form_config.fields.autosave_delay.label",
                "description": "form_config.fields.autosave_delay.description",
                "default": 10000,
                "min": 1000,
                "max": 60000,
                "step": 1000,
                "depends_on": "autosave",
                "depends_on_value": true,
                "category": "comportement"
            },
            "shortcuts": {
                "type": "checkbox",
                "label": "form_config.fields.shortcuts.label",
                "description": "form_config.fields.shortcuts.description",
                "default": true,
                "category": "edition"
            },
            "selector": {
                "type": "text",
                "label": "form_config.fields.selector.label",
                "description": "form_config.fields.selector.description",
                "default": "textarea",
                "placeholder": "form_config.fields.selector.placeholder",
                "category": "technique"
            },
            "display_syntax": {
                "type": "checkbox",
                "label": "form_config.fields.display_syntax.label",
                "description": "form_config.fields.display_syntax.description",
                "default": true,
                "category": "edition"
            },
            "status_options": {
                "type": "checkbox",
                "label": "form_config.fields.status_options.label",
                "description": "form_config.fields.status_options.description",
                "default": false,
                "category": "affichage"
            },
            "placeholder": {
                "type": "text",
                "label": "form_config.fields.placeholder.label",
                "description": "form_config.fields.placeholder.description",
                "default": "",
                "placeholder": "form_config.fields.placeholder.placeholder",
                "category": "affichage"
            },
            "indent_with_tabs": {
                "type": "checkbox",
                "label": "form_config.fields.indent_with_tabs.label",
                "description": "form_config.fields.indent_with_tabs.description",
                "default": true,
                "category": "edition"
            },
            "autosave_id": {
                "type": "text",
                "label": "form_config.fields.autosave_id.label",
                "description": "form_config.fields.autosave_id.description",
                "default": "",
                "category": "comportement"
            },
            "force_sync": {
                "type": "checkbox",
                "label": "form_config.fields.force_sync.label",
                "description": "form_config.fields.force_sync.description",
                "default": false,
                "category": "comportement"
            },
            "preview_class": {
                "type": "text",
                "label": "form_config.fields.preview_class.label",
                "description": "form_config.fields.preview_class.description",
                "default": "",
                "category": "technique"
            }
        }
    }
}