Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.48 KB

index.rst

File metadata and controls

55 lines (39 loc) · 1.48 KB

Getting started with FOSCKEditorBundle

.. toctree::
    :hidden:

    installation
    migration
    usage/index

Overview

The bundle integrates CKEditor into Symfony via the Form Component. It automatically registers a new type called ckeditor which can be fully configured. This type extends the textarea one, meaning all textarea options are available.

Here, an example where we customize the CKEditor config:

use FOS\CKEditorBundle\Form\Type\CKEditorType;

$builder->add('field', CKEditorType::class, [
    'config' => [
        'uiColor' => '#ffffff',
        //...
    ],
]);

Installation

To install the bundle, please, read the :doc:`Installation documentation <installation>`.

Migration from IvoryCKEditorBundle to FOSCKEditorBundle

As IvoryCKEditorBundle was abandoned, FriendsOfSymfony took this bundle over, to help you easily migrate :doc:`just follow our guide <migration>`.

Usage

If you want to learn more, this documentation covers the following use cases:

Contributing