stinger / ckeditor-colorbutton-bundle
Symfony2 Bundle 用于集成 CKEditor 插件颜色按钮
4.5.6
2016-01-13 07:56 UTC
Requires
- symfony/framework-bundle: >=2.1
Suggests
- Trsteel/ckeditor-bundle: The CKEditor Bundle we're using ;)
This package is auto-updated.
Last update: 2024-09-07 19:13:26 UTC
README
Symfony2 Bundle 用于集成 CKEditor 插件颜色 Bundle
当前版本
ColorButton v4.5.6
安装
将 Bundle 添加到您的 composer.json 文件中
// composer.json { "require": { // ... "stinger/ckeditor-colorbutton-bundle": "~4.5.6" } }
将 Bundle 添加到您的应用程序内核中
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Stinger\CKEditorColorButtonBundle\StingerCKEditorColorButtonBundle(), // ... ); }
使用 Composer 下载 Bundle
$ php composer.phar update stinger/ckeditor-colorbutton-bundle
安装资源
假设您的服务器公共目录名为 "web",安装公共供应商资源
$ php app/console assets:install web
可选,使用 --symlink 属性创建链接而不是资源的副本
$ php app/console assets:install --symlink web
用法
trsteel_ckeditor: external_plugins: colorbutton: path: 'bundles/stingerckeditorcolorbutton'
许可证
有关许可证信息,请参阅包含文件的源代码