FOSCKEditorBundle Installation
artgris_file_manager:
conf:
files:
dir: "%kernel.project_dir%/public/uploads"
type: 'file'
images:
dir: "%kernel.project_dir%/public/uploads"
type: 'image'
fos_ck_editor:
default_config: basic_config
configs:
basic_config:
toolbar: full
filebrowserBrowseRoute: file_manager
filebrowserBrowseRouteParameters:
conf: files
module: ckeditor
filebrowserImageBrowseRoute: file_manager
filebrowserImageBrowseRouteParameters:
conf: images
module: ckeditor
use FOS\CKEditorBundle\Form\Type\CKEditorType;
$builder->add('ckeditor', CKEditorType::class, array(
'config_name' => 'basic_config',
));