PhlexibleRedactorBundle
The PhlexibleSuggestBundle adds support for a redactor rich text editor field for element types in phlexible., (*1)
Installation
- Download PhlexibleRedactorBundle using composer
- Enable the Bundle
- Clear the symfony cache
Step 1: Download PhlexibleRedactorBundle using composer
Add PhlexibleRedactorBundle by running the command:, (*2)
``` bash
$ php composer.phar require phlexible/redactor-bundle "~1.0.0", (*3)
Composer will install the bundle to your project's `vendor/phlexible` directory.
### Step 2: Enable the bundle
Enable the bundle in the kernel:
``` php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Phlexible\Bundle\RedactorBundle\PhlexibleRedactorBundle(),
);
}
Step 3: Clear the symfony cache
If you access your phlexible application with environment prod, clear the cache:, (*4)
bash
$ php app/console cache:clear --env=prod
, (*5)