Skin supportEdit this page
First of all, you need to download and extract your skin in the web directory. For that, you have two possibilities:
- Directly put it in the web directory (
- Put it in the
/Resources/public/directory of any of your bundles and install the assets.
Then, to use your skin, just need to register it globally in your configuration:
1 2 3 4 5 6
# app/config/config.yml fos_ck_editor: default_config: my_config configs: my_config: skin: "skin_name,/bundles/mybundle/skins/skin_name/"
Or you can do it in your widget:
1 2 3
$builder->add('field', 'ckeditor', array( 'config' => array('skin' => 'skin_name,/bundles/mybundle/skins/skin_name/'), ));
The skin path must be an absolute path relative to the `web` directory.