From be8478f9dabac53f74efc9a888f68ef98241b138 Mon Sep 17 00:00:00 2001 From: Joris Ros Date: Mon, 15 May 2017 05:59:18 +0200 Subject: [PATCH 1/4] Update editor type since symfony 2.8 --- Resources/doc/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/doc/index.md b/Resources/doc/index.md index e9abc7b..41477d6 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -123,7 +123,7 @@ Set the route and the route parameters in the ckeditor config ```php // Example for Ivory CKEditor Bundle $form = $this->createFormBuilder() - ->add('content', 'ckeditor', array( + ->add('content', CKEditorType::class, array( 'config' => array( 'filebrowserImageBrowseUrl' => array( 'route' => 'youwe_file_manager_list', @@ -131,4 +131,4 @@ $form = $this->createFormBuilder() ), ), ))->getForm(); -``` \ No newline at end of file +``` From 063f600df9358042c724ae48cb1780485c737560 Mon Sep 17 00:00:00 2001 From: Joris Ros Date: Mon, 15 May 2017 06:01:40 +0200 Subject: [PATCH 2/4] Update composer.json --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index b24dba3..ed8f406 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "symfony/finder": "^3.0", "symfony/filesystem": "^3.0", "friendsofsymfony/jsrouting-bundle": "@stable", - "symfony/assetic-bundle": "^2.8" + "symfony/assetic-bundle": "^2.8", + "egeloen/ckeditor-bundle": "^5.0", }, "suggest": { "liip/imagine-bundle": "Liip Imagine Bundle provides easy image manipulation support for Symfony2." @@ -33,4 +34,4 @@ "dev-master": "3.x-dev" } } -} \ No newline at end of file +} From ce89ad635f370e7cb41804be1e411b81946442d2 Mon Sep 17 00:00:00 2001 From: Joris Ros Date: Mon, 15 May 2017 06:03:19 +0200 Subject: [PATCH 3/4] Update minimum php version for symfony 3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ed8f406..61cc582 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": ">=5.3.2", + "php": ">=5.5.9", "symfony/framework-bundle": "^3.0", "symfony/finder": "^3.0", "symfony/filesystem": "^3.0", From 52b03beb79c45ce7d492fecc8a1a1dc48f6576b9 Mon Sep 17 00:00:00 2001 From: Joris Ros Date: Mon, 15 May 2017 06:05:20 +0200 Subject: [PATCH 4/4] Add IvoryCKEditorBundle to the AppKernel --- Resources/doc/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/doc/index.md b/Resources/doc/index.md index 41477d6..f0e696d 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -42,6 +42,7 @@ class AppKernel extends Kernel // ... new Youwe\FileManagerBundle\YouweFileManagerBundle(), + new Ivory\CKEditorBundle\IvoryCKEditorBundle() ); // ...