Skip to content

Commit

Permalink
Fix elfinder_tinymce_init4 duplicate definition (#473)
Browse files Browse the repository at this point in the history
There was double elfinder_tinymce_init4 definition which made it impossible to load tinymce4 resource.
  • Loading branch information
magik092 authored Jan 21, 2022
1 parent 0b3c0b2 commit a83f0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Extension/FMElfinderExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
];
}
Expand Down

0 comments on commit a83f0c7

Please sign in to comment.