protected function addTinyMCEInAssetic(ContainerBuilder $container, array $config)
    {
        if ($config['tinymce_dir'] !== false) {
            $container->prependExtensionConfig('assetic', array(
                'assets' => array(
                    'tinymce_js' => $config['tinymce_dir'].'/'.$config['js'],
                    'config' => $config['config'],
                ),
            ));
        }
    }