stinger/ckeditor-notification-bundle

Symfony2 Bundle 用于集成 CKEditor 插件 Notification

安装次数: 18,877

依赖关系: 1

建议者: 0

安全: 0

星标: 1

关注者: 3

分支: 0

开放问题: 0

语言:JavaScript

类型:symfony-bundle

4.5.6 2015-12-15 08:27 UTC

This package is auto-updated.

Last update: 2024-09-07 19:21:59 UTC


README

Symfony2 Bundle 用于集成 CKEditor 插件 Aggregator

当前版本

Notification v4.5.6

安装

将捆绑包添加到 composer.json 文件中

// composer.json

{
    "require": {
		// ...
        "stinger/ckeditor-notification-bundle": "~4.5.6"
    }
}

将捆绑包添加到应用程序内核中

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\CKEditorNotificationBundle\StingerCKEditorNotificationBundle(),
        // ...
    );
}

使用 Composer 下载捆绑包

$ php composer.phar update stinger/ckeditor-notification-bundle

安装资源

假设您的服务器公共目录名为 "web",安装公共供应商资源

$ php app/console assets:install web

可选地,使用 --symlink 属性创建资源的链接而不是复制

$ php app/console assets:install --symlink web

用法

trsteel_ckeditor:
    external_plugins:
      notification:
        path: 'bundles/stingerckeditornotification'

许可证

有关许可证信息,请参阅包含文件的源代码

参考

  1. https://ckeditor.npmjs.net.cn/addon/notification
  2. https://symfony.com.cn