hillrange/ckeditor

This package is abandoned and no longer maintained. The author suggests using the friendsofsymfony/ckeditor-bundle package instead.

CKEditor for Symfony 4.x

1.0.1 2018-04-19 01:39 UTC

README

Provides a CKEditor integration for your Symfony4 Project.

Version

1.0.1

This bundle is NOT supported. Please use friendsofsymfony/ckeditor-bundle. See Migration to FOSCKEditorBundle

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute: A flex recipe for version 0.1.12 has been written and approved. The installer requires that PHP includes the PHP ZIP Library.

$ composer require hillrange/ckeditor

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require hillrange/ckeditor ^1.0

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Download CKEditor

Once, you have registered the bundle, you need to install CKEditor:

$ php bin/console ckeditor:install

and then run

$ php bin/console asset:install

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/Bundles.php file of your project:

<?php

return [
    //...
    //
    Hillrange\CKEditor\HillrangeCKEditorBundle::class => ['all' => true],
];

Features

Documentation for IvoryCKEditorBundle applies with the exception of installation. You can follow the Symfony Documentation for IvoryCKEditorBundle, with the exception that installation does not require the use of Docker. This package uses FLEX to install correctly.

Notes

####EasyAdmin Integration In the EasyAdmin cfg, you can write

  • { property: 'content', type: 'Hillrange\CKEditor\Form\CKEditorType' }

instead of

  • { property: 'content', type: 'ckeditor' }