gibilogic / tinymce-bundle

Bundle for connecting TinyMCE (WYSIWYG editor) to your Symfony2 project
7 stars 5 forks source link

allow to use file_picker_callback and file_browser_callback #22

Closed nykopol closed 8 years ago

Ingannatore commented 8 years ago

Is this basically another "adding missing configuration options" change?

nykopol commented 8 years ago

The changes in init.*.js allow to pass this two parameters that where never transmitted to TinyMCE. The change in the twig function is required as the values of this parameters are javascript function. So we have to remove the quotes to treat them as js function instead of simple string.

Ingannatore commented 8 years ago

Thanks a lot for the explanation :) Did you already test those changes?

nykopol commented 8 years ago

yes