Try Depot: Bring ultra-fast, remote Docker builds directly to your Laravel workflow

Laravel Ckeditor

unisharp/laravel-ckeditor image

Laravel Ckeditor stats

Downloads
702.1K
Stars
376
Open Issues
21
Forks
144

View on GitHub →

JavaScript WYSIWYG web text editor (for laravel).

CKEditor Package

Note

This is NOT the official CKEDITOR package.

CKEDITOR officially has its own composer package since 2014. Instead of using this package, we recommend you follow the official CKEditor installation instructions with package managers

Installation

Set up package

composer require unisharp/laravel-ckeditor

Add ServiceProvider

For Laravel 5.5+ you can skip this step.

For Laravel 5.4 and earlier edit config/app.php, add the following file to Application Service Providers section.

Unisharp\Ckeditor\ServiceProvider::class,

Publish the resources

php artisan vendor:publish --tag=ckeditor

Usage

Default way (initiate by name or id) :

<script src="https://raw.githubusercontent.com/unisharp/laravel-ckeditor/master/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
<script>
CKEDITOR.replace( 'article-ckeditor' );
</script>

Or if you want to initiate by jQuery selector :

<script src="https://raw.githubusercontent.com/unisharp/laravel-ckeditor/master/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
<script src="https://raw.githubusercontent.com/unisharp/laravel-ckeditor/master/vendor/unisharp/laravel-ckeditor/adapters/jquery.js"></script>
<script>
$('textarea').ckeditor();
// $('.textarea').ckeditor(); // if class is prefered.
</script>

File Uploader Integration

Instead of using KCFinder, we recommend laravel-filemanager for the file uploader integration for better laravel user access control and specific per user folders.

UniSharp photo

UniSharp Official Github Group | Chat with us: https://t.me/unisharp_opensource


Unisharp Laravel Ckeditor Related Articles

Docker Support in Laravel VS Code Extension v1.4.2 image

Docker Support in Laravel VS Code Extension v1.4.2

Read article
Laravel Introduces Official AI Documentation image

Laravel Introduces Official AI Documentation

Read article
Run Artisan Make Commands in Laravel VS Code Extension image

Run Artisan Make Commands in Laravel VS Code Extension

Read article
Laravel 12.45.1, 12.45.2, and 12.46.0 Released image

Laravel 12.45.1, 12.45.2, and 12.46.0 Released

Read article
12 Days of Eloquent image

12 Days of Eloquent

Read article
Refine is Live Blade Editor for Laravel image

Refine is Live Blade Editor for Laravel

Read article
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift