多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 富文本编辑器 > 富文本编辑器使用`quill-editor`实现 - 方法原型: ``` addEditor($name = '', $title = '', $tips = '', $default = '') ``` - 参数说明: ``` * @param string $name 字段名:是否必填 格式: name:require 或 name * @param string $title 标题 * @param string $tips 提示 * @param string $default 默认值 ``` ## 调用方式 - 添加文件上传控件 ``` return SBuilder::make('form') ->addFormItems([ ['content', '富文本(QEditor)', 'editor'] ]) // 或 ->addEditor('content', '富文本(QEditor)') ->fetch(); ``` > 页面效果: > ![](images/screenshot_1689813658989.png)