yanthink/ueditor
UEditor
百度UEditor服务端
安装
- 打开终端执行下面命令:
composer require yanthink/ueditor
- 打开
config/app.php然后将下面内容添加到providers数组中:
Yanthink\Ueditor\UeditorServiceProvider::class,
- 将下面内容添加到
config/app.php文件的aliases数组中:
'Ueditor' => Yanthink\Ueditor\Facades\Ueditor::class,
- 在终端执行下面命令:
php artisan vendor:publish --provider="Yanthink\Ueditor\UeditorServiceProvider"
配置Route
Route::match(['post', 'get'], 'ueditor/server', [
'uses' => '\Yanthink\Ueditor\Http\Controllers\UeditorController@init',
]);
配置Ueditor
window.UEDITOR_CONFIG = {
serverUrl: '/ueditor/server',
...,
}
Related Packages
invokerart/laravel-u-editor
UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu...
16
0
lichv/laravel-ueditor
UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu...
128
1
vikin/laravel-ueditor
UEditor for laravel5.* Support i18n. UEditor is a Rich Text Web Editor From Baid...
13
0
ender/laravel-ueditor
A laravel package of ueditor,which is baidu's open source WYSIWYG editor
3,375
39