承接 open-admin-ext/ckeditor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

open-admin-ext/ckeditor

最新稳定版本:v1.0.3

Composer 安装命令:

composer require open-admin-ext/ckeditor

包简介

Integrate CKEDITOR into open-admin

README 文档

README

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).

统计信息

  • 总下载量: 7.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-17