From c981b8d37041185ed61345ab9183017e455f0268 Mon Sep 17 00:00:00 2001 From: desafinadude Date: Thu, 5 Dec 2024 12:57:19 +0200 Subject: [PATCH] CKEditor update --- pmg/static/resources/javascript/admin/admin.js | 3 ++- pmg/templates/admin/my_base.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pmg/static/resources/javascript/admin/admin.js b/pmg/static/resources/javascript/admin/admin.js index d947a2db..1444898d 100644 --- a/pmg/static/resources/javascript/admin/admin.js +++ b/pmg/static/resources/javascript/admin/admin.js @@ -6,7 +6,8 @@ $(function() { autoGrow_minHeight: 200, autoGrow_maxHeight: 600, disallowedContent: 'a[!name]', - allowedContent: true + allowedContent: true, + versionCheck: false }); }); }); diff --git a/pmg/templates/admin/my_base.html b/pmg/templates/admin/my_base.html index bb062aec..819fbbac 100644 --- a/pmg/templates/admin/my_base.html +++ b/pmg/templates/admin/my_base.html @@ -21,7 +21,7 @@ {% block tail_js -%} {{ super() }} - + {% assets "admin-js" %} {% endassets %}