gestioCOF/kfet/cms/hooks.py
2018-10-06 13:15:33 +02:00

10 lines
316 B
Python

from django.contrib.staticfiles.templatetags.staticfiles import static
from django.utils.html import format_html
from wagtail.wagtailcore import hooks
@hooks.register("insert_editor_css")
def editor_css():
return format_html(
'<link rel="stylesheet" href="{}">', static("kfetcms/css/editor.css")
)