diff --git a/src/Twig/Extension/FMElfinderExtension.php b/src/Twig/Extension/FMElfinderExtension.php index 8795205..9b3ada7 100644 --- a/src/Twig/Extension/FMElfinderExtension.php +++ b/src/Twig/Extension/FMElfinderExtension.php @@ -30,7 +30,7 @@ public function getFunctions() return [ new TwigFunction('elfinder_tinymce_init', [$this, 'tinymce'], $options), new TwigFunction('elfinder_tinymce_init4', [$this, 'tinymce4'], $options), - new TwigFunction('elfinder_tinymce_init4', [$this, 'tinymce5'], $options), + new TwigFunction('elfinder_tinymce_init5', [$this, 'tinymce5'], $options), new TwigFunction('elfinder_summernote_init', [$this, 'summernote'], $options), ]; }