Сергей Ванюшкин 2023-10-16 15:41:31 +03:00
parent 6af1d3c7cb
commit 2c6c2ebbe9
2 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,7 @@ LANGUAGES = ["ru"]
BABEL_TRANSLATION_DIRECTORIES = os.path.join(os.path.curdir, "translations") BABEL_TRANSLATION_DIRECTORIES = os.path.join(os.path.curdir, "translations")
basedir = os.path.abspath(os.path.dirname(__file__)) basedir = os.path.abspath(os.path.dirname(__file__))
CKEDITOR_PKG_TYPE = "full" CKEDITOR_PKG_TYPE = "standard"
CKEDITOR_SERVE_LOCAL = True CKEDITOR_SERVE_LOCAL = True
CKEDITOR_ENABLE_CODESNIPPET = True CKEDITOR_ENABLE_CODESNIPPET = True
CKEDITOR_CODE_THEME = "monokai_sublime" CKEDITOR_CODE_THEME = "monokai_sublime"

View File

@ -10,4 +10,5 @@
{{ ckeditor.load() }} {{ ckeditor.load() }}
{{ ckeditor.config(name='title', serve_local=True, pkg_type='basic')}} {{ ckeditor.config(name='title', serve_local=True, pkg_type='basic')}}
{{ ckeditor.config(name='description', serve_local=True, pkg_type='basic')}} {{ ckeditor.config(name='description', serve_local=True, pkg_type='basic')}}
{{ ckeditor.config(name='text', serve_local=False, pkg_type='full-all')}}
{% endblock %} {% endblock %}