dev-master
9999999-dev http://ckeditor.com/addon/previewSymfony2 Bundle to integrate the CKEditor plugin preview
GPL-3.0 LGPL-3.0 MPL CKSource CDL
The Requires
by Oliver Kotte
plugin symfony ckeditor preview
Symfony2 Bundle to integrate the CKEditor plugin preview
Symfony2 Bundle to integrate the CKEditor plugin Preview, (*1)
Preview v4.5.6, (*2)
``` js // composer.json, (*3)
{ "require": { // ... "stinger/ckeditor-preview-bundle": "~4.5.6" } }, (*4)
### Add bundle to your application kernel ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Stinger\CKEditorPreviewBundle\StingerCKEditorPreviewBundle(), // ... ); }
``` bash $ php composer.phar update stinger/ckeditor-preview-bundle, (*5)
### Install assets Given your server's public directory is named "web", install the public vendor resources ``` bash $ php app/console assets:install web
Optionally, use the --symlink attribute to create links rather than copies of the resources, (*6)
``` bash $ php app/console assets:install --symlink web, (*7)
### Usage ``` yaml trsteel_ckeditor: external_plugins: preview: path: 'bundles/stingerckeditorpreview'
Refer to the source code of the included files for license information, (*8)
Symfony2 Bundle to integrate the CKEditor plugin preview
GPL-3.0 LGPL-3.0 MPL CKSource CDL
plugin symfony ckeditor preview