In method "getFunctions" of StfalconTinymceExtension class can you change the line
'tinymce_init' => new \Twig_Function_Method($this, 'tinymceInit', array('is_safe' => array('html')))
by
new \Twig_SimpleFunction('tinymce_init', [$this, 'tinymceInit'], ['is_safe' => ['html']])
Hi,
In method "getFunctions" of StfalconTinymceExtension class can you change the line
'tinymce_init' => new \Twig_Function_Method($this, 'tinymceInit', array('is_safe' => array('html')))
bynew \Twig_SimpleFunction('tinymce_init', [$this, 'tinymceInit'], ['is_safe' => ['html']])
Thks Jérém