使用方法
FastAdmin的富文本编辑器只需要给对应的textarea增加一个class为editor即可,FastAdmin在渲染时即会将textarea渲染为富文本编辑器,目前支持summernote、nkeditor和ueditor等富文本编辑器,需安装对应的插件即可正常使用。
<textarea id="c-product_content" class="form-control editor" name="row[product_content]" cols="30" rows="10"></textarea>