stinger/ckeditor-colorbutton-bundle

Symfony2 Bundle to integrate the CKEditor plugin Color Button

Installs: 661

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

4.5.6 2016-01-13 07:56 UTC

This package is auto-updated.

Last update: 2024-04-07 18:21:27 UTC


README

Symfony2 Bundle to integrate the CKEditor plugin Color Bundle

Current Version

ColorButton v4.5.6

Installation

Add bundle to your composer.json file

// composer.json

{
    "require": {
		// ...
        "stinger/ckeditor-colorbutton-bundle": "~4.5.6"
    }
}

Add bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\CKEditorColorButtonBundle\StingerCKEditorColorButtonBundle(),
        // ...
    );
}

Download the bundle using Composer

$ php composer.phar update stinger/ckeditor-colorbutton-bundle

Install assets

Given your server's public directory is named "web", install the public vendor resources

$ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources

$ php app/console assets:install --symlink web

Usage

trsteel_ckeditor:
    external_plugins:
      colorbutton:
        path: 'bundles/stingerckeditorcolorbutton'

Licenses

Refer to the source code of the included files for license information

References

  1. http://ckeditor.com/addon/colorbutton
  2. http://symfony.com