【文件属性】:
文件名称:TrsteelCkeditorBundle:Symfony2软件包,可轻松集成CKEditor WYSIWYG
文件大小:1.43MB
文件格式:ZIP
更新时间:2021-02-26 15:14:02
PHP
Symfony2 CKEditor捆绑包
安装
将TrsteelCkeditorBundle添加到您的composer.json
启用捆绑
安装捆绑资产
配置捆绑包(可选)
将编辑器添加到表单
配置数据转换器
第1步:将TrsteelCkeditorBundle添加到composer.json
php composer.phar require Trsteel/ckeditor-bundle ~ 1.11
步骤2:启用捆绑
<?php
// app/AppKernel.php
public function registerBundles ()
{
$ bundles = array (
// ...
new Trsteel \ CkeditorBundle \ TrsteelCkeditorBundle (),
);
}
步骤3:安装