Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 790406f

Browse files
committed
move to FOSCKEditor-Bundle
1 parent 5fa9d85 commit 790406f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"matthiasnoback/symfony-dependency-injection-test": "^1.1",
3838
"matthiasnoback/symfony-config-test": "^2.1",
3939
"burgov/key-value-form-bundle": "^1.0",
40-
"egeloen/ckeditor-bundle": "^4.0",
4140
"symfony/asset": "^2.8 || ^3.3 || ^4.0",
4241
"symfony/browser-kit": "^2.8 || ^3.3 || ^4.0",
43-
"symfony/css-selector": "^2.8 || ^3.3 || ^4.0"
42+
"symfony/css-selector": "^2.8 || ^3.3 || ^4.0",
43+
"friendsofsymfony/ckeditor-bundle": "^1.0"
4444
},
4545
"suggest": {
4646
"symfony-cmf/routing-bundle": "To make use of the alternate locale provider.",

src/Admin/Content/StaticContentAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Content;
1313

14-
use Ivory\CKEditorBundle\Form\Type\CKEditorType;
14+
use FOS\CKEditorBundle\Form\Type\CKEditorType;
1515
use Sonata\AdminBundle\Datagrid\DatagridMapper;
1616
use Sonata\AdminBundle\Datagrid\ListMapper;
1717
use Sonata\AdminBundle\Form\FormMapper;

src/DependencyInjection/Factory/ContentAdminFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\DependencyInjection\Factory;
1313

14-
use Ivory\CKEditorBundle\IvoryCKEditorBundle;
1514
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
1615
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
1716
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -63,7 +62,7 @@ public function create(array $config, ContainerBuilder $container, XmlFileLoader
6362
$loader->load('content.xml');
6463

6564
$message = 'IvoryCKEditorBundle integration was explicitely enabled, but the bundle is not available.';
66-
if (class_exists(IvoryCKEditorBundle::class)) {
65+
if (class_exists(FOSCKEditorBundle::class)) {
6766
$message .= ' (did you forget to register the bundle in the AppKernel?)';
6867
}
6968

tests/Fixtures/App/config/bundles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle::class => ['all' => true],
2828
Symfony\Cmf\Bundle\ContentBundle\CmfContentBundle::class => ['all' => true],
2929
JMS\SerializerBundle\JMSSerializerBundle::class => ['all' => true],
30-
Ivory\CKEditorBundle\IvoryCKEditorBundle::class => ['all' => true],
3130
SonataBlockBundle::class => ['all' => true],
3231
SonataCoreBundle::class => ['all' => true],
3332
SonataAdminBundle::class => ['all' => true],
3433
KnpMenuBundle::class => ['all' => true],
3534
SonataDoctrinePHPCRAdminBundle::class => ['all' => true],
3635
CmfTreeBrowserBundle::class => ['all' => true],
36+
\FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
3737
];

0 commit comments

Comments
 (0)