From 2c6c2ebbe93c638194159cb44106d75f0222bc33 Mon Sep 17 00:00:00 2001 From: sergey Date: Mon, 16 Oct 2023 15:41:31 +0300 Subject: [PATCH] fix --- pyproger/config.py | 2 +- pyproger/templates/admin/edit.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproger/config.py b/pyproger/config.py index c163d22..79240a1 100755 --- a/pyproger/config.py +++ b/pyproger/config.py @@ -41,7 +41,7 @@ LANGUAGES = ["ru"] BABEL_TRANSLATION_DIRECTORIES = os.path.join(os.path.curdir, "translations") basedir = os.path.abspath(os.path.dirname(__file__)) -CKEDITOR_PKG_TYPE = "full" +CKEDITOR_PKG_TYPE = "standard" CKEDITOR_SERVE_LOCAL = True CKEDITOR_ENABLE_CODESNIPPET = True CKEDITOR_CODE_THEME = "monokai_sublime" diff --git a/pyproger/templates/admin/edit.html b/pyproger/templates/admin/edit.html index 4ae4cb5..4b117c0 100644 --- a/pyproger/templates/admin/edit.html +++ b/pyproger/templates/admin/edit.html @@ -10,4 +10,5 @@ {{ ckeditor.load() }} {{ ckeditor.config(name='title', 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 %}