From edb776e9d2e9bf40c66aee61951145ede73b7ae2 Mon Sep 17 00:00:00 2001 From: Godefroid Chapelle Date: Thu, 23 Nov 2023 17:21:44 +0100 Subject: [PATCH] Include CKeditor resources only when logged in. --- docs/HISTORY.txt | 2 +- src/collective/ckeditor/profiles/default/registry.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index ede4576f..0e801c6e 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -4,7 +4,7 @@ Changelog 5.0.0b4 (unreleased) -------------------- -- Nothing changed yet. +- Include CKeditor resources only when user is logged in. 5.0.0b3 (2023-11-13) diff --git a/src/collective/ckeditor/profiles/default/registry.xml b/src/collective/ckeditor/profiles/default/registry.xml index 17769d37..a2114c8b 100644 --- a/src/collective/ckeditor/profiles/default/registry.xml +++ b/src/collective/ckeditor/profiles/default/registry.xml @@ -168,6 +168,7 @@ False ckeditor_vars.js 2021-10-15 12:30:00 + python: member is not None collective.ckeditor.ckeditor_vars @@ -175,6 +176,7 @@ False ++resource++ckeditor/ckeditor.js 2021-10-15 12:30:00 + python: member is not None collective.ckeditor.ckeditor_js @@ -182,5 +184,6 @@ False ++resource++ckeditor_for_plone/ckeditor_plone.js 2021-10-15 12:30:00 + python: member is not None