New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

open-admin-ext/ckeditor

Integrate CKEDITOR into open-admin
11,787 6
Install
composer require open-admin-ext/ckeditor
Latest Version:v1.0.3
PHP:>=7.0.0
Laravel:7 – 10
License:MIT
Last Updated:Jan 4, 2024
Links: GitHub  ·  Packagist
Maintainer: open-admin-org

Integrate CKEDITOR into open-admin

This is a open-admin extension that integrates CKEDITOR into the open-admin form.

Screenshot

field-ckeditor

Installation

composer require open-admin-ext/ckeditor

Then

php artisan vendor:publish --tag=open-admin-ckeditor

Configuration

In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.


    '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, such as configuration language and height.

    'config' => [
        'language'      => 'de',
        'height'        => 500,
        'contentsCss'   => '/css/frontend-body-content.css',
    ]

Usage

Use it in the form:

$form->ckeditor('content');

// Set config
$form->ckeditor('content')->options(['lang' => 'fr', 'height' => 500,'contentsCss' => '/css/frontend-body-content.css']);

Problems?

If ckeditor is not showing up and tells you that it's not found run the lines below to clear the compiled services and packages.

php artisan optimize:clear

License

Licensed under The MIT License (MIT).

Related Packages

shigetaa/laravel5.4-tinymce

TinyMCE editor for Laravel Framework

1,113 3
mantix/livewire-jodit-text-editor

A powerful Livewire rich text editor (WYSIWYG) component built top of Jodit Edit...

105,095 31
xslain/livewire-jodit-text-editor

A powerful Livewire rich text editor (WYSIWYG) component built top of Jodit Edit...

111 0
ender/laravel-ueditor

A laravel package of ueditor,which is baidu's open source WYSIWYG editor

3,380 39

Version History

Version Released PHP Laravel License
v1.0.3 >=7.0.0 >=7.0 MIT
v1.0.2 >=7.0.0 >=7.0 MIT
v1.0.1 >=7.0.0 >=7.0 MIT
v1.0 >=7.0.0 >=7.0 MIT