schon/evibes/settings/summernote.py
Egor fureunoir Gorbunov ac39dedf94 Features: 1) Enable iframe support in Summernote configuration;
Fixes:

Extra: 1) Revert Summernote theme from "bs5" to "bs4".
2025-06-19 13:59:44 +03:00

20 lines
624 B
Python

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_require_authentication": True,
"disable_attachment": False,
"attachment_absolute_uri": True,
}