stinger / ckeditor-font-bundle
Symfony2 扩展包,用于集成 CKEditor 字体插件
4.5.1
2015-07-31 07:54 UTC
Requires
- stinger/ckeditor-widget-bundle: 4.5.1
- 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 06:44:56 UTC
README
Symfony2 扩展包,用于集成 CKEditor "字体" 插件
当前版本
Font v4.5.1
安装
将扩展包添加到您的 composer.json 文件中
// composer.json { "require": { // ... "stinger/ckeditor-font-bundle": "~4.5.1" } }
将扩展包添加到您的应用内核中
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Stinger\CKEditorFontBundle\StingerCKEditorFontBundle(), // ... ); }
使用 Composer 下载扩展包
$ php composer.phar update stinger/ckeditor-font-bundle
安装资源
假设您的服务器公共目录名为 "web",则安装公共供应商资源
$ php app/console assets:install web
可选,使用 --symlink 属性创建链接而不是资源的副本
$ php app/console assets:install --symlink web
使用方法
trsteel_ckeditor: external_plugins: font: path: 'bundles/stingerckeditorfont'
许可证
请参考包含文件的源代码以获取许可证信息