Closed ahalejcio closed 7 years ago
@ahalejcio to do that, please use new JsExpression('nameJsFunction')
. Thats why that object was created on Yii2. ;)
This (e.g. new JsExpression("...") ) should be in the documentation for the Widget. It would save people a lot of time.
Thanks @ermGit
Hi, I found problem with assign tinymce to file browser (function) sample code:
this generate something like this: "file_picker_callback":"nameJsFunction" but nameJsFunction, can't be in quotations.
Sample solution, maybe is something better, but that works for me:
TinyMce.php after $options
i guess something like this is should be for "file_browser_callback" too,