Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xetaio/xetaravel-ckeditor

A wrapper to use @CKEditor with @Laravel
https://github.com/xetaio/xetaravel-ckeditor

ckeditor laravel package

Last synced: 15 days ago
JSON representation

A wrapper to use @CKEditor with @Laravel

Awesome Lists containing this project

README

        

>

Xetaravel CKEditor


>
> This is a wrapper to use [CKEditor](https://github.com/ckeditor/ckeditor-releases) with Laravel.
>
> ## Installation
>
> ```
> composer require xetaio/xetaravel-ckeditor
> ```
>
> Import the CkeditorServiceProvider in your `config/app.php`:
> ```
> Xetaravel\Ckeditor\Providers\CkeditorServiceProvider::class
> ```
>
> Publish the CKEditor to your public directory :
> ```
> php artisan vendor:publish --tag=ckeditor
> ```
>
> ## Usage
> ```
>
>
> CKEDITOR.replace('name-go-here');
>
> ```
>
> ## Update
> To update CKEditor to a new version, first run :
> ```
> composer update
> ```
> Then, delete the folder `public/vendor/release` and run the artisan command again :
> ```
> php artisan vendor:publish --tag=ckeditor
> ```
> **Note** : Do not put any custom configuration files in the `public/vendor/release` directory. Instead put them in the `public/vendor` directory or somewhere else and attach them to the `CKEDITOR` instance.