2017 © Pedro Peláez
 

library laravel-ueditor

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

image

lichv/laravel-ueditor

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

  • Tuesday, February 7, 2017
  • by lichv
  • Repository
  • 1 Watchers
  • 0 Stars
  • 117 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Installation

PHP 5.4+ , and Composer are required., (*1)

To get the latest version of Laravel Exceptions, simply add the following line to the require block of your composer.json file:, (*2)

"lichv/laravel-ueditor": "^0.1"

You'll then need to run composer install or composer update to download it and have the autoloader updated., (*3)

Once Laravel Exceptions is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key., (*4)

'Lichv\UEditor\UEditorServiceProvider'

then run, (*5)

php artisan vendor:publish

配置

若以上安装没问题,自定义项目配置文件会在 config/laravel-u-editor.php (会自动生成), (*6)

    'core' => [
        'route' => [
            'middleware' => 'auth',
        ],
    ],

middleware 相当重要,请根据自己的项目设置,比如如果在后台使用,请设置为后台的auth middleware. 如果是单纯本机测试,请将 // 'middleware' => 'auth', 直接注释掉,如果留 'middleware'=>''空值,会产生bug,原因不详., (*7)

所有UEditor 的官方资源,会放在 public/laravel-u-editor/ ,可以根据自己的需求,更改., (*8)

Usage, (*9)

in your , (*10)

block just put
@include('UEditor::head');

it will require assets., (*11)

if need,u can change the resources\views\vendor\UEditor\head.blade.php to fit your customization ., (*12)

ok,all done.just use the UEditor., (*13)














The Versions

07/02 2017

dev-master

9999999-dev

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

  Sources   Download

MIT

The Requires

 

by lichv lee

laravel ueditor laravel5 web text editor laravel-ueditor lichv

07/02 2017

0.2

0.2.0.0

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

  Sources   Download

MIT

The Requires

 

by lichv lee

laravel ueditor laravel5 web text editor laravel-ueditor lichv

15/12 2016

0.1

0.1.0.0

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

  Sources   Download

MIT

The Requires

 

by lichv lee

laravel ueditor laravel5 web text editor laravel-ueditor lichv