Skip to content

Commit 9d4cd4f

Browse files
authored
Fix twig paths for Symfony 5.3 compatibility (#233)
Twig on Symfony 5.3 can't find `ckekditor.html.twig` with old paths.
1 parent 55745f0 commit 9d4cd4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/append-javascript.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ we will configure CKEditor to not remove empty span via the DTD.
88
Twig Template
99
-------------
1010

11-
The default Twig template is ``FOSCKEditorBundle:Form:ckeditor_widget.html.twig``.
11+
The default Twig template is ``"@FOSCKEditor/Form/ckeditor_widget.html.twig"``.
1212
This one has some blocks you can override according to your needs.
1313

1414
.. code-block:: twig
1515
1616
{# app/Resources/views/Form/ckeditor_widget.html.twig #}
17-
{% extends 'FOSCKEditorBundle:Form:ckeditor_widget.html.twig' %}
17+
{% extends '@FOSCKEditor/Form/ckeditor_widget.html.twig' %}
1818
1919
{% block ckeditor_widget_extra %}
2020
CKEDITOR.dtd.$removeEmpty['span'] = false;

0 commit comments

Comments
 (0)