# dcat-admin-ueditor **Repository Path**: l-kai/dcat-admin-ueditor ## Basic Information - **Project Name**: dcat-admin-ueditor - **Description**: dcat-admin-ueditor - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-10-21 - **Last Updated**: 2024-02-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Dcat Admin扩展 - Ueditor ====== ## 安装 执行 ```php composer require liukai/dcat-admin-ueditor ``` 用浏览器打开`http://localhost:8000/admin/helpers/extensions`找到`ueditor`这一行,点击`启用`按钮,即可使用。 ``` ## 使用 ### 基本使用 ```php $form->ueditor('content'); ``` ### 修改编辑器高度 ```php $form->ueditor('content')->height(500); ``` ### 修改文件存储storage ```php $form->ueditor('content')->disk('oss'); ``` ### 修改文件上传接口 如果你需要用到自定义的文件上传接口,可以通过这个方法覆盖掉默认的上传接口 ```php $form->ueditor('content')->server('file-upload'); ``` ### 修改ueditor配置 ```php $form->ueditor('content')->options([ 'maximumWords' => 1000, ]); ```