https://github.com/laravel-admin-extensions/ckeditor
Integrate CKEDITOR into laravel-admin
https://github.com/laravel-admin-extensions/ckeditor
ckeditor extension laravel-admin
Last synced: 2 months ago
JSON representation
Integrate CKEDITOR into laravel-admin
- Host: GitHub
- URL: https://github.com/laravel-admin-extensions/ckeditor
- Owner: laravel-admin-extensions
- License: mit
- Created: 2018-09-18T17:24:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T06:17:40.000Z (almost 5 years ago)
- Last Synced: 2025-04-05T09:24:09.302Z (3 months ago)
- Topics: ckeditor, extension, laravel-admin
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 30
- Watchers: 1
- Forks: 18
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - ckeditor - CKEditor 4 富文本编辑器 (扩展包 / 字段类扩展包)
README
Integrate CKEDITOR into laravel-admin
======This is a `laravel-admin` extension that integrates `CKEDITOR` into the `laravel-admin` form.
## Screenshot

## Installation
```bash
composer require laravel-admin-ext/ckeditor
```Then
```bash
php artisan vendor:publish --tag=laravel-admin-ckeditor
```## Configuration
In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.
```php'extensions' => [
'ckeditor' => [
//Set to false if you want to disable this extension
'enable' => true,
// Editor configuration
'config' => [
]
]
]```
The configuration of the editor can be found in [CKEditor Documentation](https://ckeditor.com/docs/ckeditor4/latest/guide/), such as configuration language and height.
```php
'config' => [
'lang' => 'zh-CN',
'height' => 500,
]
```## Usage
Use it in the form:
```php
$form->ckeditor('content');// Set config
$form->ckeditor('content')->options(['lang' => 'fr', 'height' => 500]);
```## Donate
> Help keeping the project development going, by donating a little. Thanks in advance.
[](https://www.paypal.me/zousong)

License
------------
Licensed under [The MIT License (MIT)](LICENSE).