[英]Formatter in Sonata Admin
I just finished installing SonataNews with Formatter. 我刚用Formatter安装SonataNews。 But I can not configure a ckeditor even after the following steps: https://sonata-project.org/bundles/formatter/master/doc/reference/formatter_widget.html#advanced-formatter-widget
但是即使经过以下步骤,我也无法配置ckeditor: https ://sonata-project.org/bundles/formatter/master/doc/reference/formatter_widget.html#advanced-formatter-widget
Install the sonata-project/formatter-bundle as mentioned here: https://sonata-project.org/bundles/formatter/master/doc/reference/installation.html 如此处所述安装sonata-project / formatter-bundle: https : //sonata-project.org/bundles/formatter/master/doc/reference/installation.html
Then add this line in your admin controller: 然后在您的管理控制器中添加以下行:
$formMapper->add('content', 'ckeditor', array());
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.