diff --git a/Resources/views/Form/ckeditor_widget.html.twig b/Resources/views/Form/ckeditor_widget.html.twig index 3ac2a5d9..c4a1d5c2 100644 --- a/Resources/views/Form/ckeditor_widget.html.twig +++ b/Resources/views/Form/ckeditor_widget.html.twig @@ -32,7 +32,7 @@ templates_files: {{ templates_files_array|json_encode }}, {% endif %} {% if extra_allowed_content is not null %} - extraAllowedContent: {% if extra_allowed_content is not same as(true) %}'{{ extra_allowed_content }}'{% else %}true{% endif %}, + extraAllowedContent: {% if extra_allowed_content == 'true' %}true{% else %}'{{ extra_allowed_content }}'{% endif %}, {% endif %} {% if height is not null %} height: '{{ height }}',