PHP code example of kwin / laravel-admin-wangeditor
1. Go to this page and download the library: Download kwin/laravel-admin-wangeditor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kwin / laravel-admin-wangeditor example snippets
'extensions' => [
'wang-editor' => [
// 如果要关掉这个扩展,设置为false
'enable' => true,
// 编辑器的配置
'config' => [
]
]
]
'config' => [
'uploadImgServer' => '/upload'
]
$form->editor('content');
bash
php artisan vendor:publish --tag=laravel-admin-wangEditor