企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 富文本编辑器 > 富文本编辑器使用`quill-editor`实现 - 方法原型: ``` addUEditor($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', '富文本(UEditor)', 'editor'] ]) // 或 ->addUEditor('content', '富文本(UEditor)') ->fetch(); ``` > 页面效果: > ![](images/screenshot_1689823574873.png)