This is a wrapper to use CKEditor with Laravel.
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
<script src="/vendor/ckeditor/release/ckeditor.js"></script> <script> CKEDITOR.replace('name-go-here'); </script>
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 thepublic/vendor
directory or somewhere else and attach them to theCKEDITOR
instance.
-
Notifications
You must be signed in to change notification settings - Fork 0
XetaIO/Xetaravel-CKEditor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Packages 0
No packages published