diff --git a/djangocms_text_ckeditor/cms_plugins.py b/djangocms_text_ckeditor/cms_plugins.py index 2d0bc5cbc..cba798eb5 100644 --- a/djangocms_text_ckeditor/cms_plugins.py +++ b/djangocms_text_ckeditor/cms_plugins.py @@ -551,7 +551,7 @@ def inline_editing_active(self, request): ) def render(self, context, instance, placeholder): - if self.inline_editing_active(context["request"]): + if self.inline_editing_active(context.get("request")): ckeditor_settings = self.get_editor_widget( context["request"], self.get_plugins(instance), instance ).get_ckeditor_settings(get_language().split("-")[0])