stfalcon/TinymceBundle

Can not override the default configuration by passing an option in TWIG

casaulenbo opened this issue · 3 comments

I have just install the lastest version, when i try the code below, it does not work at all.
It seems we can not override the default configuration by passing an option in TWIG

{{ tinymce_init({'use_callback_tinymce_init': true, 'theme': {'simple': {'menubar': false}}}) }}

Does the instruction correct?
https://github.com/stfalcon/TinymceBundle#include-in-template

Best regards

I have the same issue. Looking at the code, this parameters are not event taken by the function.

I have figured out the reason but i forgot to update the answer, sorry for that.
If you install by command [composer require symfony/stfalcon/tinymce-bundle] the source code is out of date.
Handle this issues is quiet simple: just download the source code from [https://github.com/stfalcon/TinymceBundle] and overwrite the "out of date source code" the problem will be gone.
Good luck!

We are currently working on a forked project, if you're interested :)