from evibes.utils import evibes_summernote_upload_to_func

SUMMERNOTE_THEME = "bs4"
SUMMERNOTE_CONFIG = {
    "iframe": True,
    "summernote": {
        "lang": None,
        "toolbar": [
            ["style", ["style"]],
            ["font", ["bold", "underline", "clear"]],
            ["fontname", ["fontname"]],
            ["color", ["color"]],
            ["para", ["ul", "ol", "paragraph"]],
            ["table", ["table"]],
            ["insert", ["link", "picture", "video"]],
            ["view", ["fullscreen", "codeview", "help"]],
        ],
    },
    "attachment_upload_to": evibes_summernote_upload_to_func,
    "attachment_require_authentication": True,
    "disable_attachment": False,
    "attachment_absolute_uri": True,
}
