Skip to content

Commit

Permalink
Include CKeditor resources only when logged in.
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Nov 23, 2023
1 parent ff7562e commit edb776e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/collective/ckeditor/profiles/default/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,22 @@
<value key="compile">False</value>
<value key="jscompilation">ckeditor_vars.js</value>
<value key="last_compilation">2021-10-15 12:30:00</value>
<value key="expression">python: member is not None</value>
</records>
<records prefix="plone.bundles/collective.ckeditor.ckeditor_js" interface="Products.CMFPlone.interfaces.IBundleRegistry">
<value key="depends">collective.ckeditor.ckeditor_vars</value>
<value key="enabled">True</value>
<value key="compile">False</value>
<value key="jscompilation">++resource++ckeditor/ckeditor.js</value>
<value key="last_compilation">2021-10-15 12:30:00</value>
<value key="expression">python: member is not None</value>
</records>
<records prefix="plone.bundles/collective.ckeditor.ckeditor_plone" interface="Products.CMFPlone.interfaces.IBundleRegistry">
<value key="depends">collective.ckeditor.ckeditor_js</value>
<value key="enabled">True</value>
<value key="compile">False</value>
<value key="jscompilation">++resource++ckeditor_for_plone/ckeditor_plone.js</value>
<value key="last_compilation">2021-10-15 12:30:00</value>
<value key="expression">python: member is not None</value>
</records>
</registry>

0 comments on commit edb776e

Please sign in to comment.